specstring
Bone naming for biped rigs. actorcore, unity, unreal and vrm need rig model v3.0-20260909.
ค่าเริ่มต้น: "tripo"
ค่าที่เป็นไปได้: "tripo", "mixamo", "actorcore", "unity", "unreal", "vrm"
tripo3d/tripo/animateTripo Animate rigs a 3D character or creature and applies preset animations to it in one call (Tripo Rig + Animation Retarget).
ลองใช้โมเดล
เอาต์พุตของคุณจะแสดงที่นี่
กรอกอินพุตให้ครบ แล้วคลิก Run
Tripo Animate rigs a 3D character or creature and applies preset animations to it in one call (Tripo Rig + Animation Retarget).
| Field | Type | Default | Notes |
|---|---|---|---|
model_url | string, required | — | URL of the 3D model (GLB, FBX, OBJ or STL, up to 150 MB). |
animation | string | — | One preset, e.g. preset:walk. Rig v3.0 biped: preset:idle, walk, run, dive, climb, jump, slash, shoot, hurt, fall, turn. Non-biped: preset:quadruped:walk, preset:hexapod:walk, preset:octopod:walk, preset:serpentine:march, preset:aquatic:march. Rig v1.0: preset:biped:<name>. Use animation or animations. |
animations | array | — | 1 to 5 presets in one file (same names as animation). Each animation is billed. |
model_version | v3.0-20260909 / v2.5-20260210 / v1.0-20240301 | v3.0-20260909 | v3.0-20260909 is recommended for humanoids and supports others; v2.5-20260210 for non-humanoids; v1.0-20240301 biped only (90+ presets). |
rig_type | biped / quadruped / hexapod / octopod / avian / serpentine / aquatic / others | biped | Skeleton type. Use Tripo Rig Check to find it. |
spec | tripo / mixamo / actorcore / unity / unreal / vrm | tripo | Bone naming for biped rigs. actorcore, unity, unreal and vrm need rig model v3.0-20260909. |
out_format | glb / fbx | glb | Format of the rigged and the animated model. |
export_with_geometry | boolean | true | Include the mesh in the animated file; false exports the skeleton animation only. |
animate_in_place | boolean | false | Remove root motion so the character stays in place. |
url: Animated model.rigged: Rigged model without animation.thumbnail: Preview render.$0.25 for rigging plus $0.10 per animation ($0.35 with one animation). Failed runs are not charged.
เริ่มสร้าง
ส่งโมเดลนี้ผ่าน 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": "tripo3d/tripo/animate",
"spec": "tripo",
"rig_type": "biped",
"model_url": "https://static.sandbase.ai/examples/tripo3d/tripo/shared/character.glb",
"out_format": "glb",
"model_version": "v3.0-20260909",
"animate_in_place": false,
"export_with_geometry": true
}
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 และตั้งค่าไว้ในสภาพแวดล้อมฝั่งเซิร์ฟเวอร์ คำขอทั้งหมดใช้การยืนยันตัวตนแบบ Bearer
export SANDBASE_API_KEY="YOUR_API_KEY"เก็บ key ไว้บนเซิร์ฟเวอร์ อย่าเปิดเผยในโค้ดฝั่งเบราว์เซอร์หรือคอมมิตลง repository
POST ไปที่ /v1/run ด้วย model ID นี้และอินพุตของมัน ตัวอย่างคำขอด้านบนมีทั้งการส่งและการ polling
ใช้ run ID ที่ส่งกลับมาเพื่อ polling จนกว่าสถานะจะเป็น completed, failed หรือ timeout ให้อ่าน output หลังจาก completed เท่านั้น
curl "https://api.sandbase.ai/v1/run/$RUN_ID" \
-H "Authorization: Bearer $SANDBASE_API_KEY"ส่ง URL ไฟล์ที่เข้าถึงได้สาธารณะในช่อง image, video หรือ audio ของโมเดล รูปแบบและข้อจำกัดที่รองรับแสดงอยู่ข้างแต่ละอินพุตใน Playground
ใช้ตัวควบคุม upload หรือ replace ในช่องรูปภาพที่รองรับใน Playground ช่อง URL ของวิดีโอรองรับวิดีโอ driving ที่โฮสต์ไว้; ไม่ได้หมายความว่าสามารถอัปโหลดวิดีโอได้
specstringBone naming for biped rigs. actorcore, unity, unreal and vrm need rig model v3.0-20260909.
ค่าเริ่มต้น: "tripo"
ค่าที่เป็นไปได้: "tripo", "mixamo", "actorcore", "unity", "unreal", "vrm"
rig_typestringSkeleton type. Use Tripo Rig Check to find it.
ค่าเริ่มต้น: "biped"
ค่าที่เป็นไปได้: "biped", "quadruped", "hexapod", "octopod", "avian", "serpentine", "aquatic", "others"
animationstringOne preset, e.g. preset:walk. Rig v3.0 biped: preset:idle, walk, run, dive, climb, jump, slash, shoot, hurt, fall, turn. Non-biped: preset:quadruped:walk, preset:hexapod:walk, preset:octopod:walk, preset:serpentine:march, preset:aquatic:march. Rig v1.0: preset:biped:<name>. Use animation or animations.
model_urlstringจำเป็นURL of the 3D model (GLB, FBX, OBJ or STL, up to 150 MB).
animationsarray1 to 5 presets in one file (same names as animation). Each animation is billed.
out_formatstringFormat of the rigged and the animated model.
ค่าเริ่มต้น: "glb"
ค่าที่เป็นไปได้: "glb", "fbx"
model_versionstringv3.0-20260909 is recommended for humanoids and supports others; v2.5-20260210 for non-humanoids; v1.0-20240301 biped only (90+ presets).
ค่าเริ่มต้น: "v3.0-20260909"
ค่าที่เป็นไปได้: "v3.0-20260909", "v2.5-20260210", "v1.0-20240301"
animate_in_placebooleanRemove root motion so the character stays in place.
ค่าเริ่มต้น: false
export_with_geometrybooleanInclude the mesh in the animated file; false exports the skeleton animation only.
ค่าเริ่มต้น: true
{
"model": "tripo3d/tripo/animate",
"spec": "tripo",
"rig_type": "biped",
"model_url": "https://static.sandbase.ai/examples/tripo3d/tripo/shared/character.glb",
"out_format": "glb",
"model_version": "v3.0-20260909",
"animate_in_place": false,
"export_with_geometry": true
}run ที่เสร็จสมบูรณ์จะแสดงผลลัพธ์ใน output ต่อไปนี้เป็นตัวอย่างที่บันทึกไว้ของโมเดล ไม่ใช่การสร้างใหม่
ยังไม่มีตัวอย่าง output เผยแพร่ในตอนนี้ ใช้ Playground → Result → JSON หลังจาก run เสร็จสมบูรณ์เพื่อตรวจสอบการตอบกลับของคุณ