model_urlstringzorunlu
URL of the input 3D model (GLB, GLTF, FBX, OBJ or STL, up to 150 MB).
tripo3d/tripo/part-completionTripo Part Completion splits a 3D model into parts and rebuilds the hidden or missing surfaces of each part in one call (Tripo Segment + Complete).
Modeli deneyin
PNG, JPEG, WebP veya GIF · en fazla 20 MiB
Çıktınız burada görünecek
Girdileri tamamlayın, ardından Çalıştır'a tıklayın.
Tripo Part Completion splits a 3D model into parts and rebuilds the hidden or missing surfaces of each part in one call (Tripo Segment + Complete).
| Field | Type | Default | Notes |
|---|---|---|---|
model_url | string, required | — | URL of the input 3D model (GLB, GLTF, FBX, OBJ or STL, up to 150 MB). |
completion_mode | ai_completion / quick_cap | ai_completion | ai_completion rebuilds missing geometry; quick_cap closes holes quickly and costs less. |
model_version | v1.0-20250506 / v2.0-20260430 | v1.0-20250506 | v1.0-20250506 splits by geometry; v2.0-20260430 (beta) splits by meaning. |
segmentation_granularity | simple / balanced / detailed | balanced | v2.0 only. |
split_by_connectivity | boolean | true | v2.0 only. Also split disconnected pieces. |
ref_image | string | — | v2.0 only. Reference image guiding the parts. |
part_names | array | — | Only complete these parts (tripo_part_0, tripo_part_1, ...). All parts when unset. |
url: Completed parts model (GLB).segmented: Segmented model before completion.thumbnail: Preview render.| completion_mode | Price |
|---|---|
| ai_completion | $0.90 ($0.40 segment + $0.50 completion) |
| quick_cap | $0.70 ($0.40 + $0.30) |
| Failed runs are not charged. |
Geliştirmeye başlayın
Bu modeli SandBase Unified Run API üzerinden gönderin.
# 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/part-completion",
"model_url": "https://static.sandbase.ai/examples/tripo3d/tripo/shared/object.glb",
"ref_image": "https://static.sandbase.ai/examples/tripo3d/tripo-h3.1/image-to-3d/input_image_0.png",
"model_version": "v1.0-20250506",
"completion_mode": "ai_completion",
"split_by_connectivity": true,
"segmentation_granularity": "balanced"
}
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"Bir SandBase API anahtarı oluşturun ve sunucu ortamınıza ayarlayın. Tüm istekler Bearer kimlik doğrulaması kullanır.
export SANDBASE_API_KEY="YOUR_API_KEY"Anahtarı sunucuda tutun. Tarayıcı kodunda açığa çıkarmayın veya bir depoya commit etmeyin.
Bu model kimliği ve girdileriyle /v1/run adresine POST gönderin. Yukarıdaki istek örneği gönderme ve yoklamayı içerir.
Durum completed, failed veya timeout olana kadar verilen run ID ile yoklama yapın. Çıktıyı yalnızca completed olduktan sonra okuyun.
curl "https://api.sandbase.ai/v1/run/$RUN_ID" \
-H "Authorization: Bearer $SANDBASE_API_KEY"Modelin image, video veya audio alanına herkese açık erişilebilir bir dosya URL'si verin. Desteklenen formatlar ve sınırlar her Playground girişinin yanında gösterilir.
Playground'daki desteklenen image alanlarında yükleme veya değiştirme kontrolünü kullanın. Video URL alanları barındırılan bir sürüş videosu kabul eder; video yükleme desteği anlamına gelmez.
model_urlstringzorunluURL of the input 3D model (GLB, GLTF, FBX, OBJ or STL, up to 150 MB).
ref_imagestringv2.0 only. Reference image guiding the parts.
part_namesarrayOnly complete these parts (tripo_part_0, tripo_part_1, ...). All parts when unset.
model_versionstringv1.0-20250506 splits by geometry; v2.0-20260430 (beta) splits by meaning.
Varsayılan: "v1.0-20250506"
Olası değerler: "v1.0-20250506", "v2.0-20260430"
completion_modestringai_completion rebuilds missing geometry; quick_cap closes holes quickly and costs less.
Varsayılan: "ai_completion"
Olası değerler: "ai_completion", "quick_cap"
split_by_connectivitybooleanv2.0 only. Also split disconnected pieces.
Varsayılan: true
segmentation_granularitystringv2.0 only.
Varsayılan: "balanced"
Olası değerler: "simple", "balanced", "detailed"
{
"model": "tripo3d/tripo/part-completion",
"model_url": "https://static.sandbase.ai/examples/tripo3d/tripo/shared/object.glb",
"ref_image": "https://static.sandbase.ai/examples/tripo3d/tripo-h3.1/image-to-3d/input_image_0.png",
"model_version": "v1.0-20250506",
"completion_mode": "ai_completion",
"split_by_connectivity": true,
"segmentation_granularity": "balanced"
}Tamamlanan bir run, sonucunu output içinde gösterir. Aşağıdaki, modelin kaydedilmiş örneğidir; yeni bir üretim değildir.
Henüz örnek çıktı yayınlanmadı. Yanıtınızı incelemek için Playground → Result → JSON'u, tamamlanan bir run sonrasında kullanın.