Animate4Me
Turn your picture into a ready Spine 2D animation, and save the Spine files straight into your project.
Hosted MCP Server
npx add-mcp 'https://animate4me.com/mcp'Installs into Claude Code, Codex, Cursor and more
Documentation
Image in, Spine 4.2 animation out — from your own code.
Animate4Me REST API: upload an image, get a rigged Spine 4.2 animation zip back. Bearer API keys, works with any script or AI assistant, part of the Studio and Pro plans.
Page: https://animate4me.com/api.html
The REST API runs the same pipeline as the app, over HTTPS. It is part of the Studio and Pro plans; jobs cost the same tokens as in the app and come out the same. Use it from your scripts, your build pipeline or your AI assistant, or connect our MCP server once.
Authentication
Create a key in My account > API keys (up to 10 active keys per account). A key is shown once; we store only its hash. Send it in every request:
Authorization: Bearer a4m_your_key_here
Keys work while your account is on the Studio or Pro plan. If the plan ends or changes to Indie, the keys answer 403 api_not_in_plan until the account is on Studio or Pro again. Revoke a key in My account at any time; a revoked key answers 401 immediately. Keep keys on your server or in an environment variable, never in a web page, an app bundle or a public repository.
Limits
- 60 requests per minute per key and 120 requests per minute per account (all keys together). Over the limit the answer is
429 rate_limitedwith aRetry-Afterheader in seconds. - Up to 2 jobs in progress and 500 new jobs per day (UTC) per account on an active plan, as in the app (
429 too_many_active,429 daily_limit). Up to 50 text edits per day. - Images: PNG, JPG or WebP, up to 10 MB, at least 256 px on each side. A transparent background works best; a flat single-colour background is removed automatically.
Cost
One symbols job from an image = 20 tokens; one character from an image = 60 tokens; one symbols job from a description (prompt) = 30 tokens, one character from a description = 70 tokens, 5 new picture variants = 5 tokens. Tokens are charged when the request is accepted, from the same balance as the app. A request that is refused (bad image, content policy, not enough tokens, a limit) charges nothing, and a job that fails on our side is refunded automatically. Studio and Pro jobs go through the priority queue. A text edit of a finished symbols job = 5 tokens, the same as "Describe a change" in the app; an edit that cannot be made or changes nothing is refunded.
Job lifecycle
POST /api/v1/jobs→201with ajob_id; the tokens are taken now.statusgoesqueued→running→done, orfailed(thenerrorsays why and the tokens are back). A job from a description first stops atchoosewith 5 picturevariants;pickone and it continues toqueued→running→done.- Poll
GET /api/v1/jobs/{job_id}every 3 to 5 seconds. A symbols job usually takes under a minute, a character job a few minutes. - When
statusisdone, downloadGET /api/v1/jobs/{job_id}/zip. Jobs and files stay on your account until you delete them in My account. - Optional: change it in plain words with
POST /api/v1/jobs/{job_id}/edit. Each edit becomes a new version (2, 3,...); every version stays downloadable with?version=n.
Endpoints
Base URL: https://animate4me.com. Every answer is JSON, except the ZIP and the variant pictures.
GET/api/v1/account
Balance, plan, limits and token prices of the key's account. Free; a good first call to check that the key works.
curl https://animate4me.com/api/v1/account \
-H "Authorization: Bearer $A4M_KEY"
{"tokens": 1180, "plan": "studio",
"limits": {"requests_per_minute_per_key": 60, "requests_per_minute_per_account": 120,
"max_active_jobs": 2, "max_jobs_per_day": 500, "max_edits_per_day": 50},
"prices": {"symbols_from_image": 20, "edit": 5, "split_into_parts": 50, "symbols_from_prompt": 30, "new_variants": 5,
"character_from_image": 60, "character_from_prompt": 70}}
POST/api/v1/jobs
Multipart form. Fields: image (file) or prompt (text, 3 to 400 characters, see below), category = symbols (symbols and objects) or characters (a full-body character, image or prompt), templates (optional, repeat the field for each animation, e.g. idle, win; leave out for the default set), name (optional), win_style (optional, symbol list with win: auto (default, picked from the shape of the art), slam, spin, flip, pump, swing, jump, rattle or rise; an unknown value returns 400 bad_win_style), no_shimmer=1 and calm=1 (optional, free, symbol list only: no light sweep and twinkle; softer, slower motion without spins).
Templates per category. symbols: the symbol list idle, land, win, dissolve, anticipation, idle_shine, or the object list appear, open, open_idle, collect, explode, press, hit, float, coin_spin, shake, despawn (idle is in both). One job uses one list; mixing the two lists returns 400 mixed_templates. characters: an idle loop (a win animation for characters is coming soon).
curl -X POST https://animate4me.com/api/v1/jobs \
-H "Authorization: Bearer $A4M_KEY" \
-F category=symbols \
-F templates=idle -F templates=win \
-F image=@ring.png
201 {"job_id": "3f9c0a1b2c3d4e5f", "status": "queued", "tokens": 1160}
GET/api/v1/jobs/{job_id}
curl https://animate4me.com/api/v1/jobs/3f9c0a1b2c3d4e5f \
-H "Authorization: Bearer $A4M_KEY"
{"id": "3f9c0a1b2c3d4e5f", "status": "done", "progress": 100, "stage": "animation",
"error": null, "category": "symbols", "templates": ["idle", "win"], "name": "ring",
"created_at": "2026-11-06T18:00:00Z", "finished_at": "2026-11-06T18:00:41Z",
"version": 1, "animations": ["idle", "win"], "win_style": "auto",
"options": {"no_shimmer": false, "calm": false}, "source": "upload",
"zip_url": "/api/v1/jobs/3f9c0a1b2c3d4e5f/zip",
"versions": [{"n": 1, "status": "done", "text": null, "reply": null, "price": 0, "refunded": false,
"animations": ["idle", "win"], "zip_url": "/api/v1/jobs/3f9c0a1b2c3d4e5f/zip?version=1", …}]}
GET/api/v1/jobs/{job_id}/zip
The Spine 4.2 export of the latest version: skeleton.json, skeleton.atlas, the PNG page(s) and a README, in one folder. 409 job_not_done until the job is done. Add ?version=n for an earlier version (404 not_found for a version that does not exist, 409 no_result for a refused or failed edit).
curl -L -o ring_spine42.zip https://animate4me.com/api/v1/jobs/3f9c0a1b2c3d4e5f/zip \
-H "Authorization: Bearer $A4M_KEY"
POST/api/v1/jobs/{job_id}/edit
JSON {"text": "make the win jump higher"}, up to 500 characters. Changes the animation of a finished symbols job in plain words, like "Describe a change" in the app: motion, speed, effects, colours of the light. 5 tokens, charged when the request is accepted (402 insufficient_tokens charges nothing). One edit at a time per job (409 edit_in_progress), up to 50 edits per day per account. The picture and the atlas stay the same; only the animation changes. An edit that cannot be made or would change nothing is refunded: its version shows "status": "refused", "refunded": true and a reply that says why. Characters cannot be edited by text yet (400 edit_unavailable).
A symbols job built from one picture moves that picture as one piece. When an edit asks for parts to move on their own (wings, legs, arms, a tail, a lid…), the edit is refunded and its version carries an offer: "offer": {"action": "split", "price": 50, "parts_hint": "wings, legs", "accepted_job": null}, and the reply says what it does and what it costs. To accept it, call POST /api/v1/jobs/{job_id}/split below.
curl -X POST https://animate4me.com/api/v1/jobs/3f9c0a1b2c3d4e5f/edit -H "Authorization: Bearer $A4M_KEY" \
-H "Content-Type: application/json" -d '{"text": "make the win jump higher"}'
201 {"job_id": "3f9c0a1b2c3d4e5f", "version": 2, "status": "queued", "price": 5, "tokens": 1155}
While the edit runs the job shows "status": "running"; when it is done again, the new version is the latest one and /zip downloads it. If the edit failed, status is failed with the error, the tokens are back and the previous version stays downloadable.
GET/api/v1/jobs/{job_id}/versions
The same versions list as in the job: n, status (queued, running, done, failed, refused), text (the request), reply (what was changed, or why not), price, refunded, animations, zip_url, offer (null, or the split offer described above; accepted_job is the new job once it was accepted).
POST/api/v1/jobs/{job_id}/split
Splits the picture of a finished one-piece symbols job into parts and builds a NEW animation where each part moves on its own: the same picture (no upload), the same animations and options, the same price as "Split my picture into parts" in the app (split_into_parts in /api/v1/account, 50 tokens), charged when the request is accepted and refunded if the split fails. Optional JSON {"parts": "body, 2 wings, 4 legs"} (back first); without it we find the parts. The original job stays as it is. Refused without a charge: 409 already_parts (the job is already built from parts: edit a part instead), 400 bad_category (characters), 410 input_missing (the picture is no longer stored), 409 split_in_progress (one split of this picture is already running; job_id names it), 503 split_unavailable, plus the usual 402 and 429.
curl -X POST https://animate4me.com/api/v1/jobs/3f9c0a1b2c3d4e5f/split -H "Authorization: Bearer $A4M_KEY" \
-H "Content-Type: application/json" -d '{}'
201 {"job_id": "9d8e7f6a5b4c3d2e", "from_job": "3f9c0a1b2c3d4e5f", "status": "queued", "price": 50, "tokens": 1105}
Poll the NEW job_id like any job; when it is done, its /zip holds the parts animation.
From a description: prompt, then pick a picture
Send prompt instead of image. We paint 5 picture variants on a transparent background, then the job waits with status = choose and lists them in variants. Pick one (free) and the job continues to the animation like an uploaded image; or ask for 5 new variants (5 tokens, up to 10 rounds per job).
curl -X POST https://animate4me.com/api/v1/jobs -H "Authorization: Bearer $A4M_KEY" \
-F category=symbols -F prompt="a golden treasure chest with rubies"
{"id": "8a1d…", "status": "choose", "source": "prompt", "prompt": "a golden treasure chest with rubies", "round": 1,
"variants": [{"id": "r1_1", "round": 1, "url": "/api/v1/jobs/8a1d…/variants/r1_1.webp",
"png_url": "/api/v1/jobs/8a1d…/variants/r1_1.png"}, …],
"can_regenerate": true, "regen_price": 5, …}
POST/api/v1/jobs/{job_id}/pick
JSON {"variant": "r1_3"}. Free. The job goes back to queued and finishes like any other job.
curl -X POST https://animate4me.com/api/v1/jobs/8a1d…/pick -H "Authorization: Bearer $A4M_KEY" \
-H "Content-Type: application/json" -d '{"variant": "r1_3"}'
POST/api/v1/jobs/{job_id}/regenerate
5 new variants of the same description (5 tokens), added to variants. If a round fails on our side its tokens come back and the earlier variants stay available.
GET/api/v1/jobs/{job_id}/variants/{id}.png
A variant as a transparent PNG (.webp for a small preview).
A whole run in one script
JOB=$(curl -s -X POST https://animate4me.com/api/v1/jobs -H "Authorization: Bearer $A4M_KEY" \
-F category=symbols -F templates=appear -F templates=open -F image=@crown.png | python3 -c 'import json,sys;print(json.load(sys.stdin)["job_id"])')
until curl -s https://animate4me.com/api/v1/jobs/$JOB -H "Authorization: Bearer $A4M_KEY" | grep -Eq '"status": ?"(done|failed)"'; do sleep 4; done
curl -s -o crown_spine42.zip https://animate4me.com/api/v1/jobs/$JOB/zip -H "Authorization: Bearer $A4M_KEY"
MCP server: connect your AI coding assistant once
Animate4Me is also a remote MCP server. Connect it once in your AI coding assistant, then just ask: "animate assets/symbols/coin.png with idle and win and put the Spine export in assets/spine". The assistant uploads the picture, starts the job, waits for it and saves the ZIP into your project.
It is the same API with the same rules: an API key from My account > API keys or a sign-in by URL, the Studio or Pro plan (other plans: api_not_in_plan), the same token prices, limits, content checks and automatic refunds. Every request to the MCP server counts toward the API rate limit. Paid tools say their price, and the assistant is told to ask you before it spends tokens.
Server URL: https://animate4me.com/mcp
Transport: Streamable HTTP
Header: Authorization: Bearer a4m_your_key_here
Connect by URL (sign in, no key)
Apps that add a remote MCP connector by its address and sign you in with OAuth need no key and no header. Paste https://animate4me.com/mcp as the connector URL, sign in to Animate4Me in the window that opens, check the app's name and the address it returns to, and approve. The app can then use your tokens to make animations and download your files, with the same plan, prices, limits and content checks as an API key. Connecting needs the Studio or Pro plan; team members can connect while the team gives them API access. Every connected app is listed in My account > Connected apps, where you can disconnect it at any time.
Connector URL: https://animate4me.com/mcp
Sign-in: OAuth 2.1 + PKCE (S256), dynamic client registration or client ID metadata document
Discovery: https://animate4me.com/.well-known/oauth-protected-resource
The examples below read the key from an environment variable A4M_KEY where the app supports it, so the key does not sit in a file you might commit. Restart the app (or reload its MCP servers) after you add the server.
Claude Code
claude mcp add --transport http animate4me https://animate4me.com/mcp \
--header "Authorization: Bearer a4m_your_key_here"
Add --scope user to use it in every project. Check it with claude mcp list or /mcp. Without a key: leave out the --header line, then run /mcp, choose the server and sign in.
Cursor
.cursor/mcp.json in your project (or ~/.cursor/mcp.json for all projects):
{
"mcpServers": {
"animate4me": {
"url": "https://animate4me.com/mcp",
"headers": { "Authorization": "Bearer ${env:A4M_KEY}" }
}
}
}
VS Code
.vscode/mcp.json in your project:
{
"servers": {
"animate4me": {
"type": "http",
"url": "https://animate4me.com/mcp",
"headers": { "Authorization": "Bearer ${env:A4M_KEY}" }
}
}
}
Codex
~/.codex/config.toml, with A4M_KEY set in the environment Codex runs in:
[mcp_servers.animate4me]
url = "https://animate4me.com/mcp"
bearer_token_env_var = "A4M_KEY"
Claude desktop app and claude.ai
Customize > Connectors > Add > Add custom connector. URL https://animate4me.com/mcp, Authentication: Sign in (keep the recommended OAuth client), then sign in to Animate4Me and approve: no key needed. With a key instead: Authentication: No sign in, Request headers: Authorization = Bearer a4m_your_key_here. On a Team or Enterprise plan an Owner adds the connector, and everyone who uses it spends the tokens of the account that owns the key. These connectors run without a shell on your computer, so they cannot run the upload command: use a public image_url, and download the ZIP from the download_url.
Other apps
Any MCP client that supports Streamable HTTP and a custom header works with the URL and header above. A client that only starts local (stdio) servers can use the mcp-remote bridge (needs Node.js):
{
"mcpServers": {
"animate4me": {
"command": "npx",
"args": ["-y", "mcp-remote", "https://animate4me.com/mcp", "--header", "Authorization:${A4M_AUTH}"],
"env": { "A4M_AUTH": "Bearer a4m_your_key_here" }
}
}
}
Tools
get_account(free) — balance, plan, limits and prices.list_options(free) — categories, animations, win styles, free options.create_upload(free) — a one-time upload link for a local picture (15 minutes, up to 10 MB) and a readycurlcommand; the upload answers with anupload_id.create_job(paid) — the same prices asPOST /api/v1/jobs; takesupload_idor a publichttps://image_url.get_job(free) — status, versions and picture variants; when the job is done, adownload_url(valid 1 hour, no key needed) and adownload_commandthat saves the ZIP into your project.edit_job(paid) — a text edit of a finished symbols job, 5 tokens.split_job(paid) — split the picture into moving parts, 50 tokens.
split_job is listed while splitting is available. Making a picture from a description is not offered over MCP; use the website or the REST API for that. Upload links work once; an uploaded picture waits 1 hour for create_job and is then deleted. Download links are signed, belong to your account and expire after 1 hour (call get_job again for a fresh one). An image_url must be a public https:// address on the standard port.
Problems come back as readable tool errors with the API error code, e.g. Not enough tokens: This job costs 20 tokens. Balance: 5 tokens. Nothing was charged. (402 insufficient_tokens). A missing or wrong key or sign-in is refused with 401 before anything else; its WWW-Authenticate header tells sign-in apps where to sign in.
Use it from your AI assistant
Any AI assistant or AI agent that can run shell commands or send HTTP requests can make animations for you. Put your key in an environment variable called A4M_KEY on the machine where the assistant works (do not paste the key itself into a chat), then give the assistant the instructions below.
You can use the Animate4Me API to turn a picture or a short description into a Spine 4.2 animation (a ZIP).
Base URL: https://animate4me.com
Auth: send the header "Authorization: Bearer $A4M_KEY" with every request. The key is in the environment variable A4M_KEY. Never print the key, write it to a file, log it or put it into code.
1. Check: GET /api/v1/account -> {"tokens", "plan", "limits", "prices"}. Do not start a job that costs more than "tokens". Tell me the price before you start more than one job.
2. Create: POST /api/v1/jobs as multipart/form-data with:
- category=symbols (a game symbol or object) or category=characters (a full-body character)
- image=@<file> (PNG, JPG or WebP, up to 10 MB, at least 256 px per side, transparent or flat background), OR prompt=<description, 3 to 400 characters> instead of image
- optional: templates=<animation>, one field per animation (symbols: idle, land, win, dissolve, anticipation, idle_shine; objects: appear, open, open_idle, collect, explode, press, hit, float, coin_spin, shake, despawn; never mix the two lists), name=<text>
The answer is 201 {"job_id", "status": "queued", "tokens"}.
3. Wait: GET /api/v1/jobs/<job_id> every 5 seconds until "status" is "done" or "failed". A failed job gives its tokens back by itself; show me its "error". If "status" is "choose" (a job from a description): show me the pictures in "variants" (png_url, same Authorization header) and ask which one to use, then POST /api/v1/jobs/<job_id>/pick with JSON {"variant": "<id>"}. New variants cost tokens (POST /api/v1/jobs/<job_id>/regenerate): ask me first.
4. Download: when "status" is "done", GET /api/v1/jobs/<job_id>/zip and save the file where I asked. The ZIP holds skeleton.json, skeleton.atlas, the PNG page(s) and a README (Spine 4.2).
5. Change it (symbols jobs only): an edit costs tokens ("edit" in "prices" from /api/v1/account): tell me the price first and wait for my yes. Then POST /api/v1/jobs/<job_id>/edit with JSON {"text": "<my wish in plain words, up to 500 characters>"}; the answer is 201 {"version"}. Wait as in step 3 until the job is "done" again, then find that version in "versions": if its status is "done", download GET /api/v1/jobs/<job_id>/zip?version=<n> and show me its "reply"; if it is "refused" or "failed", show me the "reply" or "error" (those tokens were refunded). Only one edit at a time per job.
6. Parts offer: if that version has an "offer" with "action": "split" (I asked for parts to move on their own), tell me its "reply" and its "price" and wait for my yes before accepting it. Then POST /api/v1/jobs/<job_id>/split with JSON {} (we find the parts) or {"parts": "<parts, back first>"}; the answer is 201 with a NEW "job_id". Wait for that new job as in step 3 and download it as in step 4. If the split fails, its tokens come back by themselves.
Limits: 2 jobs in progress and 500 new jobs a day per account; 50 edits a day; 60 requests a minute per key, 120 per account. On 429 wait the number of seconds in the Retry-After header, then try again. Errors are JSON {"error", "message"}: show me the message. Full reference: https://animate4me.com/api.html.md
Errors
Errors are JSON: {"error": "code", "message": "plain English"}.
401 unauthorized— missing, wrong or revoked key.403 api_not_in_plan— API access is part of the Studio and Pro plans; the account is on another plan or has no active plan.402 insufficient_tokens— nothing was charged; top up or wait for next month's tokens.400 bad_request— a required field is missing (category, andimageorprompt).400 mixed_templates— animations from both lists in onesymbolsjob; nothing was charged.413/422 bad_image— the image was rejected (reasonsays why); nothing was charged.400 content_blocked— the image or description was blocked by our content policy; nothing was charged.400 bad_prompt— the description is empty or too long.409 not_choosing— pick / regenerate only while the job shows its variants.409 job_not_done— the ZIP is not ready yet; keep polling.409 edit_in_progress— wait for the running edit.409 no_result— that version was refused or failed (refunded).409 already_parts,409 split_in_progress,410 input_missing—/splitcannot start (see above); nothing was charged.400 edit_unavailable/409 edit_unavailable— this job cannot be edited by text (characters, or an export with no editable animation); nothing was charged.429 rate_limited(waitRetry-Afterseconds),429 too_many_active,429 daily_limit— slow down.404 not_found— no such job on your account.
Animate4Me: https://animate4me.com/ · Contact: contact@animate4me.com · X: https://x.com/Animate4Me · All pages for AI assistants: https://animate4me.com/llms.txt
Spine is a trademark of Esoteric Software. Animate4Me is not affiliated.