new_sprite
Create a new Aseprite sprite with specified dimensions, frames, and palette; in batch mode, provide a file path so it is saved.
Instructions
Creates a new sprite. In batch mode 'file' is required (the sprite is saved there).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | Save to this path (.aseprite keeps layers/frames) | |
| width | Yes | ||
| frames | No | ||
| height | Yes | ||
| backend | No | auto (default): live Aseprite if connected, else headless batch | |
| palette | No | Colors, or {preset:'DB32'} / {file:'pal.gpl'} | |
| colorMode | No | ||
| layerName | No | ||
| background | No | Fill the first layer with this color | |
| backgroundLayer | No | Turn the first layer into a Background layer | |
| frameDurationMs | No |