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/riggingMeshy Rigging adds a humanoid skeleton to an existing character model and can also apply one animation preset.
모델 사용해 보기
예시를 선택하면 입력값과 결과가 플레이그라운드에 로드됩니다.
{
"enable_animation": true,
"model_url": "https://static.sandbase.ai/examples/3d5a1315-3549-4c25-b133-5efbee7dbc0d/input/255717e2-2107-4e10-bfbe-4abaed9024ee.glb"
}Meshy Rigging adds a humanoid skeleton to an existing character model and can also apply one animation preset.
| 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. |
enable_animation | boolean | false | Also generate one animation clip on the rig. Returned as animation_glb / animation_fbx. |
animation_action_id | integer 0–696 | 92 | Animation preset ID from Meshy's animation library (0 is Idle). Only used when animation is enabled. |
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. |
url: Main 3D file (GLB unless another export format is selected).fbx: Additional file returned by the provider.animation_glb: Additional file returned by the provider.animation_fbx: Additional file returned by the provider.$0.20 per request with default settings. Price by option (other settings at default):
| Option | Price |
|---|---|
| enable_animation on | $0.32 |
| enable_animation off | $0.20 |
| 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.
빌드를 시작하세요
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",
"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,
"enable_animation": false,
"skeleton_template": "meshyrig",
"animation_action_id": 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 키를 생성해 서버 환경에 설정하세요. 모든 요청에는 Bearer 인증이 사용됩니다.
export SANDBASE_API_KEY="YOUR_API_KEY"키는 서버에 보관하세요. 브라우저 코드에 노출하거나 저장소에 커밋하지 마세요.
이 모델 ID와 입력값을 사용해 /v1/run로 POST하세요. 위의 요청 예시에는 제출과 폴링이 포함되어 있습니다.
반환된 실행 ID를 사용해 상태가 completed, failed 또는 timeout이 될 때까지 폴링하세요. completed 이후에만 출력을 읽으세요.
curl "https://api.sandbase.ai/v1/run/$RUN_ID" \
-H "Authorization: Bearer $SANDBASE_API_KEY"모델의 이미지, 비디오 또는 오디오 필드에 공개적으로 접근 가능한 파일 URL을 전달하세요. 지원 형식과 제한은 각 Playground 입력 옆에 표시됩니다.
Playground의 지원되는 이미지 필드에서 업로드 또는 교체 컨트롤을 사용하세요. 비디오 URL 필드는 호스팅된 driving video를 받으며, 비디오 업로드 지원을 의미하지는 않습니다.
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
enable_animationbooleanAlso generate one animation clip on the rig. Returned as animation_glb / animation_fbx.
기본값: 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_idintegerAnimation preset ID from Meshy's animation library (0 is Idle). Only used when animation is enabled.
기본값: 92
최소값: 0
최대값: 696
{
"model": "meshy/rigging",
"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,
"enable_animation": false,
"skeleton_template": "meshyrig",
"animation_action_id": 92
}완료된 실행의 결과는 출력에 표시됩니다. 아래 내용은 새 생성 결과가 아니라 모델에 저장된 예시입니다.
[
{
"animation_fbx": "https://static.sandbase.ai/examples/3d5a1315-3549-4c25-b133-5efbee7dbc0d/output/38433ef7-c3ac-4ecc-be8b-b7624dcbec07.fbx",
"animation_glb": "https://static.sandbase.ai/examples/3d5a1315-3549-4c25-b133-5efbee7dbc0d/output/86f655ad-5f0a-486a-a3a6-a6c1746c68c0.glb",
"fbx": "https://static.sandbase.ai/examples/3d5a1315-3549-4c25-b133-5efbee7dbc0d/output/4def67f9-a1c4-48b1-9d79-3980046445e1.fbx",
"poster": "https://static.sandbase.ai/examples/3d5a1315-3549-4c25-b133-5efbee7dbc0d/output/30fdcaad-2e43-4810-8fb8-014ff43df188.png",
"url": "https://static.sandbase.ai/examples/3d5a1315-3549-4c25-b133-5efbee7dbc0d/output/64e72b2d-d35e-49a7-879c-284e20d3fd17.glb"
}
]