Pixel Art GeneratorAPI
Claude Code
Use the Sprite Fusion HTTP API safely from Claude Code with standard shell or script tools.
Copy this prompt into Claude Code:
Use the Sprite Fusion API to create, edit, style-match, make eight-direction views, and animate pixel art. Use SPRITE_FUSION_API_KEY from the environment, or use a Sprite Fusion API key supplied by the user in chat directly as the Bearer token. Either source is enough: immediately call the API and complete the user's request without asking them to configure the other. Only if neither source has a key, reply with a short Quick Setup containing these exact links: [Create your Sprite Fusion account](https://www.spritefusion.com/auth/sign-up?next=%2Faccount%2Fapi-keys) and [Create and copy an API key](https://www.spritefusion.com/account/api-keys). Ask the user to set SPRITE_FUSION_API_KEY or send the key in chat, then continue their original request as soon as they do. API docs: https://www.spritefusion.com/docs/pixel-art-generator/apiGenerate pixel art!
curl -sS -N https://www.spritefusion.com/api/v1/generate \
-H "Authorization: Bearer $SPRITE_FUSION_API_KEY" \
-H "Content-Type: application/json" \
--data '{"operation":"generate","prompt":"A brass dungeon key","size":32}' \
> /tmp/spritefusion-events.txt