spritesynth API v1
Welcome to the spritesynth API
The spritesynth REST API lets you integrate AI-powered pixel art generation into your game development workflow. Create characters, environments, animations, and UI elements programmatically.
Quick Start
1. Generate an API key from your dashboard
2. Send requests with your key in the Authorization: Bearer <key> header
3. Generate pixel art and download your assets
Authentication
- API KeysAll requests require an API key passed via the Authorization header. Generate keys from your spritesynth dashboard.
Image Generation
- Text-to-Pixel-ArtGenerate pixel art from text prompts with model selection, style control, negative prompts, and seed support.
- Style ReferenceProvide an image as style reference to guide the output aesthetic.
- UI ElementsGenerate game UI elements — buttons, panels, icons, and HUD components.
Animation
- Text-to-AnimationGenerate pixel art animations from text descriptions.
- Skeleton AnimationAnimate sprites using AI-estimated skeleton rigs.
- InterpolationGenerate intermediate frames between keyframes.
Editing & Post-Processing
- InpaintingSelectively regenerate parts of an image by masking areas.
- Background RemovalRemove backgrounds from generated or uploaded images.
- RotationGenerate multi-angle views of characters and objects.
- Resize & ConvertResize pixel art and convert regular images to pixel art style.
Tilesets & Maps
- Tile GenerationCreate tilesets for top-down, sidescroller, and isometric games.
- Map ObjectsGenerate individual game objects for placement on maps.
Character Pipeline
- Character CreationCreate multi-directional characters with AI-generated sprites.
- State ManagementAdd animation states (idle, walk, attack, etc.) to characters.
- ExportExport characters for Unity, Godot, Aseprite, and Tiled formats.
Resources
- Client LibrariesPython client library for programmatic access to the API.
- REST APIFull REST API with JSON request/response format.
- API LimitsRate limits and credit costs vary by model and operation type.