pbrboolean
PBR material maps (base color, metallic, roughness, normal). true also turns texture on.
Default: true
tripo3d/tripo-h3.0/image-to-3dTripo H3.0 Image to 3D by Tripo3D: turn one image into a textured 3D model.
Coba model ini
PNG, JPEG, WebP, atau GIF · maksimum 20 MiB
Output Anda akan muncul di sini
Lengkapi input, lalu klik Run.
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 |
|---|---|---|---|
image | string, required | — | Input image URL (PNG, JPEG or WebP, up to 20 MB). |
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). |
enable_image_autofix | boolean | false | Enhance the input image before generation. |
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. |
Mulai membangun
Pilih salah satu API yang didukung dengan autentikasi dan pelacakan penggunaan terpadu.
# 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/image-to-3d",
"pbr": true,
"quad": false,
"image": "https://static.sandbase.ai/examples/tripo3d/tripo-h3.1/image-to-3d/input_image_0.png",
"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",
"enable_image_autofix": false
}
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"Buat SandBase API key dan atur di environment server Anda. Semua permintaan menggunakan autentikasi Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Simpan key di server. Jangan tampilkan di kode browser atau commit ke repository.
POST ke /v1/run dengan ID model ini dan inputnya. Contoh permintaan di atas mencakup pengiriman dan polling.
Gunakan run ID yang dikembalikan untuk polling sampai status completed, failed, atau timeout. Baca output hanya setelah completed.
curl "https://api.sandbase.ai/v1/run/$RUN_ID" \
-H "Authorization: Bearer $SANDBASE_API_KEY"Kirim URL file yang dapat diakses publik di field image, video, atau audio model. Format dan batas yang didukung ditampilkan di samping setiap input Playground.
Gunakan kontrol upload atau replace pada field gambar yang didukung di Playground. Field URL video menerima video driving yang di-host; ini tidak berarti dukungan upload video.
pbrbooleanPBR material maps (base color, metallic, roughness, normal). true also turns texture on.
Default: true
quadbooleanQuad topology instead of triangles. Output becomes FBX; 10,000 faces when face_limit is unset.
Default: false
seedintegerSeed for geometry generation (Tripo model_seed). Same seed and input give the same mesh.
imagestringwajibInput image URL (PNG, JPEG or WebP, up to 20 MB).
delightbooleanRemove baked-in lighting from the reference image before texturing (texture v3.5).
Default: false
texturebooleanGenerate textures. Set texture and pbr to false for bare geometry (cheaper).
Default: true
compressstringgeometry applies meshopt compression to reduce file size.
Nilai yang mungkin: "geometry"
auto_sizebooleanScale the model to real-world size in meters.
Default: false
export_uvbooleanUV-unwrap during generation. false is faster and smaller; UVs are then made during texturing.
Default: 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.
Maksimum: 2000000
orientationstringalign_image rotates the model to match the input image (needs texture).
Default: "default"
Nilai yang mungkin: "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.
Default: false
smart_low_polybooleanHand-crafted style low-poly topology (500-20,000 faces). Best for simple objects; billed as an add-on.
Default: false
texture_qualitystringfast and standard cost the same; detailed (HD) and extreme (8K) are add-ons.
Default: "standard"
Nilai yang mungkin: "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.
Nilai yang mungkin: "v3.5-20260815", "v3.0-20250812", "v2.5-20250123"
geometry_qualitystringdetailed (Ultra) adds mesh detail and is billed as an add-on.
Default: "standard"
Nilai yang mungkin: "standard", "detailed"
texture_alignmentstringoriginal_image keeps textures close to the input image; geometry favors the mesh.
Default: "original_image"
Nilai yang mungkin: "original_image", "geometry"
export_orientationstringForward axis of the exported model. Leave unset if you will post-process the model.
Nilai yang mungkin: "+x", "-x", "+y", "-y"
enable_image_autofixbooleanEnhance the input image before generation.
Default: false
{
"model": "tripo3d/tripo-h3.0/image-to-3d",
"pbr": true,
"quad": false,
"image": "https://static.sandbase.ai/examples/tripo3d/tripo-h3.1/image-to-3d/input_image_0.png",
"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",
"enable_image_autofix": false
}Run yang selesai menampilkan hasilnya di output. Berikut adalah contoh tersimpan model ini, bukan generasi baru.
Belum ada contoh output yang dipublikasikan. Gunakan Playground → Result → JSON setelah run selesai untuk melihat respons Anda.
Model ini juga tersedia di Tripo v3 API. Body request, objek tugas, dan kode error mengikuti Tripo, jadi kode Tripo yang sudah ada akan berfungsi setelah Anda mengubah base URL ke https://api.sandbase.ai/tripo/v3 dan mengirim API key SandBase sebagai Authorization: Bearer. Request berjalan di kanal resmi Tripo dengan harga yang sama seperti /v1/run.
POST https://api.sandbase.ai/tripo/v3/generation/image-to-model dengan "model": "v3.0-20250812". Contoh request di atas pada bagian Tripo v3 API menunjukkan panggilan lengkap.
Tripo menamai input ini berbeda dari Skema di bawah. Semua field lainnya tetap sama.
| Field skema | Field Tripo |
|---|---|
image | input |
seed | model_seed |
Input berupa URL publik, sebagai string atau objek dengan field url. ID tugas Tripo dan nilai file_token belum didukung, upload file tidak tersedia, dan webhook_url diabaikan.
Pengiriman akan mengembalikan data.task_id. Polling sampai data.status menjadi success, failed, atau cancelled. Saat berhasil, data.output menggunakan nama field Tripo seperti model_url, dan credits_consumed adalah biaya SandBase dengan 1 kredit = $0.01.
curl "https://api.sandbase.ai/tripo/v3/tasks/$TASK_ID" \
-H "Authorization: Bearer $SANDBASE_API_KEY"POST /tripo/v3/tasks/list dengan {"task_ids": [...]} mengembalikan hingga 100 tugas. GET /tripo/v3/account/balance mengembalikan saldo SandBase Anda dalam kredit.
Error menggunakan envelope Tripo: {"code": 1004, "status": "error", "message": "..."}.
| code | Arti |
|---|---|
2 / 1002 | API key SandBase tidak ada, tidak valid, atau tidak berwenang |
1003 | Body bukan objek JSON |
1004 | Parameter hilang atau tidak valid. Pesan menamai field Tripo |
1007 / 2000 | Batas rate atau batas konkurensi tercapai |
2001 | Tugas tidak ditemukan, atau dibuat dengan API key lain |
2002 | Endpoint atau fitur tidak didukung di SandBase |
2010 | Saldo SandBase tidak mencukupi atau batas pengeluaran API key tercapai |
4001 | Endpoint tidak dikenal |
Saat Tripo menolak atau gagal memproses tugas, status akhirnya menjadi failed dengan error_code dan error_message dari Tripo. Kode yang terkait permintaan atau konten Anda diteruskan tanpa perubahan; kode yang terkait akun Tripo upstream dilaporkan sebagai 1000.