REST API

Generate game-ready sprite sheets from code

Create characters, poses, animations, and sprite sheets with a simple REST API. Send an image or prompt, choose an animation, and get back export-ready assets for your game.

Works with cURL, Python, Node, Unity, Godot, Phaser, and custom game tools.

Quickstart

Grab a key, install nothing, and make your first request.

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"}'

Build anything 2D

Characters

Create game-ready characters from a text prompt or your own uploaded art.

Animations & sprite sheets

Generate idle, walk, run, attack and custom animations, then export PNG sheets + atlases.

Assets

Build standalone game assets — props, items, and effects — then generate previews and even 3D models from them.

Core endpoints

The endpoints below cover the full generation workflow. Complete reference in the API docs.

POST
/api/v1/characters

Create a character from a text prompt or uploaded image.

POST
/api/v1/characters/{id}/spritesheets

Generate animations for a character and export the sprite sheet.

POST
/api/v1/characters/{id}/poses

Generate custom poses to use as first or last animation frames.

GET
/api/v1/jobs/{id}

Poll the status of a generation job and collect results.

GET
/api/v1/account

Check your current credit balance.

API access is included with subscription plans.

Frequently asked questions

Is the AutoSprite API free?

API access is included with a subscription plan. Generation endpoints (create character, generate animations) require an active subscription.

What can I build with it?

Create characters from prompts or images, generate animated sprite sheets and custom poses, build game assets, and automate batch pipelines — all over HTTPS.

Which languages are supported?

Any language that can make an HTTPS request: Python, Node.js, Go, Rust, C#, or plain curl. There is no SDK to install.

How is the REST API different from MCP?

MCP connects AutoSprite to AI coding assistants like Claude Code and Cursor. The REST API is for programmatic pipelines and backends. Both are authenticated with the same key.

What's next?