Create reusable animation from a prompt
createAnimationGenerate a reusable animation from a text prompt (text-to-motion): the skeletal motion of a humanoid character, such as "overhead sword slash" or "zombie walk", made for no model in particular. It is saved to the account and can then be played by any rigged humanoid 3D model or transferred onto any sprite. No model or sprite is animated by this call; to animate one rigged model straight from a prompt, use animate3DModel. The job result is an animations array, one animation per num_variants (each with its own seed), each with an id, a name, the caption the motion model was given, its duration, whether it loops, and a preview_url: an mp4 of the move on a mannequin, seen from the low camera facing SW. There is no GLB yet: use an animation's id as animation_id wherever an animation preset goes - animate3DModelPreset (retarget it onto a rigged GLB, which gives the GLB), createDirectionalSprites and previewDirectionalSprites (render it on a 3D model from up to 8 directions) and transferMotion (onto a 2D sprite, seen from a perspective and a direction). Animations stay on the account and do not expire: listMyAnimations finds them again, so generate a move once and reuse it on every character. Choosing a tool: look through listAnimationPresets first, since a preset is curated and ready to use; generate an animation when no preset covers the move. By default the prompt is rewritten for the motion model and every option left out (duration, loop, the idle ends, the hands, keep_facing) is inferred from it, so a short description in any language is enough; set augment_prompt to false only to write the motion model's prompt yourself, in the format that field gives. Credits are held for every variant asked when the job is accepted; the final charge is for the animations that came back, and everything is refunded if the job fails or is cancelled. Async generation job: returns {id, status} - poll getApiJob (job and credit contract: see the server instructions).
Credits: This endpoint consumes 0.5 credits per animation (one per num_variants).
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": {
"requestBody": "<requestBody>"
},
"name": "createAnimation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| requestBody | Yes | Payload for generating animations from a text prompt |