Developers
MotionForge API
Use the MotionForge API to run any of our video, image and audio models from your own code, scripts or automation tools (n8n, Make, Zapier webhooks). It uses the same credits and prices as the app.
1. Get a key Create a key in Account โ API keys. Keep it secret โ anyone with it can spend your credits. Send it on every request:
Authorization: Bearer mf_live_โฆ
2. Pick a model
GET https://motionforgeapp.com/api/v1/models lists every tool with its modes and input fields (keys, types, options, defaults). Image, video and audio inputs are public HTTPS URLs.
3. Start a generation
POST https://motionforgeapp.com/api/v1/generate with JSON:
{ "tool": "kling-4", "input": { "mode": "text", "prompt": "A red fox runs through snow at dawn, tracking shot", "duration": "5", "aspect": "9:16", "resolution": "720p" } }
The response (202) contains the generation id, its status (queued) and the credits reserved.
4. Get the result
GET https://motionforgeapp.com/api/v1/generations/{id} โ poll every 5โ10 seconds until status is completed (then outputs holds the file URLs) or failed (credits are refunded automatically; see error).
Upload a file
POST https://motionforgeapp.com/api/v1/upload with multipart form data (field file: png, jpg, webp, mp4, mov, mp3, wav or m4a, up to 5 minutes) returns { "url" } to use as an image, video or audio input.
Check your balance
GET https://motionforgeapp.com/api/v1/me returns your plan, credits and API cashback.
API cashback
Every job you run through the API or a connector (Claude, ChatGPT, MCP) gives back 10% of its credits as bonus credits when it finishes, up to 2,000 credits a month. Failed jobs are refunded in full instead. See it in GET /api/v1/me โ cashback.
Command line (CLI) One file, nothing to install. Needs Node.js 18 or newer. Handy for scripts, batch jobs and coding agents (Claude Code, Codex, Cursor).
curl -fsSL https://motionforgeapp.com/cli/motionforge.mjs -o motionforge.mjs
node motionforge.mjs login mf_live_โฆ saves your key. Then:
node motionforge.mjs models --kind videolists tools;model kling-4shows one tool's fields.node motionforge.mjs generate nano-banana-pro --prompt "a lighthouse at dusk" --count 2 --wait --out ./outmakes images and saves them.node motionforge.mjs generate kling-4 --mode image --image ./start.png --prompt "slow push in" --waituploads the local photo for you.status <id> --wait --out ./out,upload <file>,me. Add--jsonfor machine-readable output.
Plugins for Blender, After Effects and Premiere Pro Generate without leaving your editor: download the plugins. They use the same API key.
Errors
Errors return JSON { "error": { "code", "message" } }:
| HTTP | code | Meaning |
|---|---|---|
| 400 | invalid_input / bad_request | Missing or invalid fields โ the message says which |
| 401 | missing_key / invalid_key | No key, or a revoked key |
| 402 | insufficient_credits | Top up or turn on auto-refill; needed shows the cost |
| 403 | plan_required | That model needs a higher plan |
| 404 | unknown_tool / not_found | Check the tool id or generation id |
| 429 | rate_limited / concurrency_limit | 60 requests/minute per key; plan limits on running jobs |
Use MotionForge from Claude, Cursor and other AI apps (MCP) MotionForge is also an MCP server, so AI assistants can generate for you: "make a 10-second vertical video ofโฆ".
One-click (no API key): in Claude go to Settings โ Connectors โ *Add custom connector*, paste https://motionforgeapp.com/api/mcp and click Connect. In ChatGPT go to Settings โ Apps & Connectors โ *Create* (developer mode), paste the same URL and choose OAuth. Sign in to MotionForge and click Allow. Disconnect any time in Account.
Server URL: https://motionforgeapp.com/api/mcp ยท Transport: Streamable HTTP ยท Auth header: Authorization: Bearer mf_live_โฆ (or an OAuth token from the one-click flow)
Claude Code: claude mcp add --transport http motionforge https://motionforgeapp.com/api/mcp --header "Authorization: Bearer mf_live_โฆ"
Claude Desktop, Cursor, Windsurf and others (add to the app's MCP config):
{"mcpServers":{"motionforge":{"command":"npx","args":["-y","mcp-remote","https://motionforgeapp.com/api/mcp","--header","Authorization: Bearer mf_live_โฆ"]}}}
Tools: list_models, quote, generate, get_generation, get_balance. Same credits, prices and content rules as the app.
Limits - 60 requests per minute per key, up to 5 active keys. - Running jobs at once follow your plan (Free 1 video/2 images, Starter 2/4, Plus 6/8). - Output URLs are hosted by our providers; download files you want to keep.
Questions? support@motionforgeapp.com

