pbrboolean
PBR material maps (base color, metallic, roughness, normal). true also turns texture on.
Predefinito: true
tripo3d/tripo-h3.1/multiview-to-3dTripo H3.1 Multiview To 3d by Tripo3D - convert 2D images into 3D models with AI. Generate textured 3D assets from single photos for games, AR/VR, e-commerce, and digital content creation.
Prova il modello
PNG, JPEG, WebP, or GIF · 20 MiB maximum each · up to 4

Cosa vuoi fare dopo?
Seleziona un esempio per caricare i suoi input e il risultato nel playground.
{
"images": [
"https://static.sandbase.ai/examples/ea2bcfa8-a03d-4dda-a811-9c0fc84dd6ae/input/6fd3f606-1213-4602-81cb-f946c0825293.png",
"https://static.sandbase.ai/examples/ea2bcfa8-a03d-4dda-a811-9c0fc84dd6ae/input/37c3b222-10ce-4689-80d1-4a7d369fa503.png",
"https://static.sandbase.ai/examples/ea2bcfa8-a03d-4dda-a811-9c0fc84dd6ae/input/9a7324a5-25e8-4c9b-983a-a629bcdabf86.png"
]
}Tripo H3.1 (v3.1-20260211) is Tripo's recommended high-detail model, 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. Order: front, left, back, right. |
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,500,000; 10,000-150,000 typical for 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. |
Inizia a costruire
Scegli una delle API supportate con autenticazione unificata e tracciamento dell'utilizzo.
# 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.1/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"Crea una SandBase API key e impostala nell'ambiente del server. Tutte le richieste usano l'autenticazione Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Conserva la key sul server. Non esporla nel codice del browser né committarla in un repository.
Esegui POST su /v1/run con questo ID modello e i relativi input. L'esempio di richiesta sopra include invio e polling.
Usa il run ID restituito per fare polling finché lo stato non è completed, failed o timeout. Leggi l'output solo dopo completed.
curl "https://api.sandbase.ai/v1/run/$RUN_ID" \
-H "Authorization: Bearer $SANDBASE_API_KEY"Passa un URL di file accessibile pubblicamente nel campo image, video o audio del modello. I formati supportati e i limiti sono mostrati accanto a ciascun input del Playground.
Usa il controllo upload o replace sui campi immagine supportati nel Playground. I campi URL video accettano un video di driving ospitato; non implicano il supporto al caricamento video.
pbrbooleanPBR material maps (base color, metallic, roughness, normal). true also turns texture on.
Predefinito: true
quadbooleanQuad topology instead of triangles. Output becomes FBX; 10,000 faces when face_limit is unset.
Predefinito: false
seedintegerSeed for geometry generation (Tripo model_seed). Same seed and input give the same mesh.
imagesarrayobbligatorio2 to 4 images of the same object. Order: front, left, back, right.
delightbooleanRemove baked-in lighting from the reference image before texturing (texture v3.5).
Predefinito: false
texturebooleanGenerate textures. Set texture and pbr to false for bare geometry (cheaper).
Predefinito: true
compressstringgeometry applies meshopt compression to reduce file size.
Valori possibili: "geometry"
auto_sizebooleanScale the model to real-world size in meters.
Predefinito: false
export_uvbooleanUV-unwrap during generation. false is faster and smaller; UVs are then made during texturing.
Predefinito: true
face_limitintegerMaximum face count, up to 2,000,000 (detailed geometry) or 1,500,000; 10,000-150,000 typical for quad. Adaptive when unset.
Massimo: 2000000
orientationstringalign_image rotates the model to match the input image (needs texture).
Predefinito: "default"
Valori possibili: "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.
Predefinito: false
smart_low_polybooleanHand-crafted style low-poly topology (500-20,000 faces). Best for simple objects; billed as an add-on.
Predefinito: false
texture_qualitystringfast and standard cost the same; detailed (HD) and extreme (8K) are add-ons.
Predefinito: "standard"
Valori possibili: "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.
Valori possibili: "v3.5-20260815", "v3.0-20250812", "v2.5-20250123"
geometry_qualitystringdetailed (Ultra) adds mesh detail and is billed as an add-on.
Predefinito: "standard"
Valori possibili: "standard", "detailed"
texture_alignmentstringoriginal_image keeps textures close to the input image; geometry favors the mesh.
Predefinito: "original_image"
Valori possibili: "original_image", "geometry"
export_orientationstringForward axis of the exported model. Leave unset if you will post-process the model.
Valori possibili: "+x", "-x", "+y", "-y"
{
"model": "tripo3d/tripo-h3.1/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"
}Un run completato espone il risultato in output. Quanto segue è l'esempio salvato del modello, non una nuova generazione.
[
{
"poster": "https://static.sandbase.ai/examples/ea2bcfa8-a03d-4dda-a811-9c0fc84dd6ae/output/60a02f6b-3163-4144-9075-758391c34c1b.png",
"thumbnail": "https://static.sandbase.ai/examples/ea2bcfa8-a03d-4dda-a811-9c0fc84dd6ae/output/60a02f6b-3163-4144-9075-758391c34c1b.png",
"url": "https://static.sandbase.ai/examples/ea2bcfa8-a03d-4dda-a811-9c0fc84dd6ae/output/8a5e80d9-2996-4faa-949f-333ba412157e.glb"
}
]Questo modello è disponibile anche tramite la API v3 di Tripo. I corpi delle richieste, gli oggetti task e i codici di errore seguono Tripo, quindi il codice Tripo esistente funziona dopo aver cambiato l'URL base in https://api.sandbase.ai/tripo/v3 e inviato una SandBase API key come Authorization: Bearer. Le richieste vengono eseguite sul canale ufficiale di Tripo allo stesso prezzo di /v1/run.
POST https://api.sandbase.ai/tripo/v3/generation/multiview-to-model con "model": "v3.1-20260211". L'esempio di richiesta sopra, nella sezione API Tripo v3, mostra una chiamata completa.
Tripo assegna a questi input nomi diversi rispetto allo Schema qui sotto. Tutti gli altri campi mantengono il proprio nome.
| Campo dello schema | Campo Tripo |
|---|---|
images | inputs |
seed | model_seed |
Gli input sono URL pubblici, come stringa o come oggetto con un campo url. Gli id task di Tripo e i valori file_token non sono ancora accettati, il caricamento dei file non è disponibile e webhook_url viene ignorato.
L'invio restituisce data.task_id. Esegui il polling finché data.status non è success, failed o cancelled. In caso di successo, data.output usa i nomi dei campi di Tripo, come model_url, e credits_consumed è l'addebito SandBase a 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 con {"task_ids": [...]} restituisce fino a 100 task. GET /tripo/v3/account/balance restituisce il tuo saldo SandBase in crediti.
Gli errori usano l'envelope di Tripo: {"code": 1004, "status": "error", "message": "..."}.
| code | Significato |
|---|---|
2 / 1002 | SandBase API key mancante, non valida o non autorizzata |
1003 | Il corpo non è un oggetto JSON |
1004 | Parametro mancante o non valido. Il messaggio indica il campo Tripo |
1007 / 2000 | Limite di richieste o di concorrenza raggiunto |
2001 | Task non trovato, o creato con un'altra API key |
2002 | Endpoint o funzionalità non supportati su SandBase |
2010 | Saldo SandBase insufficiente o limite di spesa della API key raggiunto |
4001 | Endpoint sconosciuto |
Quando Tripo rifiuta o fallisce un task, questo termina come failed con error_code e error_message di Tripo. I codici relativi alla tua richiesta o al contenuto vengono trasmessi invariati; i codici relativi all'account Tripo a monte sono riportati come 1000.