Animate a rigged character
animate_modelPut animations on a rigged humanoid, whoever rigged it: a rig_model job, a rigged library character (search_assets with rigged true) or the user's own GLB. Everything goes into one GLB, in place, each animation by name, after any the file has, so calls chain. Two ways: animations, up to 20 of the 79 ids in its schema, from the free library (0 credits; Quaternius' CC0 Universal Animation Library, retargeted onto the rig: walks, jogs, sprints, jumps, rolls, sitting, talking, punches, sword and shield moves, pistols, spells, farm work); or prompt, one motion described in words, made by hunyuan-motion (15 credits, up to 12 s; one person moving, in English, no props or second person). Prefer the library (search_assets with type animation finds its ids by words; each result's animate_id is the id to pass); describe a motion only for what it lacks. Waits about 45 s, then returns job_id for get_job.
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": {
"mesh": "<mesh>"
},
"name": "animate_model"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mesh | Yes | The rigged model: job_... (from rig_model), a library id, an upload id or a URL. | |
| seed | No | ||
| prompt | No | A motion in words, instead of animations: "waves hello, then sits down cross-legged". Costs credits. | |
| seconds | No | With prompt: how long the motion lasts. | |
| animations | No | Library animations to add, by id, free. idle, walk, jog and sprint are what most games need first. | |
| max_credits | No | ||
| wait_seconds | No | ||
| idempotency_key | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| error | No | ||
| output | No | ||
| status | No | ||
| credits | No |