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
예시를 선택하면 입력값과 결과가 플레이그라운드에 로드됩니다.
{
"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"키는 서버에 보관하세요. 브라우저 코드에 노출하거나 저장소에 커밋하지 마세요.
이 모델 ID와 입력값을 사용해 /v1/run로 POST하세요. 위의 요청 예시에는 제출과 폴링이 포함되어 있습니다.
반환된 실행 ID를 사용해 상태가 completed, failed 또는 timeout이 될 때까지 폴링하세요. completed 이후에만 출력을 읽으세요.
curl "https://api.sandbase.ai/v1/run/$RUN_ID" \
-H "Authorization: Bearer $SANDBASE_API_KEY"모델의 이미지, 비디오 또는 오디오 필드에 공개적으로 접근 가능한 파일 URL을 전달하세요. 지원 형식과 제한은 각 Playground 입력 옆에 표시됩니다.
Playground의 지원되는 이미지 필드에서 업로드 또는 교체 컨트롤을 사용하세요. 비디오 URL 필드는 호스팅된 driving video를 받으며, 비디오 업로드 지원을 의미하지는 않습니다.
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"
}완료된 실행의 결과는 출력에 표시됩니다. 아래 내용은 새 생성 결과가 아니라 모델에 저장된 예시입니다.
[
{
"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를 따르므로, 기본 URL을 https://api.sandbase.ai/tripo/v3로 변경하고 SandBase API 키를 Authorization: Bearer로 보내면 기존 Tripo 코드를 그대로 사용할 수 있습니다. 요청은 /v1/run과 같은 가격으로 Tripo의 공식 채널에서 실행됩니다.
POST https://api.sandbase.ai/tripo/v3/generation/multiview-to-model와 "model": "v2.5-20250123". 위의 Tripo v3 API 요청 예시는 전체 호출을 보여줍니다.
Tripo는 아래 Schema와 다르게 이 입력들의 이름을 지정합니다. 나머지 모든 필드는 이름이 그대로 유지됩니다.
| Schema 필드 | Tripo 필드 |
|---|---|
image | inputs[0] |
left_image | inputs[1] |
back_image | inputs[2] |
right_image | inputs[3] |
seed | model_seed |
입력은 공개 URL이며, 문자열 또는 url 필드가 있는 객체로 전달합니다. Tripo task id와 file_token 값은 아직 지원되지 않으며, 파일 업로드는 사용할 수 없고, webhook_url은 무시됩니다.
제출하면 data.task_id가 반환됩니다. data.status가 success, failed 또는 cancelled가 될 때까지 폴링하세요. 성공 시 data.output은 model_url 같은 Tripo 필드 이름을 사용하며, credits_consumed는 1 credit = $0.01 기준의 SandBase 요금입니다.
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 잔액을 credit 단위로 반환합니다.
오류는 Tripo의 envelope를 사용합니다: {"code": 1004, "status": "error", "message": "..."}.
| code | 의미 |
|---|---|
2 / 1002 | SandBase API 키가 없거나, 유효하지 않거나, 권한이 없습니다 |
1003 | 본문이 JSON 객체가 아닙니다 |
1004 | 필수 파라미터가 없거나 유효하지 않습니다. 메시지에는 Tripo 필드명이 표시됩니다 |
1007 / 2000 | 속도 제한 또는 동시 실행 제한에 도달했습니다 |
2001 | 작업을 찾을 수 없거나, 다른 API 키로 생성되었습니다 |
2002 | SandBase에서 지원하지 않는 엔드포인트 또는 기능입니다 |
2010 | SandBase 잔액이 부족하거나 API 키 지출 한도에 도달했습니다 |
4001 | 알 수 없는 엔드포인트 |
Tripo가 작업을 거부하거나 실패하면 failed로 종료되며, Tripo의 error_code와 error_message가 함께 반환됩니다. 요청이나 콘텐츠에 관한 코드는 그대로 전달되고, 상위 Tripo 계정에 관한 코드는 1000으로 보고됩니다.