pbrboolean
Generate PBR materials.
По умолчанию: false
tripo3d/tripo-v2.5/multiview-to-3dTripo v2.5 by Tripo3D reconstructs a textured 3D mesh from a front view plus optional left, back and right views of the same object.
Попробовать модель
PNG, JPEG, WebP или GIF · максимум 20 MiB
PNG, JPEG, WebP или GIF · максимум 20 MiB
PNG, JPEG, WebP или GIF · максимум 20 MiB
PNG, JPEG, WebP или GIF · максимум 20 MiB

Что вы хотите сделать дальше?
Выберите пример, чтобы загрузить его входные данные и результат в playground.
{
"back_image": "https://static.sandbase.ai/examples/63b09ac5-1238-4faa-abc7-8a23a30b586e/input/85d48a9b-54ca-41bb-89d6-557a1a551598.png",
"image": "https://static.sandbase.ai/examples/63b09ac5-1238-4faa-abc7-8a23a30b586e/input/0d0f81a1-5f3f-4370-9588-c67939c2d60c.png",
"left_image": "https://static.sandbase.ai/examples/63b09ac5-1238-4faa-abc7-8a23a30b586e/input/6af06d30-3fff-4bb0-9a21-e30df6807dfa.png"
}Tripo v2.5 by Tripo3D reconstructs a textured 3D mesh from a front view plus optional left, back and right views of the same object.
| Field | Type | Default | Notes |
|---|---|---|---|
image | string, required | — | Front view image URL. |
left_image | string | — | Optional left view image URL. |
back_image | string, required | — | Back view image URL. Front and back views are both required. |
right_image | string | — | Optional right view image URL. |
texture | no / standard / HD | standard | Texture quality: no (untextured), standard, or HD. |
pbr | boolean | false | Generate PBR materials. |
quad | boolean | false | Generate quad mesh topology (billed as an add-on). |
face_limit | integer 1000–500000 | — | Maximum face count (1,000-500,000). Adaptive when unset. |
orientation | default / align_image | default | Set to align_image to rotate the model to match the input image. |
seed | integer | — | Seed for reproducible geometry generation. |
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 | — | Accepted for compatibility with Tripo: v2.5 geometry is always textured with v2.5-20250123, whatever this field says. |
delight | boolean | false | Accepted for compatibility with Tripo; only the v3.5 texture model reads it, so it has no effect on v2.5. |
export_orientation | +x / -x / +y / -y | — | Forward axis of the exported model. Leave unset if you will post-process the model. |
export_uv | boolean | true | UV-unwrap during generation. false is faster and smaller; UVs are then made during texturing. |
texture_alignment | original_image / geometry | original_image | original_image keeps textures close to the input image; geometry favors the mesh. |
url: 3D model (GLB; FBX when quad is on).thumbnail: Preview render.$0.30 textured, $0.20 untextured (texture = no and pbr off).
| Add-on | Price |
|---|---|
| texture = HD | +$0.10 |
| quad | +$0.05 |
| 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-v2.5/multiview-to-3d",
"pbr": false,
"quad": false,
"image": "https://static.sandbase.ai/examples/tripo3d/tripo/shared/front.jpg",
"delight": false,
"texture": "standard",
"export_uv": true,
"back_image": "https://static.sandbase.ai/examples/tripo3d/tripo/shared/back.jpg",
"left_image": "https://static.sandbase.ai/examples/tripo3d/tripo/shared/left.jpg",
"orientation": "default",
"right_image": "https://static.sandbase.ai/examples/tripo3d/tripo/shared/right.jpg",
"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"Храните ключ на сервере. Не раскрывайте его в коде браузера и не коммитьте в репозиторий.
Отправьте 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 видео принимают размещённое видео для вождения; это не означает поддержку загрузки видео.
pbrbooleanGenerate PBR materials.
По умолчанию: false
quadbooleanGenerate quad mesh topology (billed as an add-on).
По умолчанию: false
seedintegerSeed for reproducible geometry generation.
imagestringобязательноFront view image URL.
delightbooleanAccepted for compatibility with Tripo; only the v3.5 texture model reads it, so it has no effect on v2.5.
По умолчанию: false
texturestringTexture quality: no (untextured), standard, or HD.
По умолчанию: "standard"
Возможные значения: "no", "standard", "HD"
export_uvbooleanUV-unwrap during generation. false is faster and smaller; UVs are then made during texturing.
По умолчанию: true
back_imagestringобязательноBack view image URL. Front and back views are both required.
face_limitintegerMaximum face count (1,000-500,000). Adaptive when unset.
Минимум: 1000
Максимум: 500000
left_imagestringOptional left view image URL.
orientationstringSet to align_image to rotate the model to match the input image.
По умолчанию: "default"
Возможные значения: "default", "align_image"
right_imagestringOptional right view image URL.
texture_seedintegerSeed for texture generation. Keep seed and change texture_seed for new textures on the same geometry.
texture_versionstringAccepted for compatibility with Tripo: v2.5 geometry is always textured with v2.5-20250123, whatever this field says.
Возможные значения: "v3.5-20260815", "v3.0-20250812", "v2.5-20250123"
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-v2.5/multiview-to-3d",
"pbr": false,
"quad": false,
"image": "https://static.sandbase.ai/examples/tripo3d/tripo/shared/front.jpg",
"delight": false,
"texture": "standard",
"export_uv": true,
"back_image": "https://static.sandbase.ai/examples/tripo3d/tripo/shared/back.jpg",
"left_image": "https://static.sandbase.ai/examples/tripo3d/tripo/shared/left.jpg",
"orientation": "default",
"right_image": "https://static.sandbase.ai/examples/tripo3d/tripo/shared/right.jpg",
"texture_alignment": "original_image"
}В завершённом запуске результат доступен в output. Ниже приведён сохранённый пример модели, а не новая генерация.
[
{
"poster": "https://static.sandbase.ai/examples/63b09ac5-1238-4faa-abc7-8a23a30b586e/output/37d0d45f-a4d9-46bd-8fe0-d40dfe9a087b.webp",
"thumbnail": "https://static.sandbase.ai/examples/63b09ac5-1238-4faa-abc7-8a23a30b586e/output/37d0d45f-a4d9-46bd-8fe0-d40dfe9a087b.webp",
"url": "https://static.sandbase.ai/examples/63b09ac5-1238-4faa-abc7-8a23a30b586e/output/2ac03911-2117-4201-bb63-462d4b543771.glb"
}
]Эта модель также доступна через 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/multiview-to-model с "model": "v2.5-20250123". В примере запроса выше в разделе API Tripo v3 показан полный вызов.
Tripo называет эти входные данные иначе, чем Schema ниже. Все остальные поля сохраняют свои имена.
| Поле схемы | Поле Tripo |
|---|---|
image | inputs[0] |
left_image | inputs[1] |
back_image | inputs[2] |
right_image | inputs[3] |
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.