Open a sprite in the SpriteForge editor
open_editorOpens pixel art in SpriteForge's compact pixel editor - pencil, eraser, fill, colour picker, palette, undo and animation frames - as an interactive card where the app shows them, and returns an edit link (the same editor in a browser) and a session_id. No account needed. One source at most: png_base64 (an existing PNG), art (palette + index grid), or neither for a blank width x height canvas. Max 128x128 pixels and 256 colours. The user's edits save to the edit session automatically.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| art | No | Pixel art in SpriteForge's format: palette = hex colours, grid = rows of palette indexes (-1 = transparent). Optional frames for an animation, each { grid } on the same palette. | |
| name | No | Sprite name, used as the download filename (letters, digits, _ and -). | |
| width | No | Blank canvas width in pixels (default 32). | |
| height | No | Blank canvas height in pixels (default 32). | |
| palette | No | Starting palette for a blank canvas, as hex colours. | |
| png_base64 | No | A PNG file, base64-encoded (a data: URL prefix is fine). Pixels under 50% alpha become transparent. |