Skip to content
AI Sprite Maker

Docs

Developer docs

Everything you can do in the web app you can do from code. Jobs are asynchronous, priced in the same credits as the site, and return engine-ready sheets with JSON metadata.

Base URL
https://aispritemaker.com/api/v1
Auth
Authorization: Bearer asm_live_…
Format
JSON · PNG sheets + frame metadata
Async jobs + webhooks
POST /jobs → GET /jobs/:id
Quickstart

Create an API key in your dashboard (every plan, Free included), then queue a walk cycle:

curl https://aispritemaker.com/api/v1/jobs \
  -H "Authorization: Bearer $ASM_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"type":"animation","prompt":"fox knight, blue cape","motion_id":"walk","view":"topdown","directions":4,"size":64}'

# -> 202 {"job":{"id":"01JC9…","status":"queued","credits_reserved":40}}
curl https://aispritemaker.com/api/v1/jobs/01JC9… -H "Authorization: Bearer $ASM_API_KEY"

MCP in one line

Claude Code, Cursor, Codex and VS Code can call the same jobs as tools. Your agent generates the sheet and writes the import code.

claude mcp add --transport http aispritemaker https://aispritemaker.com/mcp \
  --header "Authorization: Bearer $ASM_API_KEY"
Set up MCP →

Credits per job

The API uses the same balance and prices as the website, and it's included on every plan. Free accounts get 10 credits a day; Pro includes 2,500 credits a month and runs 4 jobs at once; Studio includes 7,500 and runs 10.

sprite2
animation (per direction)10
directions (4 / 8)8 / 14
tileset6
edit2
custom_motion30
video_to_sprite (per second)5
Full pricing →

Guides