pbrboolean
PBR material maps (base color, metallic, roughness, normal). true also turns texture on.
По умолчанию: true
tripo3d/tripo-h3.0/text-to-3dTripo H3.0 Text to 3D by Tripo3D: turn a text prompt into a textured 3D model.
Попробовать модель
Ваш результат появится здесь
Заполните входные данные, затем нажмите «Запустить».
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 |
|---|---|---|---|
prompt | string, required | — | Describe shape, material, style and scale. Up to 1,024 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,000,000; up to 150,000 with 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. |
Начните разработку
Выберите любой поддерживаемый 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/text-to-3d",
"pbr": true,
"quad": false,
"prompt": "A low-poly medieval wooden treasure chest with iron hinges and a rusty lock.",
"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"Создайте ключ SandBase API и задайте его в окружении сервера. Все запросы используют аутентификацию Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Храните ключ на сервере. Не раскрывайте его в коде браузера и не коммитьте в репозиторий.
Отправьте POST на /v1/run с этим ID модели и её входными данными. Пример запроса выше включает отправку и опрос.
Используйте возвращённый ID запуска, чтобы опрашивать статус до завершения, ошибки или таймаута. Читайте вывод только после завершения.
curl "https://api.sandbase.ai/v1/run/$RUN_ID" \
-H "Authorization: Bearer $SANDBASE_API_KEY"Передайте публично доступный URL файла в поле image, video или audio модели. Поддерживаемые форматы и лимиты показаны рядом с каждым полем Playground.
Используйте управление загрузкой или заменой в поддерживаемых полях изображений в Playground. Поля URL видео принимают размещённое видео для вождения; это не означает поддержку загрузки видео.
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.
promptstringобязательноDescribe shape, material, style and scale. Up to 1,024 characters.
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
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.
По умолчанию: false
smart_low_polybooleanHand-crafted style low-poly topology (500-20,000 faces). Best for simple objects; billed as an add-on.
По умолчанию: 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"
Возможные значения: "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"
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/text-to-3d",
"pbr": true,
"quad": false,
"prompt": "A low-poly medieval wooden treasure chest with iron hinges and a rusty lock.",
"delight": false,
"texture": true,
"auto_size": false,
"export_uv": true,
"generate_parts": false,
"smart_low_poly": false,
"texture_quality": "standard",
"geometry_quality": "standard"
}В завершённом запуске результат доступен в output. Ниже приведён сохранённый пример модели, а не новая генерация.
Пример вывода ещё не опубликован. После завершённого запуска откройте Playground → Result → JSON, чтобы посмотреть ответ.
Эта модель также доступна через Tripo v3 API. Тела запросов, объекты задач и коды ошибок соответствуют Tripo, поэтому существующий код Tripo будет работать после изменения базового URL на https://api.sandbase.ai/tripo/v3 и передачи ключа SandBase API как Authorization: Bearer. Запросы выполняются через официальный канал Tripo по той же цене, что и /v1/run.
POST https://api.sandbase.ai/tripo/v3/generation/text-to-model с "model": "v3.0-20250812". В примере запроса выше в разделе API Tripo v3 показан полный вызов.
Tripo называет эти входные данные иначе, чем Schema ниже. Все остальные поля сохраняют свои имена.
| Поле схемы | Поле Tripo |
|---|---|
seed | model_seed |
Входные данные — это публичные URL, в виде строки или объекта с полем url. Идентификаторы задач Tripo и значения file_token пока не поддерживаются, загрузка файлов недоступна, а webhook_url игнорируется.
Отправка возвращает data.task_id. Выполняйте опрос, пока data.status не станет success, failed или cancelled. При успехе data.output использует имена полей Tripo, например model_url, а credits_consumed — это списание SandBase из расчета 1 кредит = $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 в кредитах.
Ошибки используют формат обертки Tripo: {"code": 1004, "status": "error", "message": "..."}.
| code | Значение |
|---|---|
2 / 1002 | Отсутствует, недействителен или не авторизован ключ SandBase API |
1003 | Тело запроса не является JSON-объектом |
1004 | Отсутствует или недействительный параметр. В сообщении указано имя поля Tripo |
1007 / 2000 | Достигнут лимит запросов или лимит параллельных операций |
2001 | Задача не найдена или создана с другим ключом API |
2002 | Endpoint или функция не поддерживаются в SandBase |
2010 | Недостаточно баланса SandBase или достигнут лимит расходов ключа API |
4001 | Неизвестный endpoint |
Когда Tripo отклоняет задачу или она завершается с ошибкой, она переходит в состояние failed с error_code и error_message Tripo. Коды, относящиеся к вашему запросу или контенту, передаются без изменений; коды, относящиеся к upstream-аккаунту Tripo, отображаются как 1000.