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).
model को आज़माएँ
PNG, JPEG, WebP, या GIF · अधिकतम 20 MiB
आपका आउटपुट यहाँ दिखाई देगा
इनपुट पूरा करें, फिर Run पर क्लिक करें।
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. |
बिल्डिंग शुरू करें
इस model को 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 key बनाएँ और इसे अपने server environment में सेट करें। सभी requests Bearer authentication का उपयोग करती हैं।
export SANDBASE_API_KEY="YOUR_API_KEY"Key को सर्वर पर रखें। इसे browser code में expose न करें या repository में commit न करें।
इस model ID और इसके inputs के साथ /v1/run पर POST करें। ऊपर दिया गया request example submission और polling दोनों शामिल करता है।
Completed, failed या timeout होने तक poll करने के लिए लौटाए गए run ID का उपयोग करें। Output केवल completed होने के बाद पढ़ें।
curl "https://api.sandbase.ai/v1/run/$RUN_ID" \
-H "Authorization: Bearer $SANDBASE_API_KEY"Model के image, video या audio field में सार्वजनिक रूप से उपलब्ध फ़ाइल URL पास करें। समर्थित formats और limits प्रत्येक Playground input के पास दिखाए गए हैं।
Playground में समर्थित image fields पर upload या replace control का उपयोग करें। Video URL fields hosted driving video स्वीकार करते हैं; इससे video-upload support का संकेत नहीं मिलता।
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 अपना परिणाम output में दिखाता है। नीचे दिया गया model का सेव किया हुआ example है, नई generation नहीं।
अभी तक कोई example output प्रकाशित नहीं किया गया है। अपना response देखने के लिए completed run के बाद Playground → Result → JSON का उपयोग करें।