model_urlstring必須
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).
モデルを試す
PNG、JPEG、WebP、GIF · 最大 20 MiB
出力はここに表示されます
入力を完了してから[実行]をクリックしてください。
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. |
開発を始める
このモデルを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/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"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フィールドはホストされたドライビング動画を受け付けますが、動画アップロード対応を意味するものではありません。
model_urlstring必須URL 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.
デフォルト: "v1.0-20250506"
指定可能な値: "v1.0-20250506", "v2.0-20260430"
completion_modestringai_completion rebuilds missing geometry; quick_cap closes holes quickly and costs less.
デフォルト: "ai_completion"
指定可能な値: "ai_completion", "quick_cap"
split_by_connectivitybooleanv2.0 only. Also split disconnected pieces.
デフォルト: true
segmentation_granularitystringv2.0 only.
デフォルト: "balanced"
指定可能な値: "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"
}完了したrunの結果は出力に表示されます。以下はモデルに保存されたサンプルであり、新規生成ではありません。
まだ例の出力は公開されていません。完了したrunのレスポンスを確認するには、Playground → Result → JSON を使用してください。