pbrboolean
PBR material maps (base color, metallic, roughness, normal). true also turns texture on.
Standard: true
tripo3d/tripo-h3.1/text-to-3dTripo H3.1 is Tripo3D's text-to-3D AI model. Turn written descriptions into textured 3D objects with realistic geometry and materials.
Modell testen
Was möchten Sie als Nächstes tun?
Wählen Sie ein Beispiel aus, um seine Eingaben und das Ergebnis in den Playground zu laden.
{
"prompt": "A medieval wooden catapult with iron fittings and a stone in the basket"
}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 |
|---|---|---|---|
prompt | string, required | — | Text description of the 3D object to generate. Maximum 1024 characters. |
negative_prompt | string | — | What to avoid, up to 255 characters. |
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. |
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. |
image_seed | integer | — | Seed for the internal text-to-image step. |
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.generated_image: Reference image Tripo generated from the prompt.$0.20 textured (standard or fast texture), $0.10 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. |
Jetzt loslegen
Wählen Sie eine der unterstützten APIs mit einheitlicher Authentifizierung und Nutzungsnachverfolgung.
# 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/text-to-3d",
"pbr": true,
"quad": false,
"prompt": "A small house with a red roof and white walls",
"delight": false,
"texture": true,
"auto_size": false,
"export_uv": true,
"generate_parts": false,
"smart_low_poly": false,
"texture_quality": "standard",
"geometry_quality": "standard"
}
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"Erstellen Sie einen SandBase API-Schlüssel und legen Sie ihn in Ihrer Serverumgebung fest. Alle Anfragen verwenden Bearer-Authentifizierung.
export SANDBASE_API_KEY="YOUR_API_KEY"Bewahren Sie den Schlüssel auf dem Server auf. Geben Sie ihn nicht in Browser-Code preis und committen Sie ihn nicht in ein Repository.
POST an /v1/run mit dieser Modell-ID und ihren Eingaben. Das obige Anfragebeispiel umfasst Übermittlung und Polling.
Verwenden Sie die zurückgegebene Run-ID zum Polling, bis der Status completed, failed oder timeout ist. Lesen Sie die Ausgabe erst nach completed.
curl "https://api.sandbase.ai/v1/run/$RUN_ID" \
-H "Authorization: Bearer $SANDBASE_API_KEY"Übergeben Sie eine öffentlich zugängliche Date-URL im Bild-, Video- oder Audiofeld des Modells. Unterstützte Formate und Limits werden neben jedem Playground-Eingabefeld angezeigt.
Verwenden Sie im Playground bei unterstützten Bildfeldern die Steuerung zum Hochladen oder Ersetzen. Video-URL-Felder akzeptieren ein gehostetes Fahrvideo; sie implizieren keine Unterstützung für Video-Uploads.
pbrbooleanPBR material maps (base color, metallic, roughness, normal). true also turns texture on.
Standard: true
quadbooleanQuad topology instead of triangles. Output becomes FBX; 10,000 faces when face_limit is unset.
Standard: false
seedintegerSeed for geometry generation (Tripo model_seed). Same seed and input give the same mesh.
promptstringerforderlichText description of the 3D object to generate. Maximum 1024 characters.
delightbooleanRemove baked-in lighting from the reference image before texturing (texture v3.5).
Standard: false
texturebooleanGenerate textures. Set texture and pbr to false for bare geometry (cheaper).
Standard: true
compressstringgeometry applies meshopt compression to reduce file size.
Mögliche Werte: "geometry"
auto_sizebooleanScale the model to real-world size in meters.
Standard: false
export_uvbooleanUV-unwrap during generation. false is faster and smaller; UVs are then made during texturing.
Standard: 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.
Maximum: 2000000
image_seedintegerSeed for the internal text-to-image step.
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.
Standard: false
smart_low_polybooleanHand-crafted style low-poly topology (500-20,000 faces). Best for simple objects; billed as an add-on.
Standard: false
negative_promptstringWhat to avoid, up to 255 characters.
texture_qualitystringfast and standard cost the same; detailed (HD) and extreme (8K) are add-ons.
Standard: "standard"
Mögliche Werte: "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.
Mögliche Werte: "v3.5-20260815", "v3.0-20250812", "v2.5-20250123"
geometry_qualitystringdetailed (Ultra) adds mesh detail and is billed as an add-on.
Standard: "standard"
Mögliche Werte: "standard", "detailed"
export_orientationstringForward axis of the exported model. Leave unset if you will post-process the model.
Mögliche Werte: "+x", "-x", "+y", "-y"
{
"model": "tripo3d/tripo-h3.1/text-to-3d",
"pbr": true,
"quad": false,
"prompt": "A small house with a red roof and white walls",
"delight": false,
"texture": true,
"auto_size": false,
"export_uv": true,
"generate_parts": false,
"smart_low_poly": false,
"texture_quality": "standard",
"geometry_quality": "standard"
}Ein abgeschlossener Run stellt sein Ergebnis in der Ausgabe bereit. Das Folgende ist das gespeicherte Beispiel des Modells, keine neue Generierung.
[
{
"poster": "https://static.sandbase.ai/examples/6e50ceac-bf0e-479c-9121-66e2c1ca0f45/output/23194dcf-21fa-4462-a1a7-b706540be775.png",
"thumbnail": "https://static.sandbase.ai/examples/6e50ceac-bf0e-479c-9121-66e2c1ca0f45/output/23194dcf-21fa-4462-a1a7-b706540be775.png",
"url": "https://static.sandbase.ai/examples/6e50ceac-bf0e-479c-9121-66e2c1ca0f45/output/4172f97c-8214-4aa5-97f4-a82b3081bb92.glb"
}
]Dieses Modell wird auch über Tripos v3 API bereitgestellt. Request-Bodies, Task-Objekte und Fehlercodes folgen Tripo, sodass vorhandener Tripo-Code funktioniert, nachdem Sie die Base-URL auf https://api.sandbase.ai/tripo/v3 geändert und einen SandBase API-Schlüssel als Authorization: Bearer gesendet haben. Anfragen laufen im offiziellen Kanal von Tripo zum gleichen Preis wie /v1/run.
POST https://api.sandbase.ai/tripo/v3/generation/text-to-model mit "model": "v3.1-20260211". Das obige Anfragebeispiel unter Tripo v3 API zeigt einen vollständigen Aufruf.
Tripo benennt diese Eingaben anders als das folgende Schema. Alle anderen Felder behalten ihren Namen.
| Schema-Feld | Tripo-Feld |
|---|---|
seed | model_seed |
Eingaben sind öffentliche URLs, entweder als String oder als Objekt mit einem url-Feld. Tripo-Task-IDs und file_token-Werte werden noch nicht akzeptiert, Datei-Uploads sind nicht verfügbar und webhook_url wird ignoriert.
Die Übermittlung gibt data.task_id zurück. Pollen Sie, bis data.status success, failed oder cancelled ist. Bei Erfolg verwendet data.output Tripo-Feldnamen wie model_url, und credits_consumed ist die SandBase-Gebühr bei 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 mit {"task_ids": [...]} gibt bis zu 100 Tasks zurück. GET /tripo/v3/account/balance gibt Ihr SandBase-Guthaben in Credits zurück.
Fehler verwenden den Tripo-Envelope: {"code": 1004, "status": "error", "message": "..."}.
| code | Bedeutung |
|---|---|
2 / 1002 | Fehlender, ungültiger oder nicht autorisierter SandBase API-Schlüssel |
1003 | Der Body ist kein JSON-Objekt |
1004 | Fehlender oder ungültiger Parameter. Die Meldung nennt das Tripo-Feld |
1007 / 2000 | Ratenlimit oder Parallelitätslimit erreicht |
2001 | Task nicht gefunden oder mit einem anderen API-Schlüssel erstellt |
2002 | Endpunkt oder Funktion auf SandBase nicht unterstützt |
2010 | Unzureichendes SandBase-Guthaben oder Ausgabenlimit des API-Schlüssels erreicht |
4001 | Unbekannter Endpunkt |
Wenn Tripo einen Task ablehnt oder er fehlschlägt, endet er als failed mit Tripos error_code und error_message. Codes zu Ihrer Anfrage oder Ihrem Inhalt werden unverändert weitergegeben; Codes zum Upstream-Tripo-Konto werden als 1000 gemeldet.