animate_sprite
Animate one sprite into a single 16-frame clip from a description of the motion. Only for one clip: several facings of one character (its rotation views, one action in every direction) or several moves go through generate_animation_set, which decides room and size once for every facing so they come out one size; separate animate_sprite calls per facing do not match. 15 credits; 25 for a 1024 HD image (drawn at 1080P), 30 for a looping walk/run on a 1024 HD image (walk, stroll, march, sneak, tiptoe, patrol, run, jog, sprint, dash or a charge forward, ending on its start frame: a 2 s clip, played at its own pace).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"id": "<id>",
"prompt": "<prompt>"
},
"name": "animate_sprite"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Asset ID (from list_assets / get_asset or a previous result) | |
| room | No | Room for big moves. auto: a big move (a kick, a special, a fall, a jump) on a character that fills its frame is drawn on a bigger canvas at the character's own size, so nothing is cut off. on: draw it a little smaller in the same frame instead. off: neither | auto |
| prompt | Yes | The motion, e.g. 'walk cycle', 'swings sword overhead' | |
| frameId | No | Optional: the frame the new frames hang under in the editor (usually the frame referenceFile came from). | |
| end_frame | No | Optional image for the clip to end on: an image key from any of your assets (get_asset lists them), or its cdn.voidless.dev URL, e.g. the start image to loop, or another sprite's pose. Empty = free ending. An end image of another size is scaled to the start image's; one of a very different shape is refused (nothing charged) | |
| referenceFile | No | Work from one image instead of the asset's base: an image key from any of your assets (as get_asset lists it), or its cdn.voidless.dev URL. Empty = the asset's current base image. |