Your API & MCP keys

Use your key with the REST API to build automated pipelines, or with MCP to generate sprite sheets straight from your AI editor.

Loading session…

Use your key

Call the API from any language over HTTPS. Pass your key in the x-api-key header.

1. Create a character
curl -X POST https://www.autosprite.io/api/v1/characters \
  -H "x-api-key: vspk_your_key_here" \
  -H "Content-Type: application/json" \
  -d '{"name": "Knight", "prompt": "knight with a blue cape, pixel art"}'
2. Generate animations
curl -X POST https://www.autosprite.io/api/v1/characters/CHARACTER_ID/spritesheets \
  -H "x-api-key: vspk_your_key_here" \
  -H "Content-Type: application/json" \
  -d '{"animations": [{"kind": "walk"}, {"kind": "run"}, {"kind": "attack"}]}'
3. Poll the job, then download
curl https://www.autosprite.io/api/v1/jobs/JOB_ID \
  -H "x-api-key: vspk_your_key_here"