Referencia de la API de Tripo 3D Tools
Riggea, anima, retexturiza y convierte un modelo 3D terminado a GLB, FBX o STL
Con una sola clave de API de PopNow puedes llamar a Tripo 3D Tools desde tu propio código. Aquí tienes los ID de modelo que debes enviar, cada campo de entrada que acepta, cuánto cuesta cada solicitud en USD y una petición que puedes pegar tal cual en la terminal.
Las descripciones de los parámetros vienen del esquema de entrada del modelo y solo están en inglés.
De un vistazo
- Creado por
- Tripo
- Resultado
- Imagen
- Desde
- $0.072 USD por solicitud
Los precios se muestran en USD y se cobran de tu saldo de PopNow. Al aceptar la tarea se reserva el importe máximo; al terminar se cobra el uso real y se libera el resto. Las tareas fallidas no se cobran. Consulta POST /api/v1/jobs/quote para obtener un presupuesto exacto antes de ejecutar.
Animación 3D
tripo/tools/animate
Precio
| Opción | USD |
|---|---|
Predeterminado | $0.504 por solicitud |
Parámetros
| Campo | Tipo | Valor predeterminado | Valores admitidos | Para qué sirve |
|---|---|---|---|---|
mesh_urlObligatorio | 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. |
animationsObligatorio | array<object> | — | hasta 5 elementos | One to five preset motions, one per row. Each becomes a named clip in the file and adds to the price. |
rig_typeOpcional | 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_namingOpcional | 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_formatOpcional | 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_placeOpcional | boolean | false | — | Play the motions on the spot, without forward movement (no root motion). Does not change the price. |
Solicitud de ejemplo
Esta solicitud funciona tal cual; los campos que no envíes usan su valor predeterminado. Antes, guarda tu clave en POPNOW_API_KEY.
El ejemplo usa archivos de muestra de PopNow en mesh_url. Cámbialos por tus propios enlaces HTTPS públicos, archivos subidos o recursos guardados.
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 respuesta trae un taskId al instante. Consulta el resultado con GET /api/v1/jobs/recordInfo o añade callBackUrl para recibir un aviso.
curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=TASK_ID_FROM_CREATE_TASK" \
-H "Authorization: Bearer $POPNOW_API_KEY"Conversor 3D
tripo/tools/convert
Precio
| Opción | USD |
|---|---|
Predeterminado | $0.072 por solicitud |
Parámetros
| Campo | Tipo | Valor predeterminado | Valores admitidos | Para qué sirve |
|---|---|---|---|---|
mesh_urlObligatorio | 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_formatObligatorio | 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_meshOpcional | 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_limitOpcional | integer | — | de 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_sizeOpcional | integer | 4096 | de 128 a 8192 | Diffuse texture size in pixels, 128 to 8192. Any value other than 4096 uses the higher rate. |
texture_formatOpcional | string | jpeg | jpeg, png, webp | Image format of the exported textures. png or webp uses the higher rate. |
pivot_to_bottomOpcional | boolean | false | — | Move the pivot to the centre of the model's base. Uses the higher rate. |
scale_factorOpcional | number | 1 | de 0.001 a 1000 | Uniform scale for the exported model. Any value other than 1 uses the higher rate. |
flatten_bottomOpcional | boolean | false | — | Flatten the underside of the model, useful for 3D printing. Uses the higher rate. |
forward_axisOpcional | string | +x | +x, -x, +y, -y | Axis the model faces in the exported file. Does not change the price. |
fbx_presetOpcional | string | blender | blender, 3dsmax, mixamo, bake_scale | Compatibility preset for FBX exports. Does not change the price. |
bake_texturesOpcional | boolean | true | — | Bake advanced materials into the base textures. Does not change the price. |
keep_animationOpcional | boolean | true | — | Keep skeleton and animation data. Turn off for a static mesh. Does not change the price. |
in_placeOpcional | boolean | false | — | Remove forward movement from animation clips during export. Does not change the price. |
Solicitud de ejemplo
Esta solicitud funciona tal cual; los campos que no envíes usan su valor predeterminado. Antes, guarda tu clave en POPNOW_API_KEY.
El ejemplo usa archivos de muestra de PopNow en mesh_url. Cámbialos por tus propios enlaces HTTPS públicos, archivos subidos o recursos guardados.
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 respuesta trae un taskId al instante. Consulta el resultado con GET /api/v1/jobs/recordInfo o añade callBackUrl para recibir un aviso.
curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=TASK_ID_FROM_CREATE_TASK" \
-H "Authorization: Bearer $POPNOW_API_KEY"Retexturizado 3D
tripo/tools/retexture
Precio
| Opción | USD |
|---|---|
Predeterminado | $0.12 por solicitud |
Parámetros
| Campo | Tipo | Valor predeterminado | Valores admitidos | Para qué sirve |
|---|---|---|---|---|
mesh_urlObligatorio | 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_promptOpcional | string | — | — | What the new surface should look like: colours, materials, wear, markings. Give this, texture_image_url, or both. |
texture_image_urlOpcional | 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_qualityOpcional | 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_pbrOpcional | boolean | true | — | Add metal-roughness and normal maps next to the base colour. On by default. Does not change the price. |
remove_lightingOpcional | boolean | true | — | Strip shadows and highlights from the reference picture before texturing. On by default. Does not change the price. |
texture_alignmentOpcional | 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_texturesOpcional | boolean | true | — | Bake advanced material effects into the standard texture maps for wider compatibility. On by default. Does not change the price. |
texture_seedOpcional | integer | — | de 0 a 2147483647 | Seed for the texture step. Change it for another variation on the same mesh. |
Solicitud de ejemplo
Esta solicitud funciona tal cual; los campos que no envíes usan su valor predeterminado. Antes, guarda tu clave en POPNOW_API_KEY.
El ejemplo usa archivos de muestra de PopNow en mesh_url. Cámbialos por tus propios enlaces HTTPS públicos, archivos subidos o recursos guardados.
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 respuesta trae un taskId al instante. Consulta el resultado con GET /api/v1/jobs/recordInfo o añade callBackUrl para recibir un aviso.
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
Precio
| Opción | USD |
|---|---|
Predeterminado | $0.36 por solicitud |
Parámetros
| Campo | Tipo | Valor predeterminado | Valores admitidos | Para qué sirve |
|---|---|---|---|---|
mesh_urlObligatorio | 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_typeOpcional | 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_namingOpcional | 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_formatOpcional | string | glb | glb, fbx | File format of the result: glb for browsers and web engines, fbx for animation software. Does not change the price. |
Solicitud de ejemplo
Esta solicitud funciona tal cual; los campos que no envíes usan su valor predeterminado. Antes, guarda tu clave en POPNOW_API_KEY.
El ejemplo usa archivos de muestra de PopNow en mesh_url. Cámbialos por tus propios enlaces HTTPS públicos, archivos subidos o recursos guardados.
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 respuesta trae un taskId al instante. Consulta el resultado con GET /api/v1/jobs/recordInfo o añade callBackUrl para recibir un aviso.
curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=TASK_ID_FROM_CREATE_TASK" \
-H "Authorization: Bearer $POPNOW_API_KEY"
