Monetize · Publish · Engage · Create — all in one platform.
AiToEarn helps OPCs (One-Person Companies), creators, brands, and businesses build, distribute, and monetize content with AI-powered automation across the world's most popular platforms.
Supported Channels: Douyin, Xiaohongshu (Rednote), Kuaishou, Bilibili, WeChat Channels, WeChat Official Accounts, TikTok, YouTube, Facebook, Instagram, Threads, Twitter (X), Pinterest, LinkedIn
| Option | Best for | Deployment needed? |
|---|---|---|
| ① Use the Website | Everyone | ❌ No |
| ② Use in OpenClaw | OpenClaw users | ❌ No |
| ③ Use in Claude / Cursor / Other AI Assistants | AI tool users | ❌ No |
| ④ Docker One-Click Deploy | Teams wanting self-hosted | ✅ Server needed |
| ⑤ Build from Source | Developers | ✅ Dev environment needed |
💡 Options ②③④ require an API Key first. See How to Get an API Key.
AiToEarn provides four core Agent capabilities around the creator's full monetization pipeline:
Monetize · Publish · Engage · Create
The core mission of AiToEarn: help every creator earn money.
Creators can sell content on the platform to complete brand promotion tasks. All settlements are results-driven, with three models:
| Model | Full Name | Meaning |
|---|---|---|
| CPS | Cost Per Sale | Settle by transaction amount |
| CPE | Cost Per Engagement | Settle by engagement count |
| CPM | Cost Per Mille | Settle by view count |

Distribute content to 10+ major platforms worldwide with one click — no more manual posting on each platform.

▶ Watch Demo Video
Automate engagement operations across all supported platforms via the AiToEarn browser extension.
▶ Watch Demo Video
We've rebuilt the content creation workflow with Agents. Just tell the Agent what you need — it handles everything from idea to finished product.
Video Content: The Agent automatically invokes video generation models (Grok, Veo, Seedance, etc.), video translation modules, and video editing modules to produce a complete video.
Image & Text Content: Supports top-tier image models like Nano Banana to create high-quality visual content automatically.
Batch Generation: Submit creation tasks in bulk — the Agent generates multiple pieces of content in parallel, perfect for matrix account operations and large-scale content distribution.
▶ Watch Demo Video
The simplest way — just open your browser:
Options ②③④ all need an API Key. You only need to get it once.
3 steps:

⚠️ Keep your API Key safe. Do not share it with others.
Prerequisite: Get an API Key first
Install the plugin
npx -y @aitoearn/openclaw-plugin-cli
On first run, select the environment and enter your API Key. Make sure they match: China uses an API Key from aitoearn.cn, and international uses one from aitoearn.ai. A mismatch returns 401.
After setup, you can receive and execute AiToEarn earning tasks directly inside OpenClaw:

Prerequisite: Get an API Key first
AiToEarn works with any MCP-compatible AI assistant. Here's how to configure the most popular ones:
Choose the URL that matches your API Key. A mismatched environment and key returns 401:
| Environment | MCP URL | SSE URL |
|---|---|---|
| China | https://aitoearn.cn/api/unified/mcp |
https://aitoearn.cn/api/unified/sse |
| International | https://aitoearn.ai/api/unified/mcp |
https://aitoearn.ai/api/unified/sse |
Claude Desktop
Find and edit claude_desktop_config.json, add:
{
"mcpServers": {
"aitoearn": {
"type": "http",
"url": "https://aitoearn.ai/api/unified/mcp",
"headers": {
"x-api-key": "your-api-key"
}
}
}
}
Cursor
In Cursor's MCP settings, add:
MCP URL: https://aitoearn.ai/api/unified/mcp
Auth Header: x-api-key: your-api-key
Other AI Assistants (Generic Config)
Any MCP-compatible tool just needs two pieces of info:
| Setting | Value |
|---|---|
| MCP URL | https://aitoearn.ai/api/unified/mcp |
| Auth Header | x-api-key: your-api-key |
SSE transport is also available: https://aitoearn.ai/api/unified/sse
💡 For self-hosted instances, replace
aitoearn.aiwith your own address (e.g.,localhost:8080).
Prerequisite: Docker installed
For teams wanting to run AiToEarn on their own server. 3 commands, no manual database setup:
git clone https://github.com/yikart/AiToEarn.git
cd AiToEarn
docker compose up -d
Open http://localhost:8080 and you're ready to go.
Why Relay? Publishing content requires logging into social media accounts (TikTok, Instagram, YouTube, etc.), which need OAuth developer credentials. With Relay, you can use the official aitoearn.ai credentials — no need to register as a developer on each platform.
Open the deployed UI in your browser, go to Configuration, and configure these sections as needed:
For OpenAI, Gemini, Anthropic, and other model providers, you can also fill in the platform-provided API key and API URL under AI → Model providers.
See How to Get an API Key. China keys must use https://aitoearn.cn/api, and international keys must use https://aitoearn.ai/api; mismatched environments return 401.
After saving, click Save and restart so the corresponding service reloads the configuration.
📖 Full deployment guide (production config, AI services, OAuth, storage, etc.): DOCKER_DEPLOYMENT_EN.md.
🧪 Run backend & frontend manually (dev mode)
For local development and debugging. You can use Docker for MongoDB/Redis, or point to your own services.
cd project/aitoearn-backend
pnpm install
# Copy config files for local development
cp apps/aitoearn-ai/config/config.yaml apps/aitoearn-ai/config/local.config.yaml
cp apps/aitoearn-server/config/config.yaml apps/aitoearn-server/config/local.config.yaml
pnpm nx serve aitoearn-ai
# in another terminal
pnpm nx serve aitoearn-server
aitoearn-webpnpm install
pnpm run dev
🖥️ Start Electron desktop project
# Clone the repo
git clone https://github.com/yikart/AttAiToEarn.git
# Enter directory
cd AttAiToEarn
# Install dependencies
npm install
# Compile sqlite (better-sqlite3 requires node-gyp and local Python)
npm run rebuild
# Start development
npm run dev
The Electron project provides a desktop client for AiToEarn.
Please see Contributing Guide to get started.
If you run into usage difficulties, questions, or unexpected behavior, please open a GitHub Issue first so we can track and respond in one place.

$ claude mcp add AiToEarn \
-- python -m otcore.mcp_server <graph>