pbrboolean
PBR material maps (base color, metallic, roughness, normal). true also turns texture on.
預設:true
tripo3d/tripo-h3.0/multiview-to-3dTripo H3.0 Multiview to 3D by Tripo3D: build a textured 3D model from 2 to 4 views of the same object.
試用這個模型
PNG, JPEG, WebP, or GIF · 20 MiB maximum each · up to 4
您的輸出會顯示在這裡
完成輸入後,點擊執行。
Tripo H3.0 (v3.0-20250812) is Tripo's previous-generation stable model, kept for backward compatibility, with HD geometry, quad, smart low-poly and part generation.
| Field | Type | Default | Notes |
|---|---|---|---|
images | array, required | — | 2 to 4 images of the same object, in the order front, left, back, right. Front is required. |
texture | boolean | true | Generate textures. Set texture and pbr to false for bare geometry (cheaper). |
pbr | boolean | true | PBR material maps (base color, metallic, roughness, normal). true also turns texture on. |
texture_quality | fast / standard / detailed / extreme | standard | fast and standard cost the same; detailed (HD) and extreme (8K) are add-ons. |
geometry_quality | standard / detailed | standard | detailed (Ultra) adds mesh detail and is billed as an add-on. |
quad | boolean | false | Quad topology instead of triangles. Output becomes FBX; 10,000 faces when face_limit is unset. |
smart_low_poly | boolean | false | Hand-crafted style low-poly topology (500-20,000 faces). Best for simple objects; billed as an add-on. |
generate_parts | boolean | false | Editable segmented parts. Requires texture=false and pbr=false; billed as an add-on. |
face_limit | integer | — | Maximum face count, up to 2,000,000 (detailed geometry) or 1,000,000; up to 150,000 with quad. Adaptive when unset. |
texture_alignment | original_image / geometry | original_image | original_image keeps textures close to the input image; geometry favors the mesh. |
orientation | default / align_image | default | align_image rotates the model to match the input image (needs texture). |
seed | integer | — | Seed for geometry generation (Tripo model_seed). Same seed and input give the same mesh. |
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 | — | Texture model. v3.5-20260815 is current (v3.0-20250812 runs as v3.5); v2.5-20250123 is the legacy texture model and the default for v2.5 geometry. |
delight | boolean | false | Remove baked-in lighting from the reference image before texturing (texture v3.5). |
export_uv | boolean | true | UV-unwrap during generation. false is faster and smaller; UVs are then made during texturing. |
export_orientation | +x / -x / +y / -y | — | Forward axis of the exported model. Leave unset if you will post-process the model. |
compress | geometry | — | geometry applies meshopt compression to reduce file size. |
auto_size | boolean | false | Scale the model to real-world size in meters. |
url: 3D model (GLB; FBX when quad is on).thumbnail: Preview render.$0.30 textured (standard or fast texture), $0.20 untextured (texture and pbr false).
| Add-on | Price |
|---|---|
| texture_quality = detailed | +$0.10 |
| texture_quality = extreme | +$0.20 |
| geometry_quality = detailed | +$0.20 |
| quad | +$0.05 |
| smart_low_poly | +$0.10 |
| generate_parts | +$0.20 |
| Failed runs are not charged. |
開始建置
可選擇任一支援的 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-h3.0/multiview-to-3d",
"pbr": true,
"quad": false,
"images": [
[
"https://static.sandbase.ai/examples/tripo3d/tripo/shared/front.jpg",
"https://static.sandbase.ai/examples/tripo3d/tripo/shared/left.jpg",
"https://static.sandbase.ai/examples/tripo3d/tripo/shared/back.jpg",
"https://static.sandbase.ai/examples/tripo3d/tripo/shared/right.jpg"
]
],
"delight": false,
"texture": true,
"auto_size": false,
"export_uv": true,
"orientation": "default",
"generate_parts": false,
"smart_low_poly": false,
"texture_quality": "standard",
"geometry_quality": "standard",
"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 金鑰,並將其設定在伺服器環境中。所有請求都使用 Bearer 驗證。
export SANDBASE_API_KEY="YOUR_API_KEY"請將金鑰保留在伺服器端,不要在瀏覽器程式碼中公開,也不要提交到儲存庫。
使用此模型 ID 及其輸入,向 /v1/run 發送 POST。上方的請求範例包含提交與輪詢。
使用回傳的執行 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 中支援的圖片欄位上使用上傳或取代控制項。影片 URL 欄位可接受託管的 driving video;它們不代表支援影片上傳。
pbrbooleanPBR material maps (base color, metallic, roughness, normal). true also turns texture on.
預設:true
quadbooleanQuad topology instead of triangles. Output becomes FBX; 10,000 faces when face_limit is unset.
預設:false
seedintegerSeed for geometry generation (Tripo model_seed). Same seed and input give the same mesh.
imagesarray必填2 to 4 images of the same object, in the order front, left, back, right. Front is required.
delightbooleanRemove baked-in lighting from the reference image before texturing (texture v3.5).
預設:false
texturebooleanGenerate textures. Set texture and pbr to false for bare geometry (cheaper).
預設:true
compressstringgeometry applies meshopt compression to reduce file size.
可能值:"geometry"
auto_sizebooleanScale the model to real-world size in meters.
預設:false
export_uvbooleanUV-unwrap during generation. false is faster and smaller; UVs are then made during texturing.
預設:true
face_limitintegerMaximum face count, up to 2,000,000 (detailed geometry) or 1,000,000; up to 150,000 with quad. Adaptive when unset.
最大值:2000000
orientationstringalign_image rotates the model to match the input image (needs texture).
預設:"default"
可能值:"default", "align_image"
texture_seedintegerSeed for texture generation. Keep seed and change texture_seed for new textures on the same geometry.
generate_partsbooleanEditable segmented parts. Requires texture=false and pbr=false; billed as an add-on.
預設:false
smart_low_polybooleanHand-crafted style low-poly topology (500-20,000 faces). Best for simple objects; billed as an add-on.
預設:false
texture_qualitystringfast and standard cost the same; detailed (HD) and extreme (8K) are add-ons.
預設:"standard"
可能值:"fast", "standard", "detailed", "extreme"
texture_versionstringTexture model. v3.5-20260815 is current (v3.0-20250812 runs as v3.5); v2.5-20250123 is the legacy texture model and the default for v2.5 geometry.
可能值:"v3.5-20260815", "v3.0-20250812", "v2.5-20250123"
geometry_qualitystringdetailed (Ultra) adds mesh detail and is billed as an add-on.
預設:"standard"
可能值:"standard", "detailed"
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-h3.0/multiview-to-3d",
"pbr": true,
"quad": false,
"images": [
[
"https://static.sandbase.ai/examples/tripo3d/tripo/shared/front.jpg",
"https://static.sandbase.ai/examples/tripo3d/tripo/shared/left.jpg",
"https://static.sandbase.ai/examples/tripo3d/tripo/shared/back.jpg",
"https://static.sandbase.ai/examples/tripo3d/tripo/shared/right.jpg"
]
],
"delight": false,
"texture": true,
"auto_size": false,
"export_uv": true,
"orientation": "default",
"generate_parts": false,
"smart_low_poly": false,
"texture_quality": "standard",
"geometry_quality": "standard",
"texture_alignment": "original_image"
}已完成的執行會在輸出中顯示結果。以下為模型已儲存的範例,並非新的生成結果。
尚未發布範例輸出。請在完成執行後,到 Playground → Result → JSON 檢視您的回應。
這個模型也透過 Tripo 的 v3 API 提供服務。請求本文、任務物件與錯誤代碼都遵循 Tripo,因此只要將 base URL 改為 https://api.sandbase.ai/tripo/v3,並以 Authorization: Bearer 傳送 SandBase API key,既有的 Tripo 程式碼就能繼續使用。請求會透過 Tripo 的官方通道執行,價格與 /v1/run 相同。
POST https://api.sandbase.ai/tripo/v3/generation/multiview-to-model 搭配 "model": "v3.0-20250812"。上方 Tripo v3 API 下的請求範例示範了完整呼叫。
Tripo 對這些輸入欄位的命名與下方 Schema 不同。其他所有欄位名稱都維持不變。
| Schema 欄位 | Tripo 欄位 |
|---|---|
images | inputs |
seed | model_seed |
輸入為公開 URL,可使用字串或含有 url 欄位的物件。目前不接受 Tripo 任務 ID 和 file_token 值,不支援檔案上傳,且會忽略 webhook_url。
提交後會回傳 data.task_id。請持續輪詢,直到 data.status 為 success、failed 或 cancelled。成功時,data.output 會使用 Tripo 欄位名稱,例如 model_url,而 credits_consumed 是 SandBase 的費用,1 credit = $0.01。
curl "https://api.sandbase.ai/tripo/v3/tasks/$TASK_ID" \
-H "Authorization: Bearer $SANDBASE_API_KEY"POST /tripo/v3/tasks/list 搭配 {"task_ids": [...]} 會回傳最多 100 個任務。GET /tripo/v3/account/balance 會回傳您 SandBase 的 credits 餘額。
錯誤使用 Tripo 的信封格式:{"code": 1004, "status": "error", "message": "..."}。
| code | 意義 |
|---|---|
2 / 1002 | 缺少、無效或未授權的 SandBase API key |
1003 | 本文不是 JSON 物件 |
1004 | 缺少或無效的參數。訊息會指出 Tripo 欄位名稱 |
1007 / 2000 | 已達速率限制或並發限制 |
2001 | 找不到任務,或是使用另一個 API key 建立的 |
2002 | SandBase 不支援此端點或功能 |
2010 | SandBase 餘額不足,或已達 API key 的支出上限 |
4001 | 未知的端點 |
當 Tripo 拒絕或失敗某個任務時,結果會以 failed 結束,並帶有 Tripo 的 error_code 與 error_message。與您的請求或內容相關的代碼會原樣透傳;與上游 Tripo 帳戶相關的代碼則會回報為 1000。