Get a sprite from a SpriteForge edit session
get_spriteRead-only
Returns the current state of a SpriteForge edit session: a preview image, its size and palette, how many edits were saved, and a PNG URL with the exact pixels at 1x (add &frame=N for another frame). With include_pixels it also returns the palette-index grid. Read-only.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | An edit session's id (the s= value of an edit link), or the edit link itself. | |
| include_pixels | No | Also return the palette and index grid (default false). |