partstring
Character split template: a 6 parts, b 5, c 4 without head, d 4 with head, e 3, f 2.
デフォルト: "a"
指定可能な値: "a", "b", "c", "d", "e", "f"
hitem3d/hi3d/splitHi3D Split by Hitem3D splits a 3D model into parts, either by a humanoid character template with optional joints or by granularity for general objects.
モデルを試す

次に何をしますか?
例を選択すると、その入力と結果がプレイグラウンドに読み込まれます。
{
"model_url": "https://static.sandbase.ai/examples/ab183559-ca86-4f65-8726-fb4f14c115d7/input/a94a552e-b3b8-4893-a2d6-c3fc02919038.glb"
}Hi3D Split by Hitem3D splits a 3D model into parts, either by a humanoid character template with optional joints or by granularity for general objects.
| Field | Type | Default | Notes |
|---|---|---|---|
model_url | string, required | — | URL of the input model. GLB, STL or OBJ, up to 200MB. |
split_mode | character / general | character | character splits humanoid models using a template; general splits any model by granularity. |
part | a / b / c / d / e / f | a | Character split template: a 6 parts, b 5, c 4 without head, d 4 with head, e 3, f 2. |
joint | none / ball / dovetail | ball | Joint type added between character parts. |
level | low / medium / high | medium | Split granularity for general mode. |
export_format | glb / obj / stl / fbx / usdz | glb | File format of the generated model. Character split supports only glb. |
url: Main 3D file (GLB unless another export format is selected).thumbnail: Preview image rendered by the provider.$0.40 per request. Failed runs are not charged.
Other Hitem3D 3D endpoints: hitem3d/hi3d/image-to-3d, hitem3d/hi3d/multi-view-to-3d, hitem3d/hi3d/multicolor, hitem3d/hi3d/texture.
開発を始める
このモデルを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": "hitem3d/hi3d/split",
"part": "a",
"joint": "ball",
"level": "medium",
"model_url": "https://raw.githubusercontent.com/KhronosGroup/glTF-Sample-Models/master/2.0/DamagedHelmet/glTF-Binary/DamagedHelmet.glb",
"split_mode": "character",
"export_format": "glb"
}
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してください。上のリクエスト例には送信とポーリングが含まれています。
返されたrun IDを使って、ステータスがcompleted、failed、timeoutになるまでポーリングしてください。出力はcompleted後にのみ読み取ってください。
curl "https://api.sandbase.ai/v1/run/$RUN_ID" \
-H "Authorization: Bearer $SANDBASE_API_KEY"モデルのimage、video、またはaudioフィールドに、公開アクセス可能なファイルURLを指定してください。対応形式と制限は各Playground入力の横に表示されます。
Playgroundの対応する画像フィールドでアップロードまたは置換を使用してください。video URLフィールドはホストされたドライビング動画を受け付けますが、動画アップロード対応を意味するものではありません。
partstringCharacter split template: a 6 parts, b 5, c 4 without head, d 4 with head, e 3, f 2.
デフォルト: "a"
指定可能な値: "a", "b", "c", "d", "e", "f"
jointstringJoint type added between character parts.
デフォルト: "ball"
指定可能な値: "none", "ball", "dovetail"
levelstringSplit granularity for general mode.
デフォルト: "medium"
指定可能な値: "low", "medium", "high"
model_urlstring必須URL of the input model. GLB, STL or OBJ, up to 200MB.
split_modestringcharacter splits humanoid models using a template; general splits any model by granularity.
デフォルト: "character"
指定可能な値: "character", "general"
export_formatstringFile format of the generated model. Character split supports only glb.
デフォルト: "glb"
指定可能な値: "glb", "obj", "stl", "fbx", "usdz"
{
"model": "hitem3d/hi3d/split",
"part": "a",
"joint": "ball",
"level": "medium",
"model_url": "https://raw.githubusercontent.com/KhronosGroup/glTF-Sample-Models/master/2.0/DamagedHelmet/glTF-Binary/DamagedHelmet.glb",
"split_mode": "character",
"export_format": "glb"
}完了したrunの結果は出力に表示されます。以下はモデルに保存されたサンプルであり、新規生成ではありません。
[
{
"poster": "https://static.sandbase.ai/examples/ab183559-ca86-4f65-8726-fb4f14c115d7/output/826cb428-460d-47ef-9f6a-ca4cfe00cf5a.webp",
"thumbnail": "https://static.sandbase.ai/examples/ab183559-ca86-4f65-8726-fb4f14c115d7/output/826cb428-460d-47ef-9f6a-ca4cfe00cf5a.webp",
"url": "https://static.sandbase.ai/examples/ab183559-ca86-4f65-8726-fb4f14c115d7/output/fee9d97c-ae68-4bc9-8410-1874b6b01351.glb"
}
]