partstring
Character split template: a 6 parts, b 5, c 4 without head, d 4 with head, e 3, f 2.
Domyślnie: "a"
Możliwe wartości: "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.
Wypróbuj model

Co chcesz zrobić dalej?
Wybierz przykład, aby wczytać jego dane wejściowe i wynik do playgroundu.
{
"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.
Zacznij tworzyć
Prześlij ten model przez 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"Utwórz klucz API SandBase i ustaw go w środowisku serwera. Wszystkie żądania używają uwierzytelniania Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Przechowuj klucz na serwerze. Nie ujawniaj go w kodzie przeglądarkowym ani nie commituj do repozytorium.
Wyślij POST do /v1/run z tym identyfikatorem modelu i jego danymi wejściowymi. Powyższy przykład żądania obejmuje wysyłanie i odpytywanie statusu.
Użyj zwróconego ID uruchomienia, aby odpytywać status do momentu completion, failed lub timeout. Odczytaj wynik dopiero po completion.
curl "https://api.sandbase.ai/v1/run/$RUN_ID" \
-H "Authorization: Bearer $SANDBASE_API_KEY"Przekaż publicznie dostępny URL pliku w polu image, video lub audio modelu. Obsługiwane formaty i limity są pokazane obok każdego pola wejściowego w Playground.
Użyj kontrolki upload lub replace w obsługiwanych polach image w Playground. Pola URL wideo akceptują hostowany film źródłowy; nie oznacza to obsługi przesyłania wideo.
partstringCharacter split template: a 6 parts, b 5, c 4 without head, d 4 with head, e 3, f 2.
Domyślnie: "a"
Możliwe wartości: "a", "b", "c", "d", "e", "f"
jointstringJoint type added between character parts.
Domyślnie: "ball"
Możliwe wartości: "none", "ball", "dovetail"
levelstringSplit granularity for general mode.
Domyślnie: "medium"
Możliwe wartości: "low", "medium", "high"
model_urlstringwymaganeURL 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.
Domyślnie: "character"
Możliwe wartości: "character", "general"
export_formatstringFile format of the generated model. Character split supports only glb.
Domyślnie: "glb"
Możliwe wartości: "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"
}Zakończone uruchomienie udostępnia swój wynik w output. Poniżej znajduje się zapisany przykład modelu, a nie nowa generacja.
[
{
"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"
}
]