Animate 3D model with a preset or your animation
animate3DModelPresetApply a curated animation preset, or one of the account's generated animations, to an already-rigged 3D model (retargeting). Pass the rigged GLB in model (URL or base64; the 3D asset file, not an AI model name) and exactly one of a preset_id from the animation presets list (from listAnimationPresets; any preset id works) and an animation_id (the id of an animation from createAnimation or listMyAnimations). Set mirror to play the move on the other side, left and right swapped (a left-handed slash from a right-handed one). Any rig type can take a preset or an animation, though retargeting does not succeed on every model: when it does not, the job fails. The job result is one retargeted animation - a standalone animation-only GLB in glb_url plus an mp4 preview_url - in the same animations envelope as the animate endpoint. An animation that loops is trimmed to its seamless loop; a one-shot keeps its full arc. in_place removes net travel so the character moves on the spot, as game-engine locomotion expects (omit to apply it to animations that loop: a cycle stays on the spot, a one-shot keeps its travel). Credits are held when the job is accepted and refunded if it 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 call.
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": "animate3DModelPreset"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| requestBody | Yes | Payload for animating a rigged 3D model with a preset animation or a generated animation |