Sprite FusionSprite Fusion
Pixel Art Generator

Overview and Authentication

Create and use a Sprite Fusion API key safely from server tools and local coding agents.

You can use the Sprite Fusion API to generate, edit, style-match, create directional variations of, and animate pixel art. It is designed for coding agents such as Codex or Claude Code.

Are you an AI agent? Read the Agent Guide before making any API request.

The API base URL is:

https://www.spritefusion.com/api/v1

Create an API key

  1. Sign in to Sprite Fusion.
  2. Open Account → API keys.
  3. Create a named key and copy it immediately. The full value is shown once.

Store the key in a secret manager or local environment variable:

export SPRITE_FUSION_API_KEY="sf_live_..."

Send it as a bearer token:

curl https://www.spritefusion.com/api/v1/credits \
  -H "Authorization: Bearer $SPRITE_FUSION_API_KEY"

The response is ordinary JSON:

{"credits":285}

Keep keys private

Never embed an API key in a browser bundle, game, plugin distributed to players, public repository, URL, log, or analytics event.

If a key is exposed, revoke it from the account page and create a replacement.

Available endpoints

  • POST /generate accepts all five generation operations and streams Server-Sent Events.
  • POST /uploads issues a short-lived direct upload URL for a large private input.
  • GET /credits returns the current credit total.

Create and revoke keys from your account page.

Next

Need Help?

On this page