English | 简体中文
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, 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
Just one step — send this message to OpenClaw (replace your-api-key with your own):
Help me use mcporter to install this MCP server:
https://aitoearn.ai/api/unified/mcp, authentication header isx-api-key: your-api-key
OpenClaw will handle the setup automatically. After that, you can say things like "publish a post to Rednote" directly.
Prerequisite: Get an API Key first
AiToEarn works with any MCP-compatible AI assistant. Here's how to configure the most popular ones:
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"
}
}
}
}
In Cursor's MCP settings, add:
MCP URL: https://aitoearn.ai/api/unified/mcp Auth Header: x-api-key: your-api-key
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.
Add to docker-compose.yml under aitoearn-server (see How to Get an API Key):
RELAY_SERVER_URL: https://aitoearn.ai/api
RELAY_API_KEY: your-api-key
RELAY_CALLBACK_URL: http://127.0.0.1:8080/api/plat/relay-callback
Then restart: docker compose restart aitoearn-server
📖 Full deployment guide (production config, AI services, OAuth, storage, etc.): DOCKER_DEPLOYMENT_EN.md.
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.js apps/aitoearn-ai/config/local.config.js
cp apps/aitoearn-server/config/config.js apps/aitoearn-server/config/local.config.js
pnpm nx serve aitoearn-ai
# in another terminal
pnpm nx serve aitoearn-server
pnpm install pnpm run dev
# 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.