Introduction
What this endpoint does
Rigs an unrigged character model and applies up to ten action IDs from the Meshy animation library in one asynchronous run.
Inputs
mesh_url and animations (1 to 10 objects with name set to a Meshy action ID string such as "0" or "92") are required. Optional rig_type and rigging_height_meters tune the skeleton.
Output
One GLB file carrying the 24-bone rig, original PBR maps and all requested animation clips.
| Field | Value |
|---|---|
| Input | Text |
| Output | Image |
| Endpoints | rig (Auto Rig), animate (Rig + Library Motions) |
| Input formats | GLB, GLTF, FBX, OBJ, STL (up to 90 MB) |
| Output format | Single rigged or animated GLB |
| Skeletons | biped, quadruped |
Key features & highlights
Attach a clean biped or quadruped armature
Upload GLB, GLTF, FBX, OBJ or STL meshes and set character height in meters. Meshy inserts a skinned skeleton with a default bind clip while preserving your original PBR textures.
Rig and retarget up to ten actions at once
The Animate endpoint rigs your unrigged character and bakes one to ten Meshy library action IDs directly into named animation tracks inside one GLB—our two-action trial (IDs 92 and 0) returned Double_Combo_Attack and Idle in 79 seconds.
Request parameters
| Parameter | Required | Description |
|---|---|---|
mesh_url | Yes | Unrigged 3D character mesh (GLB, GLTF, FBX, OBJ or STL, up to 90 MB). at least 1 characters |
animations | Yes | One to ten Meshy library action IDs, one object per row (e.g. {"name": "0"} for Idle, {"name": "92"} for Double Combo Attack). at least 1 items · at most 10 items |
rig_type | No | Skeleton layout: biped (default) or quadruped. No price impact. |
rigging_height_meters | No | Target character height in meters (default 1.7). No price impact. |
Pricing
$0.384 / run
Charged as a rigging base fee plus a per-action fee for every item in animations (1 to 10 clips). rig_type and rigging_height_meters do not change the fee; failed jobs carry no charge.
Use cases
Game-ready NPC pipelines
Turn freshly generated 3D characters into rigged GLBs carrying idle, walk and combat clips without opening a DCC tool.
Browser & WebGL avatars
Deliver single-file GLB assets with embedded animation tracks ready for Three.js or Babylon.js viewers.
Prompt guide & pro tips
Start with a clear character pose
Humanoids in an A-pose or T-pose and four-legged creatures with separated limbs give the cleanest skin weights.
Choose Rig or Animate
Use rig when you only need a skinned armature; use animate to rig and bake 1 to 10 Meshy action IDs in one pass.
Import the GLB directly
Poll until complete and load the returned GLB straight into Blender, Unity, Unreal Engine or Three.js.
Overview
Skip separate rigging and retargeting steps: send one unrigged character plus up to ten Meshy library action IDs and receive a single animated GLB.
Example request
{
"mesh_url": "https://example.com/character.glb",
"rig_type": "biped",
"animations": [{"name": "92"}, {"name": "0"}]
}
Tested output
Sending two action IDs (92 and 0) on our astronaut GLB finished in 79 seconds and produced one 4.3 MB GLB with 24 joints and two named clips (Double_Combo_Attack, Idle).
API quick start
# Generate the idempotency key once; reuse it when retrying after a lost response.
export SPICY_IDEMPOTENCY_KEY="${SPICY_IDEMPOTENCY_KEY:-$(uuidgen)}"
curl -X POST https://api.spicyapi.ai/api/v1/jobs/createTask \
-H "Authorization: Bearer $SPICY_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $SPICY_IDEMPOTENCY_KEY" \
-d '{
"model": "meshy/tools/animate",
"input": {
"animations": [
{
"name": "example"
}
],
"mesh_url": "https://example.com/reference.png",
"rig_type": "biped"
}
}'
# Copy data.taskId from the response into TASK_ID, then poll the status.
TASK_ID="TASK_ID_FROM_RESPONSE"
curl "https://api.spicyapi.ai/api/v1/jobs/recordInfo?taskId=$TASK_ID" \
-H "Authorization: Bearer $SPICY_API_KEY"
See the API reference for authentication, the complete schema, polling, and error handling.




