Generate Motion Clip from Text
meshy_text_to_motionTurn a text prompt into a skeleton motion clip, not a 3D model. Apply it to a rigged biped or save it as FBX or BVH.
Instructions
Generate a character motion clip (skeleton motion, not a model) from text. Cost: 10 credits (prime) or 3 (swift) — confirm first. Clips are kept for 3 days.
Apply it to a rigged biped with meshy_animate (motion_task_id), or save the clip with meshy_download_model (FBX for prime, BVH for swift; format is ignored).
Example: { prompt: "a boxer throws a jab-cross combo", duration: 4 }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | 'prime' (default): highest quality, FBX. 'swift': faster and cheaper, BVH. | |
| prompt | Yes | The motion, e.g. 'jumps over a gap and lands in a crouch' (max 400 characters). | |
| duration | Yes | Clip length in seconds: 2–10 in steps of 0.5. | |
| response_format | No | markdown (default) or json | markdown |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | ||
| message | Yes | ||
| task_id | Yes | ||
| estimated_time | Yes |