Tripo 3D Tools API リファレンス
完成した3Dモデルのリギング、アニメーション、リテクスチャ、GLB・FBX・STLへの変換
PopNow の API キー 1 つで、Tripo 3D Tools を自分のコードから呼び出せます。送るモデル ID、受け付ける入力フィールド、1 回あたりの料金(USD)、ターミナルに貼ってそのまま動くリクエストをこのページにまとめました。
パラメーターの説明はモデルの入力 schema から取っているため、英語のみです。
概要
- 開発元
- Tripo
- 出力
- 画像
- 最安
- $0.072 USD 1 リクエストあたり
料金は USD で表示され、PopNow の残高から差し引かれます。受付時に最大料金を確保し、完了後に実際の使用量で精算して差額を返却します。失敗したタスクは課金されません。実行前の正確な見積もりは POST /api/v1/jobs/quote で取得できます。
3Dアニメーション
tripo/tools/animate
料金
| オプション | USD |
|---|---|
既定 | $0.504 1 リクエストあたり |
パラメーター
| フィールド | 型 | 既定値 | 指定できる値 | 説明 |
|---|---|---|---|---|
mesh_url必須 | string | — | — | The 3D character to animate: a GLB, binary FBX, OBJ or STL file up to 90 MB. It does not need a skeleton; one is added in the same run. |
animations必須 | array<object> | — | 5 件まで | One to five preset motions, one per row. Each becomes a named clip in the file and adds to the price. |
rig_type任意 | string | auto | auto, biped, quadruped, hexapod, octopod, avian, serpentine, aquatic, others | Skeleton type. auto picks one from the shape; choose another for animals and creatures. Does not change the price. |
bone_naming任意 | string | tripo | tripo, mixamo, actorcore, unity, unreal, vrm | Bone naming convention for biped skeletons (Tripo, Mixamo, ActorCore, Unity, Unreal or VRM). Does not change the price. |
output_format任意 | string | glb | glb, fbx | File format of the result: glb for browsers and web engines, fbx for animation software. Does not change the price. |
in_place任意 | boolean | false | — | Play the motions on the spot, without forward movement (no root motion). Does not change the price. |
リクエスト例
このリクエストはそのまま実行できます。省略したフィールドには既定値が入ります。先にキーを環境変数 POPNOW_API_KEY に設定してください。
例の mesh_url には PopNow のサンプル素材を使っています。自分の公開 HTTPS リンク、アップロードしたファイル、保存済みアセットに置き換えてください。
curl -X POST "https://api.popnow.ai/api/v1/jobs/createTask" \
-H "Authorization: Bearer $POPNOW_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"model": "tripo/tools/animate",
"input": {
"mesh_url": "https://media.popnow.ai/image-to-3d/kettle-04641a.glb",
"animations": [
{
"name": "idle"
}
]
}
}'レスポンスにはすぐに taskId が入ります。結果は GET /api/v1/jobs/recordInfo で取得するか、callBackUrl を付けて通知を受け取ります。
curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=TASK_ID_FROM_CREATE_TASK" \
-H "Authorization: Bearer $POPNOW_API_KEY"3Dコンバーター
tripo/tools/convert
料金
| オプション | USD |
|---|---|
既定 | $0.072 1 リクエストあたり |
パラメーター
| フィールド | 型 | 既定値 | 指定できる値 | 説明 |
|---|---|---|---|---|
mesh_url必須 | string | — | — | The 3D model to convert: a GLB, binary FBX, OBJ or STL file up to 90 MB. Skeleton and animation are carried over by default. |
output_format必須 | string | — | glb, fbx, stl | Target format: glb for browsers and web games, fbx for animation software and engines, stl for 3D printing (geometry only). Does not change the price. |
quad_mesh任意 | boolean | false | — | Remesh to four-sided polygons (about 10,000 faces unless face_limit is set). Requires output_format fbx. Uses the higher rate. |
face_limit任意 | integer | — | 48〜2000000 | Maximum number of faces, 48 to 2,000,000. Leave empty to keep the original count. Setting it uses the higher rate. |
texture_size任意 | integer | 4096 | 128〜8192 | Diffuse texture size in pixels, 128 to 8192. Any value other than 4096 uses the higher rate. |
texture_format任意 | string | jpeg | jpeg, png, webp | Image format of the exported textures. png or webp uses the higher rate. |
pivot_to_bottom任意 | boolean | false | — | Move the pivot to the centre of the model's base. Uses the higher rate. |
scale_factor任意 | number | 1 | 0.001〜1000 | Uniform scale for the exported model. Any value other than 1 uses the higher rate. |
flatten_bottom任意 | boolean | false | — | Flatten the underside of the model, useful for 3D printing. Uses the higher rate. |
forward_axis任意 | string | +x | +x, -x, +y, -y | Axis the model faces in the exported file. Does not change the price. |
fbx_preset任意 | string | blender | blender, 3dsmax, mixamo, bake_scale | Compatibility preset for FBX exports. Does not change the price. |
bake_textures任意 | boolean | true | — | Bake advanced materials into the base textures. Does not change the price. |
keep_animation任意 | boolean | true | — | Keep skeleton and animation data. Turn off for a static mesh. Does not change the price. |
in_place任意 | boolean | false | — | Remove forward movement from animation clips during export. Does not change the price. |
リクエスト例
このリクエストはそのまま実行できます。省略したフィールドには既定値が入ります。先にキーを環境変数 POPNOW_API_KEY に設定してください。
例の mesh_url には PopNow のサンプル素材を使っています。自分の公開 HTTPS リンク、アップロードしたファイル、保存済みアセットに置き換えてください。
curl -X POST "https://api.popnow.ai/api/v1/jobs/createTask" \
-H "Authorization: Bearer $POPNOW_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"model": "tripo/tools/convert",
"input": {
"mesh_url": "https://media.popnow.ai/image-to-3d/kettle-04641a.glb",
"output_format": "glb",
"flatten_bottom": false,
"scale_factor": 1,
"pivot_to_bottom": false,
"texture_format": "jpeg",
"texture_size": 4096,
"quad_mesh": false
}
}'レスポンスにはすぐに taskId が入ります。結果は GET /api/v1/jobs/recordInfo で取得するか、callBackUrl を付けて通知を受け取ります。
curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=TASK_ID_FROM_CREATE_TASK" \
-H "Authorization: Bearer $POPNOW_API_KEY"3Dリテクスチャ
tripo/tools/retexture
料金
| オプション | USD |
|---|---|
既定 | $0.12 1 リクエストあたり |
パラメーター
| フィールド | 型 | 既定値 | 指定できる値 | 説明 |
|---|---|---|---|---|
mesh_url必須 | string | — | — | The 3D model to repaint: a GLB, binary FBX, OBJ or STL file up to 90 MB. The shape is kept; only the textures are rebuilt. |
texture_prompt任意 | string | — | — | What the new surface should look like: colours, materials, wear, markings. Give this, texture_image_url, or both. |
texture_image_url任意 | string (uri) | — | — | A picture to texture from. Alone it is matched onto the model; with texture_prompt it is used as the style reference. |
texture_quality任意 | string | standard | standard, fast, detailed, extreme | standard (default) or fast at the base rate, detailed for higher-resolution maps at twice the base rate, extreme for 8K maps at three times the base rate. |
generate_pbr任意 | boolean | true | — | Add metal-roughness and normal maps next to the base colour. On by default. Does not change the price. |
remove_lighting任意 | boolean | true | — | Strip shadows and highlights from the reference picture before texturing. On by default. Does not change the price. |
texture_alignment任意 | string | original_image | original_image, geometry | Follow the colours of the reference picture (default) or the shape of the mesh. Does not change the price. |
bake_textures任意 | boolean | true | — | Bake advanced material effects into the standard texture maps for wider compatibility. On by default. Does not change the price. |
texture_seed任意 | integer | — | 0〜2147483647 | Seed for the texture step. Change it for another variation on the same mesh. |
リクエスト例
このリクエストはそのまま実行できます。省略したフィールドには既定値が入ります。先にキーを環境変数 POPNOW_API_KEY に設定してください。
例の mesh_url には PopNow のサンプル素材を使っています。自分の公開 HTTPS リンク、アップロードしたファイル、保存済みアセットに置き換えてください。
curl -X POST "https://api.popnow.ai/api/v1/jobs/createTask" \
-H "Authorization: Bearer $POPNOW_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"model": "tripo/tools/retexture",
"input": {
"mesh_url": "https://media.popnow.ai/image-to-3d/kettle-04641a.glb",
"texture_quality": "standard"
}
}'レスポンスにはすぐに taskId が入ります。結果は GET /api/v1/jobs/recordInfo で取得するか、callBackUrl を付けて通知を受け取ります。
curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=TASK_ID_FROM_CREATE_TASK" \
-H "Authorization: Bearer $POPNOW_API_KEY"3Dリギング
tripo/tools/rig
料金
| オプション | USD |
|---|---|
既定 | $0.36 1 リクエストあたり |
パラメーター
| フィールド | 型 | 既定値 | 指定できる値 | 説明 |
|---|---|---|---|---|
mesh_url必須 | string | — | — | The 3D model to rig: a GLB, binary FBX, OBJ or STL file up to 90 MB. Geometry and textures are kept; a skeleton is added. |
rig_type任意 | string | auto | auto, biped, quadruped, hexapod, octopod, avian, serpentine, aquatic, others | Skeleton type. auto picks one from the shape; choose another for animals and creatures. Does not change the price. |
bone_naming任意 | string | tripo | tripo, mixamo, actorcore, unity, unreal, vrm | Bone naming convention for biped skeletons (Tripo, Mixamo, ActorCore, Unity, Unreal or VRM). Does not change the price. |
output_format任意 | string | glb | glb, fbx | File format of the result: glb for browsers and web engines, fbx for animation software. Does not change the price. |
リクエスト例
このリクエストはそのまま実行できます。省略したフィールドには既定値が入ります。先にキーを環境変数 POPNOW_API_KEY に設定してください。
例の mesh_url には PopNow のサンプル素材を使っています。自分の公開 HTTPS リンク、アップロードしたファイル、保存済みアセットに置き換えてください。
curl -X POST "https://api.popnow.ai/api/v1/jobs/createTask" \
-H "Authorization: Bearer $POPNOW_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"model": "tripo/tools/rig",
"input": {
"mesh_url": "https://media.popnow.ai/image-to-3d/kettle-04641a.glb"
}
}'レスポンスにはすぐに taskId が入ります。結果は GET /api/v1/jobs/recordInfo で取得するか、callBackUrl を付けて通知を受け取ります。
curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=TASK_ID_FROM_CREATE_TASK" \
-H "Authorization: Bearer $POPNOW_API_KEY"
