pbrboolean
Generate PBR materials.
डिफ़ॉल्ट: false
tripo3d/tripo-v2.5/multiview-to-3dTripo v2.5 by Tripo3D reconstructs a textured 3D mesh from a front view plus optional left, back and right views of the same object.
model को आज़माएँ
PNG, JPEG, WebP, या GIF · अधिकतम 20 MiB
PNG, JPEG, WebP, या GIF · अधिकतम 20 MiB
PNG, JPEG, WebP, या GIF · अधिकतम 20 MiB
PNG, JPEG, WebP, या GIF · अधिकतम 20 MiB
आप आगे क्या करना चाहेंगे?
प्लेग्राउंड में इसके इनपुट और परिणाम लोड करने के लिए कोई उदाहरण चुनें।
{
"back_image": "https://static.sandbase.ai/examples/63b09ac5-1238-4faa-abc7-8a23a30b586e/input/85d48a9b-54ca-41bb-89d6-557a1a551598.png",
"image": "https://static.sandbase.ai/examples/63b09ac5-1238-4faa-abc7-8a23a30b586e/input/0d0f81a1-5f3f-4370-9588-c67939c2d60c.png",
"left_image": "https://static.sandbase.ai/examples/63b09ac5-1238-4faa-abc7-8a23a30b586e/input/6af06d30-3fff-4bb0-9a21-e30df6807dfa.png"
}Tripo v2.5 by Tripo3D reconstructs a textured 3D mesh from a front view plus optional left, back and right views of the same object.
| Field | Type | Default | Notes |
|---|---|---|---|
image | string, required | — | Front view image URL. |
left_image | string | — | Optional left view image URL. |
back_image | string, required | — | Back view image URL. Front and back views are both required. |
right_image | string | — | Optional right view image URL. |
texture | no / standard / HD | standard | Texture quality: no (untextured), standard, or HD. |
pbr | boolean | false | Generate PBR materials. |
quad | boolean | false | Generate quad mesh topology (billed as an add-on). |
face_limit | integer 1000–500000 | — | Maximum face count (1,000-500,000). Adaptive when unset. |
orientation | default / align_image | default | Set to align_image to rotate the model to match the input image. |
seed | integer | — | Seed for reproducible geometry generation. |
texture_seed | integer | — | Seed for texture generation. Keep seed and change texture_seed for new textures on the same geometry. |
texture_version | v3.5-20260815 / v3.0-20250812 / v2.5-20250123 | — | Accepted for compatibility with Tripo: v2.5 geometry is always textured with v2.5-20250123, whatever this field says. |
delight | boolean | false | Accepted for compatibility with Tripo; only the v3.5 texture model reads it, so it has no effect on v2.5. |
export_orientation | +x / -x / +y / -y | — | Forward axis of the exported model. Leave unset if you will post-process the model. |
export_uv | boolean | true | UV-unwrap during generation. false is faster and smaller; UVs are then made during texturing. |
texture_alignment | original_image / geometry | original_image | original_image keeps textures close to the input image; geometry favors the mesh. |
url: 3D model (GLB; FBX when quad is on).thumbnail: Preview render.$0.30 textured, $0.20 untextured (texture = no and pbr off).
| Add-on | Price |
|---|---|
| texture = HD | +$0.10 |
| quad | +$0.05 |
| Failed runs are not charged. |
बिल्डिंग शुरू करें
एकीकृत authentication और usage tracking के साथ कोई भी समर्थित 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-v2.5/multiview-to-3d",
"pbr": false,
"quad": false,
"image": "https://static.sandbase.ai/examples/tripo3d/tripo/shared/front.jpg",
"delight": false,
"texture": "standard",
"export_uv": true,
"back_image": "https://static.sandbase.ai/examples/tripo3d/tripo/shared/back.jpg",
"left_image": "https://static.sandbase.ai/examples/tripo3d/tripo/shared/left.jpg",
"orientation": "default",
"right_image": "https://static.sandbase.ai/examples/tripo3d/tripo/shared/right.jpg",
"texture_alignment": "original_image"
}
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 का संकेत नहीं मिलता।
pbrbooleanGenerate PBR materials.
डिफ़ॉल्ट: false
quadbooleanGenerate quad mesh topology (billed as an add-on).
डिफ़ॉल्ट: false
seedintegerSeed for reproducible geometry generation.
imagestringआवश्यकFront view image URL.
delightbooleanAccepted for compatibility with Tripo; only the v3.5 texture model reads it, so it has no effect on v2.5.
डिफ़ॉल्ट: false
texturestringTexture quality: no (untextured), standard, or HD.
डिफ़ॉल्ट: "standard"
संभावित मान: "no", "standard", "HD"
export_uvbooleanUV-unwrap during generation. false is faster and smaller; UVs are then made during texturing.
डिफ़ॉल्ट: true
back_imagestringआवश्यकBack view image URL. Front and back views are both required.
face_limitintegerMaximum face count (1,000-500,000). Adaptive when unset.
न्यूनतम: 1000
अधिकतम: 500000
left_imagestringOptional left view image URL.
orientationstringSet to align_image to rotate the model to match the input image.
डिफ़ॉल्ट: "default"
संभावित मान: "default", "align_image"
right_imagestringOptional right view image URL.
texture_seedintegerSeed for texture generation. Keep seed and change texture_seed for new textures on the same geometry.
texture_versionstringAccepted for compatibility with Tripo: v2.5 geometry is always textured with v2.5-20250123, whatever this field says.
संभावित मान: "v3.5-20260815", "v3.0-20250812", "v2.5-20250123"
texture_alignmentstringoriginal_image keeps textures close to the input image; geometry favors the mesh.
डिफ़ॉल्ट: "original_image"
संभावित मान: "original_image", "geometry"
export_orientationstringForward axis of the exported model. Leave unset if you will post-process the model.
संभावित मान: "+x", "-x", "+y", "-y"
{
"model": "tripo3d/tripo-v2.5/multiview-to-3d",
"pbr": false,
"quad": false,
"image": "https://static.sandbase.ai/examples/tripo3d/tripo/shared/front.jpg",
"delight": false,
"texture": "standard",
"export_uv": true,
"back_image": "https://static.sandbase.ai/examples/tripo3d/tripo/shared/back.jpg",
"left_image": "https://static.sandbase.ai/examples/tripo3d/tripo/shared/left.jpg",
"orientation": "default",
"right_image": "https://static.sandbase.ai/examples/tripo3d/tripo/shared/right.jpg",
"texture_alignment": "original_image"
}पूरा हुआ run अपना परिणाम output में दिखाता है। नीचे दिया गया model का सेव किया हुआ example है, नई generation नहीं।
[
{
"poster": "https://static.sandbase.ai/examples/63b09ac5-1238-4faa-abc7-8a23a30b586e/output/37d0d45f-a4d9-46bd-8fe0-d40dfe9a087b.webp",
"thumbnail": "https://static.sandbase.ai/examples/63b09ac5-1238-4faa-abc7-8a23a30b586e/output/37d0d45f-a4d9-46bd-8fe0-d40dfe9a087b.webp",
"url": "https://static.sandbase.ai/examples/63b09ac5-1238-4faa-abc7-8a23a30b586e/output/2ac03911-2117-4201-bb63-462d4b543771.glb"
}
]यह model Tripo के v3 API पर भी उपलब्ध है। Request bodies, task objects और error codes Tripo के अनुरूप हैं, इसलिए base URL को https://api.sandbase.ai/tripo/v3 में बदलने और Authorization: Bearer के रूप में SandBase API key भेजने के बाद मौजूदा Tripo code काम करेगा। Requests Tripo के official channel पर /v1/run के समान मूल्य पर चलती हैं।
"model": "v2.5-20250123" के साथ POST https://api.sandbase.ai/tripo/v3/generation/multiview-to-model। ऊपर Tripo v3 API के अंतर्गत दिया गया request example एक पूर्ण call दिखाता है।
Tripo इन inputs को नीचे दिए गए Schema से अलग नाम देता है। बाकी सभी फ़ील्ड अपने नाम बनाए रखते हैं।
| स्कीमा फ़ील्ड | Tripo फ़ील्ड |
|---|---|
image | inputs[0] |
left_image | inputs[1] |
back_image | inputs[2] |
right_image | inputs[3] |
seed | model_seed |
Inputs सार्वजनिक URLs होते हैं, या तो string के रूप में या url फ़ील्ड वाले object के रूप में। Tripo task ids और file_token मान अभी स्वीकार नहीं किए जाते, file upload उपलब्ध नहीं है, और webhook_url को अनदेखा किया जाता है।
Submission से data.task_id लौटता है। data.status के success, failed या cancelled होने तक poll करें। Success पर, data.output में model_url जैसे Tripo field names होते हैं, और credits_consumed 1 credit = $0.01 पर SandBase charge है।
curl "https://api.sandbase.ai/tripo/v3/tasks/$TASK_ID" \
-H "Authorization: Bearer $SANDBASE_API_KEY"POST /tripo/v3/tasks/list को {"task_ids": [...]} के साथ उपयोग करने पर अधिकतम 100 tasks लौटते हैं। GET /tripo/v3/account/balance आपके SandBase balance को credits में लौटाता है।
Tripo अपने envelope का उपयोग करता है: {"code": 1004, "status": "error", "message": "..."}।
| code | अर्थ |
|---|---|
2 / 1002 | SandBase API key अनुपस्थित, अमान्य या अधिकृत नहीं है |
1003 | बॉडी JSON object नहीं है |
1004 | पैरामीटर अनुपस्थित या अमान्य है। संदेश Tripo फ़ील्ड का नाम बताता है |
1007 / 2000 | Rate limit या concurrency limit पहुँच गई है |
2001 | Task नहीं मिला, या किसी अन्य API key से बनाया गया था |
2002 | Endpoint या feature SandBase पर समर्थित नहीं है |
2010 | SandBase balance अपर्याप्त है या API key spending limit पहुँच गई है |
4001 | अज्ञात endpoint |
जब Tripo किसी task को अस्वीकार करता है या विफल करता है, तो वह Tripo के error_code और error_message के साथ failed पर समाप्त होता है। आपके अनुरोध या content से संबंधित codes बिना बदलाव के पास किए जाते हैं; upstream Tripo account से संबंधित codes को 1000 के रूप में रिपोर्ट किया जाता है।