pbrboolean
PBR material maps (base color, metallic, roughness, normal). true also turns texture on.
기본값: false
tripo3d/tripo-p1/multiview-to-3dTripo P1 Multiview to 3D by Tripo3D: build a textured 3D model from 2 to 4 views of the same object.
모델 사용해 보기
PNG, JPEG, WebP, or GIF · 20 MiB maximum each · up to 4
출력이 여기에 표시됩니다
입력을 완료한 다음 Run을 클릭하세요.
Tripo P1 (P1-20260311) produces clean low-poly meshes (50–20,000 faces).
| Field | Type | Default | Notes |
|---|---|---|---|
images | array, required | — | 2 to 4 images of the same object, in the order front, left, back, right. Front is required. |
texture | boolean | true | Generate textures. Set texture and pbr to false for bare geometry (cheaper). |
pbr | boolean | false | 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. |
face_limit | integer 50–20000 | — | Maximum face count (50-20,000). 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). |
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. |
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.50 textured (standard or fast texture), $0.40 untextured (texture and pbr false).
| Add-on | Price |
|---|---|
| texture_quality = detailed | +$0.10 |
| texture_quality = extreme | +$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-p1/multiview-to-3d",
"pbr": false,
"images": [
[
"https://static.sandbase.ai/examples/tripo3d/tripo/shared/front.jpg",
"https://static.sandbase.ai/examples/tripo3d/tripo/shared/left.jpg",
"https://static.sandbase.ai/examples/tripo3d/tripo/shared/back.jpg",
"https://static.sandbase.ai/examples/tripo3d/tripo/shared/right.jpg"
]
],
"delight": false,
"texture": true,
"auto_size": false,
"export_uv": true,
"orientation": "default",
"texture_quality": "standard",
"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를 받으며, 비디오 업로드 지원을 의미하지는 않습니다.
pbrbooleanPBR material maps (base color, metallic, roughness, normal). true also turns texture on.
기본값: false
seedintegerSeed for geometry generation (Tripo model_seed). Same seed and input give the same mesh.
imagesarray필수2 to 4 images of the same object, in the order front, left, back, right. Front is required.
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
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 (50-20,000). Adaptive when unset.
최소값: 50
최대값: 20000
orientationstringalign_image rotates the model to match the input image (needs texture).
기본값: "default"
가능한 값: "default", "align_image"
texture_seedintegerSeed for texture generation. Keep seed and change texture_seed for new textures on the same geometry.
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"
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-p1/multiview-to-3d",
"pbr": false,
"images": [
[
"https://static.sandbase.ai/examples/tripo3d/tripo/shared/front.jpg",
"https://static.sandbase.ai/examples/tripo3d/tripo/shared/left.jpg",
"https://static.sandbase.ai/examples/tripo3d/tripo/shared/back.jpg",
"https://static.sandbase.ai/examples/tripo3d/tripo/shared/right.jpg"
]
],
"delight": false,
"texture": true,
"auto_size": false,
"export_uv": true,
"orientation": "default",
"texture_quality": "standard",
"texture_alignment": "original_image"
}완료된 실행의 결과는 출력에 표시됩니다. 아래 내용은 새 생성 결과가 아니라 모델에 저장된 예시입니다.
예시 출력이 아직 게시되지 않았습니다. 완료된 실행 후 Playground → Result → JSON에서 응답을 확인하세요.
이 모델은 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": "P1-20260311". 위의 Tripo v3 API 요청 예시는 전체 호출을 보여줍니다.
Tripo는 아래 Schema와 다르게 이 입력들의 이름을 지정합니다. 나머지 모든 필드는 이름이 그대로 유지됩니다.
| Schema 필드 | Tripo 필드 |
|---|---|
images | inputs |
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으로 보고됩니다.