Get a library sprite
get_sprite_from_libraryShow one sprite from the user's SpriteForge library: a preview image, its size and palette, and download links - png_url (one frame at 1x with real transparency; add &frame=N for frame N, &scale=N to enlarge) and, for animations and tilesets, sheet_url (every frame in one PNG; it already ends in &cols=N, so replace that number to change the columns). The links work without sign-in for 24 hours: in a shell, curl -sSf -o name.png '<url>' saves the file; otherwise give the user the link. Set include_pixels for the palette-index grid. Read-only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asset_id | Yes | ||
| include_pixels | No | Also return palette + index grid (default false). |