Skip to content
spriteforge.
  • Studio
  • Sprite sheet guide
  • Pricing
  • FAQ
  • Sign in
Start free

Developers

Use SpriteForge from your own tools and coding assistants.

Before you start

  • The API and the MCP server are included with the Starter and Pro plans.
  • Create a key under Account → API keys. It is shown once, so copy it then.
  • A key acts as you and spends your credits. Keep it out of web pages, apps you ship and public repositories.
  • Animations use your plan credits first, then pack credits. Building a sprite sheet is free.
  • When you animate an image, it and your motion prompt are sent to our AI video provider, as in the studio. See which providers.

The REST API

Base URL: https://spriteforge.live/api/v1. Send your key in the x-api-key header.

1. Upload a character image

A PNG of one character, up to 4 MB, in side view. A transparent or plain background works best.

curl -X POST https://spriteforge.live/api/v1/images \
  -H "x-api-key: $SPRITEFORGE_KEY" \
  -H "Content-Type: image/png" \
  --data-binary @knight.png
{ "id": "0b8f…", "width": 512, "height": 512 }

2. Start an animation

Give a ready-made motion, your own prompt, or both. tier is turbo (2 seconds, 5 credits) or pro (4 seconds, 10 credits).

curl -X POST https://spriteforge.live/api/v1/animations \
  -H "x-api-key: $SPRITEFORGE_KEY" \
  -H "Content-Type: application/json" \
  -d '{"imageId": "0b8f…", "motion": "walk", "tier": "turbo"}'
{ "id": "7c21…", "status": "queued", "tier": "turbo", "credits": 5, "requestId": "…" }

To retry safely after a network error, send the same requestId (a UUID) again: you get the animation it already started, and you are not charged twice. One animation runs at a time for each account.

3. Wait for it

Ask every 10 to 15 seconds. An animation usually takes under a minute.

curl https://spriteforge.live/api/v1/animations/7c21… \
  -H "x-api-key: $SPRITEFORGE_KEY"
StatusMeaning
queuedWaiting to start.
runningBeing made.
succeededReady. You can download the sprite sheet.
failedCould not be made. Its credits were returned.
reviewNeeds a check on our side. Its credits are held; contact us if it stays this way.

4. Download the sprite sheet

The sheet has 25 frames of 256 × 256 pixels in 5 columns, spread across the whole animation, on a transparent background.

curl https://spriteforge.live/api/v1/animations/7c21…/spritesheet \
  -H "x-api-key: $SPRITEFORGE_KEY" -o spritesheet.png

The layout is in the response headers (X-Sprite-Frames, X-Sprite-Columns, X-Sprite-Rows, X-Sprite-Frame-Width, X-Sprite-Frame-Height, X-Sprite-Fps). Add ?format=json to get the image as base64 together with a JSON atlas of every frame, or ?background=keep to keep the grey backdrop.

All routes

RouteWhat it does
GET /accountYour credits and the quality tiers.
GET /motionsThe ready-made motions.
POST /imagesUpload a character PNG.
POST /animationsStart an animation.
GET /animationsYour 20 most recent animations.
GET /animations/:idOne animation's status.
GET /animations/:id/spritesheetIts sprite sheet.

Errors

Every error has the same shape, with a code you can test for and a message for people:

{ "error": { "code": "INSUFFICIENT_CREDITS", "message": "This animation needs 5 credits. …" } }
StatusCodeMeaning
400INVALID_REQUEST, INVALID_IMAGE, UNKNOWN_MOTION, UNKNOWN_TIERSomething in the request is wrong.
401UNAUTHORIZEDThe key is missing, revoked or not valid.
402INSUFFICIENT_CREDITS, BILLING_REVIEWNot enough credits, or billing needs attention.
403PLAN_REQUIREDThe account is not on a paid plan.
404NOT_FOUNDNo such image or animation on your account.
409CONFLICT, NOT_READYAnother animation is running, or this one is not finished.
413TOO_LARGEThe image is over 4 MB.
429RATE_LIMITEDToo many requests. Wait for the Retry-After seconds.
503UNAVAILABLE, PAUSEDTry again later. Nothing was charged.

The MCP server

The MCP server lets a coding assistant such as Claude Code, Cursor or Codex create sprite sheets for you while you work. It offers the same actions as the API.

  • Address: https://spriteforge.live/api/mcp (Streamable HTTP).
  • Sign-in: your API key as a bearer token.

Claude Code

claude mcp add --transport http spriteforge https://spriteforge.live/api/mcp \
  --header "Authorization: Bearer $SPRITEFORGE_KEY"

Check it with claude mcp list: the server should show as connected.

Other assistants

Add a remote (HTTP) MCP server with this configuration. Keep the type line: without it, some assistants treat the entry as a local program and skip it.

{
  "mcpServers": {
    "spriteforge": {
      "type": "http",
      "url": "https://spriteforge.live/api/mcp",
      "headers": { "Authorization": "Bearer YOUR_KEY" }
    }
  }
}

Tools

ToolWhat it does
get_accountCredits and quality tiers.
list_motionsThe ready-made motions.
upload_imageUpload a character PNG (base64).
create_animationStart an animation. This spends credits.
get_animationCheck an animation's status.
get_spritesheetThe sprite sheet image and its atlas.

Then ask your assistant, for example: “Animate art/knight.png walking with SpriteForge and save the sprite sheet in assets/.”

Import guidesUnityGodotGameMakerUnreal EnginePhaserRPG Maker
Sprite sheet guideExamplesPricingDevelopersHelpTermsPrivacy

© 2026 SpriteForge