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してください。上のリクエスト例には送信とポーリングが含まれています。
返されたrun IDを使って、ステータスがcompleted、failed、timeoutになるまでポーリングしてください。出力はcompleted後にのみ読み取ってください。
curl "https://api.sandbase.ai/v1/run/$RUN_ID" \
-H "Authorization: Bearer $SANDBASE_API_KEY"モデルのimage、video、またはaudioフィールドに、公開アクセス可能なファイルURLを指定してください。対応形式と制限は各Playground入力の横に表示されます。
Playgroundの対応する画像フィールドでアップロードまたは置換を使用してください。video 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"
}完了したrunの結果は出力に表示されます。以下はモデルに保存されたサンプルであり、新規生成ではありません。
[
{
"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 コードをそのまま使えます。リクエストは Tripo の公式チャネルで実行され、/v1/run と同じ価格です。
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"{"task_ids": [...]} を伴う POST /tripo/v3/tasks/list は最大 100 件のタスクを返します。GET /tripo/v3/account/balance は SandBase の残高を credits で返します。
エラーは Tripo のエンベロープを使用します:{"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 として報告されます。