model_urlstringआवश्यक
URL of a humanoid character model in GLB format with clearly defined limbs. Works with models from Meshy, Hunyuan, Trellis or any other 3D tool.
meshy/rigging/multi-animationMeshy Rigging Multi-Animation rigs an existing humanoid character model and generates up to 10 animation clips on the same rig.
model को आज़माएँ

प्लेग्राउंड में इसके इनपुट और परिणाम लोड करने के लिए कोई उदाहरण चुनें।
{
"animation_action_ids": [
92,
4,
30
],
"model_url": "https://static.sandbase.ai/examples/ff903233-a04c-40c5-a624-e3b99ada4c10/input/64e4200d-f0c6-4d32-ba41-17b481908848.glb"
}Meshy Rigging Multi-Animation rigs an existing humanoid character model and generates up to 10 animation clips on the same rig.
| Field | Type | Default | Notes |
|---|---|---|---|
model_url | string, required | — | URL of a humanoid character model in GLB format with clearly defined limbs. Works with models from Meshy, Hunyuan, Trellis or any other 3D tool. |
animation_action_ids | array (1–10), required | — | 1 to 10 animation preset IDs from Meshy's animation library (0 is Idle). One clip is generated per ID, in request order; duplicates are merged. |
skeleton_template | mixamo / ue5_mannequin / unity_humanoid / maya_human_ik / blender_rigify_basic_human / max_biped / cc5_hd_neutral_base / daz_genesis9 / meshyrig | meshyrig | Skeleton template for the rig (e.g. mixamo, ue5_mannequin, unity_humanoid). Some models can only be rigged on meshyrig without fingers. |
include_fingers | boolean | false | Rig the character's fingers. |
height_meters | number | 1.7 | Approximate height of the character in meters. |
animation_type | biped / quadruped | "biped" | biped for humanoid characters, quadruped for four-legged animals. skeleton_template and include_fingers apply to biped only. |
One output item per requested animation, in request order:
url: the animated character for that clip (GLB).animation_fbx: the same clip as FBX.action_id: the animation preset ID of the clip.rigged_glb / fbx: the rigged character without animation (same on every item).$0.32 per request with default settings. Price by option (other settings at default):
| Option | Price |
|---|---|
| 1 animation action ids | $0.32 |
| 2 animation action ids | $0.44 |
| 4 animation action ids | $0.68 |
| Failed runs are not charged. |
Other Meshy 3D endpoints: meshy/6.0-lite/retexture, meshy/6.0/retexture, meshy/7.0/image-to-3d, meshy/7.0/multi-image-to-3d.
बिल्डिंग शुरू करें
इस model को SandBase Unified Run API के माध्यम से सबमिट करें।
# The quoted heredoc keeps Unicode and shell metacharacters unchanged.
result=$(curl --fail-with-body --silent \
-X POST "https://api.sandbase.ai/v1/run" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
--data-binary @- <<'SANDBASE_JSON'
{
"model": "meshy/rigging/multi-animation",
"model_url": "https://storage.googleapis.com/falserverless/model_tests/video_models/base_basic_shaded.glb",
"height_meters": 1.7,
"animation_type": "biped",
"include_fingers": false,
"skeleton_template": "meshyrig",
"animation_action_ids": [
[
92
]
]
}
SANDBASE_JSON
)
run_id=$(printf '%s' "$result" | jq -r .id)
for attempt in $(seq 1 120); do
status=$(printf '%s' "$result" | jq -r .status)
case "$status" in completed|failed|timeout) break ;; esac
sleep 2
result=$(curl --fail-with-body --silent \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
"https://api.sandbase.ai/v1/run/$run_id")
done
status=$(printf '%s' "$result" | jq -r .status)
[ "$status" = completed ] || { echo "Generation ended: $status" >&2; exit 1; }
printf '%s\n' "$result"एक SandBase API key बनाएँ और इसे अपने server environment में सेट करें। सभी requests Bearer authentication का उपयोग करती हैं।
export SANDBASE_API_KEY="YOUR_API_KEY"Key को सर्वर पर रखें। इसे browser code में expose न करें या repository में commit न करें।
इस model ID और इसके inputs के साथ /v1/run पर POST करें। ऊपर दिया गया request example submission और polling दोनों शामिल करता है।
Completed, failed या timeout होने तक poll करने के लिए लौटाए गए run ID का उपयोग करें। Output केवल completed होने के बाद पढ़ें।
curl "https://api.sandbase.ai/v1/run/$RUN_ID" \
-H "Authorization: Bearer $SANDBASE_API_KEY"Model के image, video या audio field में सार्वजनिक रूप से उपलब्ध फ़ाइल URL पास करें। समर्थित formats और limits प्रत्येक Playground input के पास दिखाए गए हैं।
Playground में समर्थित image fields पर upload या replace control का उपयोग करें। Video URL fields hosted driving video स्वीकार करते हैं; इससे video-upload support का संकेत नहीं मिलता।
model_urlstringआवश्यकURL of a humanoid character model in GLB format with clearly defined limbs. Works with models from Meshy, Hunyuan, Trellis or any other 3D tool.
height_metersnumberApproximate height of the character in meters.
डिफ़ॉल्ट: 1.7
animation_typestringbiped for humanoid characters, quadruped for four-legged animals. skeleton_template and include_fingers apply to biped only.
डिफ़ॉल्ट: "biped"
संभावित मान: "biped", "quadruped"
include_fingersbooleanRig the character's fingers.
डिफ़ॉल्ट: false
skeleton_templatestringSkeleton template for the rig (e.g. mixamo, ue5_mannequin, unity_humanoid). Some models can only be rigged on meshyrig without fingers.
डिफ़ॉल्ट: "meshyrig"
संभावित मान: "mixamo", "ue5_mannequin", "unity_humanoid", "maya_human_ik", "blender_rigify_basic_human", "max_biped", "cc5_hd_neutral_base", "daz_genesis9", "meshyrig"
animation_action_idsarrayआवश्यक1 to 10 animation preset IDs from Meshy's animation library (0 is Idle). One clip is generated per ID, in request order; duplicates are merged.
{
"model": "meshy/rigging/multi-animation",
"model_url": "https://storage.googleapis.com/falserverless/model_tests/video_models/base_basic_shaded.glb",
"height_meters": 1.7,
"animation_type": "biped",
"include_fingers": false,
"skeleton_template": "meshyrig",
"animation_action_ids": [
[
92
]
]
}पूरा हुआ run अपना परिणाम output में दिखाता है। नीचे दिया गया model का सेव किया हुआ example है, नई generation नहीं।
[
{
"action_id": 92,
"animation_fbx": "https://static.sandbase.ai/examples/ff903233-a04c-40c5-a624-e3b99ada4c10/output/b5ba5293-fb0d-4b03-83f8-55e74771df21.fbx",
"fbx": "https://static.sandbase.ai/examples/ff903233-a04c-40c5-a624-e3b99ada4c10/output/18cd77bc-7094-442b-8c75-56db899358de.fbx",
"poster": "https://static.sandbase.ai/examples/ff903233-a04c-40c5-a624-e3b99ada4c10/output/7cd90e11-df21-4ab9-a9e2-756d3b77af0d.png",
"rigged_glb": "https://static.sandbase.ai/examples/ff903233-a04c-40c5-a624-e3b99ada4c10/output/c38a9ef8-7746-4de5-89ee-5c994ef21d35.glb",
"url": "https://static.sandbase.ai/examples/ff903233-a04c-40c5-a624-e3b99ada4c10/output/3d148f71-9c89-43c7-a552-c8ecc26e596c.glb"
},
{
"action_id": 4,
"animation_fbx": "https://static.sandbase.ai/examples/ff903233-a04c-40c5-a624-e3b99ada4c10/output/9822552b-8448-4741-9c59-b64c2378a40b.fbx",
"fbx": "https://static.sandbase.ai/examples/ff903233-a04c-40c5-a624-e3b99ada4c10/output/7a31daa7-db2c-4ce8-ae96-87e955f1a523.fbx",
"poster": "https://static.sandbase.ai/examples/ff903233-a04c-40c5-a624-e3b99ada4c10/output/7cd90e11-df21-4ab9-a9e2-756d3b77af0d.png",
"rigged_glb": "https://static.sandbase.ai/examples/ff903233-a04c-40c5-a624-e3b99ada4c10/output/8680444c-c540-47d5-a256-52f59ff4c3ad.glb",
"url": "https://static.sandbase.ai/examples/ff903233-a04c-40c5-a624-e3b99ada4c10/output/c39de62f-3549-4c02-8b56-03a51a672af2.glb"
},
{
"action_id": 30,
"animation_fbx": "https://static.sandbase.ai/examples/ff903233-a04c-40c5-a624-e3b99ada4c10/output/5326664a-1eeb-4df5-b5b2-98d49280d395.fbx",
"fbx": "https://static.sandbase.ai/examples/ff903233-a04c-40c5-a624-e3b99ada4c10/output/e63681cf-2330-413e-8bca-7b8896967b9c.fbx",
"poster": "https://static.sandbase.ai/examples/ff903233-a04c-40c5-a624-e3b99ada4c10/output/7cd90e11-df21-4ab9-a9e2-756d3b77af0d.png",
"rigged_glb": "https://static.sandbase.ai/examples/ff903233-a04c-40c5-a624-e3b99ada4c10/output/c3c2af3d-f69d-4ebc-a1c5-580e81dbaaa5.glb",
"url": "https://static.sandbase.ai/examples/ff903233-a04c-40c5-a624-e3b99ada4c10/output/ae0d63d8-e0e5-4790-b900-bfa79bc53df5.glb"
}
]