Pixel art for Aseprite
A Lua-based extension that brings AI pixel art generation directly into Aseprite. Prompt, generate, and import sprites without leaving your pixel art canvas.
See it in action
generate tab
manage tab
settings tab
What's included
Generate Dialog
Full-featured dialog with prompt, image size, negative prompt, and seed fields. API key resolves from preferences then environment variable.
Canvas Import
Generated sprites are downloaded via curl and loaded directly onto your canvas as a new Sprite via Sprite{fromFile=}.
History Browser
Paginated history (10 per page) stored in Aseprite preferences. Re-open on canvas, delete individual entries, or clear all. Cap of 100 entries.
Settings Dialog
Dedicated settings dialog for API key management with status indicator (saved key / environment variable / none). Test your key before generating.
Cross-Platform
Works on Windows, macOS, and Linux. Handles temp paths, shell quoting, and platform-specific curl commands correctly.
39 Passing Tests
Comprehensive Lua test suite covering key resolution, JSON construction, history CRUD, URL building, and platform-specific behavior. CI runs on push via GitHub Actions.
Installation
Quick Install
- Download the latest release
- Copy the
spritesynth-asepritefolder to your Aseprite extensions directory:
Windows: %APPDATA%\Aseprite\extensions\
macOS: ~/Library/Application Support/Aseprite/extensions/
Linux: ~/.config/aseprite/extensions/
- Restart Aseprite
- Open via File > Export > SpriteSynth Generate... or Scripts > SpriteSynth
Via GitHub
git clone https://github.com/magebase/spritesynth-aseprite.git
# Then copy the folder to your Aseprite extensions directory
API Endpoints
The extension interacts with the spritesynth API using these endpoints:
/generations/image
Generate pixel art
/generations/{uuid}
Poll generation status
/generations/{uuid}/download
Download generated asset
Requirements
Aseprite v1.3+ (any OS)
Free or paid spritesynth account
curl and internet connection
Start generating in Aseprite
Install the extension and create pixel art assets without leaving Aseprite.