specstring
Bone naming for biped rigs. actorcore, unity, unreal and vrm need rig model v3.0-20260909.
Mặc định: "tripo"
Giá trị có thể dùng: "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).
Thử model
Đầu ra của bạn sẽ xuất hiện ở đây
Hoàn tất đầu vào, rồi nhấp 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.
Bắt đầu xây dựng
Gửi model này qua 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"Tạo một SandBase API key và đặt nó trong môi trường máy chủ của bạn. Tất cả request sử dụng xác thực Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Giữ key trên máy chủ. Không hiển thị trong mã trình duyệt hoặc commit vào repository.
POST tới /v1/run với model ID này và các đầu vào của nó. Ví dụ request ở trên bao gồm cả bước gửi và polling.
Dùng run ID được trả về để poll cho đến khi trạng thái là completed, failed hoặc timeout. Chỉ đọc đầu ra sau khi completed.
curl "https://api.sandbase.ai/v1/run/$RUN_ID" \
-H "Authorization: Bearer $SANDBASE_API_KEY"Cung cấp một URL tệp có thể truy cập công khai trong trường image, video hoặc audio của model. Các định dạng và giới hạn được hỗ trợ hiển thị bên cạnh từng input trong Playground.
Dùng điều khiển upload hoặc replace trên các trường image được hỗ trợ trong Playground. Trường URL video chấp nhận một video driving được host; điều này không đồng nghĩa hỗ trợ tải lên video.
specstringBone naming for biped rigs. actorcore, unity, unreal and vrm need rig model v3.0-20260909.
Mặc định: "tripo"
Giá trị có thể dùng: "tripo", "mixamo", "actorcore", "unity", "unreal", "vrm"
rig_typestringSkeleton type. Use Tripo Rig Check to find it.
Mặc định: "biped"
Giá trị có thể dùng: "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_urlstringbắt buộcURL 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.
Mặc định: "glb"
Giá trị có thể dùng: "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).
Mặc định: "v3.0-20260909"
Giá trị có thể dùng: "v3.0-20260909", "v2.5-20260210", "v1.0-20240301"
animate_in_placebooleanRemove root motion so the character stays in place.
Mặc định: false
export_with_geometrybooleanInclude the mesh in the animated file; false exports the skeleton animation only.
Mặc định: 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
}Một run đã hoàn tất sẽ hiển thị kết quả trong output. Phần sau là ví dụ đã lưu của model, không phải một lần tạo mới.
Chưa có đầu ra ví dụ nào được công bố. Dùng Playground → Result → JSON sau khi run hoàn tất để xem phản hồi của bạn.