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
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"REST API
AI Sprite Maker REST API reference: endpoints, API keys, curl, JavaScript and Python examples, errors and rate limits for sprite and animation jobs.
Open →MCP server
Connect Claude Code, Cursor, Codex, VS Code and other MCP clients to AI Sprite Maker so your agent generates pixel sprites straight into your game.
Open →CLI
The aispritemaker CLI: generate sprites, animations and tilesets from your terminal and save PNG sheets, Aseprite JSON and Godot SpriteFrames.
Open →Aseprite
Generate pixel sprites and animations inside Aseprite 1.3+: download the extension, allow the curl permission prompt and import tagged frames.
Open →Godot 4
Generate sprites from a dock in Godot 4.2+, convert any PNG + JSON sheet into SpriteFrames, and set up pixel-perfect AnimatedSprite2D playback.
Open →Unity
Generate pixel sprites inside Unity 2021.3+ and import them pixel-perfect: Point filter, slicing from frame data, AnimationClips and an Animator.
Open →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"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.
| sprite | 2 |
| animation (per direction) | 10 |
| directions (4 / 8) | 8 / 14 |
| tileset | 6 |
| edit | 2 |
| custom_motion | 30 |
| video_to_sprite (per second) | 5 |