Riferimento API di Tripo 3D Tools
Rigging, animazione, nuove texture e conversione di un modello 3D finito in GLB, FBX o STL
Con una sola chiave API di PopNow chiami Tripo 3D Tools dal tuo codice. Qui trovi gli ID del modello da inviare, ogni campo di input accettato, quanto costa ogni richiesta in USD e una richiesta da incollare nel terminale così com’è.
Le descrizioni dei parametri provengono dallo schema di input del modello e sono disponibili solo in inglese.
In sintesi
- Sviluppato da
- Tripo
- Risultato
- Immagine
- Da
- $0.072 USD per richiesta
I prezzi sono indicati in USD e gli importi vengono addebitati sul tuo saldo PopNow. Alla ricezione viene riservato il massimo importo; al termine viene addebitato il consumo effettivo e il resto viene sbloccato. Le attività fallite non vengono addebitate. Per un preventivo esatto prima di eseguire, usa POST /api/v1/jobs/quote.
Animazione 3D
tripo/tools/animate
Prezzo
| Opzione | USD |
|---|---|
Predefinito | $0.504 per richiesta |
Parametri
| Campo | Tipo | Predefinito | Valori ammessi | A cosa serve |
|---|---|---|---|---|
mesh_urlObbligatorio | 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. |
animationsObbligatorio | array<object> | — | fino a 5 elementi | One to five preset motions, one per row. Each becomes a named clip in the file and adds to the price. |
rig_typeFacoltativo | 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_namingFacoltativo | 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_formatFacoltativo | 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_placeFacoltativo | boolean | false | — | Play the motions on the spot, without forward movement (no root motion). Does not change the price. |
Richiesta di esempio
Questa richiesta funziona così com’è; i campi omessi usano il valore predefinito. Prima salva la tua chiave in POPNOW_API_KEY.
L’esempio usa file di prova di PopNow in mesh_url. Sostituiscili con i tuoi link HTTPS pubblici, file caricati o asset salvati.
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"
}
]
}
}'La risposta contiene subito un taskId. Recupera il risultato con GET /api/v1/jobs/recordInfo, oppure aggiungi callBackUrl per ricevere una notifica.
curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=TASK_ID_FROM_CREATE_TASK" \
-H "Authorization: Bearer $POPNOW_API_KEY"Convertitore 3D
tripo/tools/convert
Prezzo
| Opzione | USD |
|---|---|
Predefinito | $0.072 per richiesta |
Parametri
| Campo | Tipo | Predefinito | Valori ammessi | A cosa serve |
|---|---|---|---|---|
mesh_urlObbligatorio | 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_formatObbligatorio | 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_meshFacoltativo | 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_limitFacoltativo | integer | — | da 48 a 2000000 | Maximum number of faces, 48 to 2,000,000. Leave empty to keep the original count. Setting it uses the higher rate. |
texture_sizeFacoltativo | integer | 4096 | da 128 a 8192 | Diffuse texture size in pixels, 128 to 8192. Any value other than 4096 uses the higher rate. |
texture_formatFacoltativo | string | jpeg | jpeg, png, webp | Image format of the exported textures. png or webp uses the higher rate. |
pivot_to_bottomFacoltativo | boolean | false | — | Move the pivot to the centre of the model's base. Uses the higher rate. |
scale_factorFacoltativo | number | 1 | da 0.001 a 1000 | Uniform scale for the exported model. Any value other than 1 uses the higher rate. |
flatten_bottomFacoltativo | boolean | false | — | Flatten the underside of the model, useful for 3D printing. Uses the higher rate. |
forward_axisFacoltativo | string | +x | +x, -x, +y, -y | Axis the model faces in the exported file. Does not change the price. |
fbx_presetFacoltativo | string | blender | blender, 3dsmax, mixamo, bake_scale | Compatibility preset for FBX exports. Does not change the price. |
bake_texturesFacoltativo | boolean | true | — | Bake advanced materials into the base textures. Does not change the price. |
keep_animationFacoltativo | boolean | true | — | Keep skeleton and animation data. Turn off for a static mesh. Does not change the price. |
in_placeFacoltativo | boolean | false | — | Remove forward movement from animation clips during export. Does not change the price. |
Richiesta di esempio
Questa richiesta funziona così com’è; i campi omessi usano il valore predefinito. Prima salva la tua chiave in POPNOW_API_KEY.
L’esempio usa file di prova di PopNow in mesh_url. Sostituiscili con i tuoi link HTTPS pubblici, file caricati o asset salvati.
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
}
}'La risposta contiene subito un taskId. Recupera il risultato con GET /api/v1/jobs/recordInfo, oppure aggiungi callBackUrl per ricevere una notifica.
curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=TASK_ID_FROM_CREATE_TASK" \
-H "Authorization: Bearer $POPNOW_API_KEY"Ritexturing 3D
tripo/tools/retexture
Prezzo
| Opzione | USD |
|---|---|
Predefinito | $0.12 per richiesta |
Parametri
| Campo | Tipo | Predefinito | Valori ammessi | A cosa serve |
|---|---|---|---|---|
mesh_urlObbligatorio | 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_promptFacoltativo | string | — | — | What the new surface should look like: colours, materials, wear, markings. Give this, texture_image_url, or both. |
texture_image_urlFacoltativo | 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_qualityFacoltativo | 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_pbrFacoltativo | boolean | true | — | Add metal-roughness and normal maps next to the base colour. On by default. Does not change the price. |
remove_lightingFacoltativo | boolean | true | — | Strip shadows and highlights from the reference picture before texturing. On by default. Does not change the price. |
texture_alignmentFacoltativo | 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_texturesFacoltativo | boolean | true | — | Bake advanced material effects into the standard texture maps for wider compatibility. On by default. Does not change the price. |
texture_seedFacoltativo | integer | — | da 0 a 2147483647 | Seed for the texture step. Change it for another variation on the same mesh. |
Richiesta di esempio
Questa richiesta funziona così com’è; i campi omessi usano il valore predefinito. Prima salva la tua chiave in POPNOW_API_KEY.
L’esempio usa file di prova di PopNow in mesh_url. Sostituiscili con i tuoi link HTTPS pubblici, file caricati o asset salvati.
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"
}
}'La risposta contiene subito un taskId. Recupera il risultato con GET /api/v1/jobs/recordInfo, oppure aggiungi callBackUrl per ricevere una notifica.
curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=TASK_ID_FROM_CREATE_TASK" \
-H "Authorization: Bearer $POPNOW_API_KEY"Rigging 3D
tripo/tools/rig
Prezzo
| Opzione | USD |
|---|---|
Predefinito | $0.36 per richiesta |
Parametri
| Campo | Tipo | Predefinito | Valori ammessi | A cosa serve |
|---|---|---|---|---|
mesh_urlObbligatorio | 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_typeFacoltativo | 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_namingFacoltativo | 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_formatFacoltativo | string | glb | glb, fbx | File format of the result: glb for browsers and web engines, fbx for animation software. Does not change the price. |
Richiesta di esempio
Questa richiesta funziona così com’è; i campi omessi usano il valore predefinito. Prima salva la tua chiave in POPNOW_API_KEY.
L’esempio usa file di prova di PopNow in mesh_url. Sostituiscili con i tuoi link HTTPS pubblici, file caricati o asset salvati.
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"
}
}'La risposta contiene subito un taskId. Recupera il risultato con GET /api/v1/jobs/recordInfo, oppure aggiungi callBackUrl per ricevere una notifica.
curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=TASK_ID_FROM_CREATE_TASK" \
-H "Authorization: Bearer $POPNOW_API_KEY"
