Referencia de la API de Meshy T2.5
Mallas más limpias de hasta 30.000 caras a partir de una foto o una frase, con rigging opcional
Con una sola clave de API de PopNow puedes llamar a Meshy T2.5 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
- Meshy
- Resultado
- Imagen
- Desde
- $0.24 USD por solicitud
- ID de modelo
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.
Imagen a 3D
meshy/t2.5/image-to-3d
Precio
| Opción | USD |
|---|---|
Predeterminado | $0.24 por solicitud |
Parámetros
| Campo | Tipo | Valor predeterminado | Valores admitidos | Para qué sirve |
|---|---|---|---|---|
image_urlObligatorio | string (uri) | — | — | Photo of one object: JPEG, PNG or WebP. |
generate_textureOpcional | boolean | true | — | Paint a texture onto the mesh. Turn off for a lower-priced untextured mesh. |
generate_pbrOpcional | boolean | false | — | Add metallic, roughness and normal maps to the texture. |
texture_promptOpcional | string | — | — | Optional description of the texture. Takes priority over texture_image_url. |
texture_image_urlOpcional | string (uri) | — | — | Optional reference image for the texture. |
texture_resolutionOpcional | string | 2k | 2k, 4k, 8k | Texture resolution. 8k costs more. |
face_limitOpcional | integer | 30000 | de 100 a 30000 | Target triangle count, 100 to 30,000. |
pose_modeOpcional | string | — | a-pose, t-pose | Generate a character in an A-pose or T-pose, useful before rigging. |
auto_sizeOpcional | boolean | false | — | Scale the model to an estimated real-world size. |
enable_riggingOpcional | boolean | false | — | Add a humanoid skeleton to the character. Adds to the price. The rigged model is returned after the base mesh. |
rigging_height_metersOpcional | number | 1.7 | como mínimo 0 | Character height in meters used for rigging. |
enable_animationOpcional | boolean | false | — | Rig and animate the character. Adds to the price and includes rigging. Models are returned in order: base mesh, rigged model, animated model. |
animation_action_idOpcional | integer | 92 | como mínimo 0 | Animation action applied when animation is on. |
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 image_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": "meshy/t2.5/image-to-3d",
"input": {
"image_url": "https://media.popnow.ai/influencer/examples/marco.webp",
"enable_animation": false,
"enable_rigging": false,
"texture_resolution": "2k",
"generate_texture": true
}
}'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"Imagen a 3D
meshy/t2.5/text-to-3d
Precio
| Opción | USD |
|---|---|
Predeterminado | $0.24 por solicitud |
Parámetros
| Campo | Tipo | Valor predeterminado | Valores admitidos | Para qué sirve |
|---|---|---|---|---|
promptObligatorio | string | — | hasta 600 caracteres | Describe the object to generate, up to 600 characters. |
negative_promptOpcional | string | — | — | Details to keep out of the model. |
generate_textureOpcional | boolean | true | — | Paint a texture onto the mesh. Turn off for a lower-priced untextured mesh. |
generate_pbrOpcional | boolean | false | — | Add metallic, roughness and normal maps to the texture. |
texture_promptOpcional | string | — | — | Optional description of the texture. Takes priority over texture_image_url. |
texture_image_urlOpcional | string (uri) | — | — | Optional reference image for the texture. |
texture_resolutionOpcional | string | 2k | 2k, 4k, 8k | Texture resolution. 8k costs more. |
face_limitOpcional | integer | 30000 | de 100 a 30000 | Target triangle count, 100 to 30,000. |
pose_modeOpcional | string | — | a-pose, t-pose | Generate a character in an A-pose or T-pose, useful before rigging. |
auto_sizeOpcional | boolean | false | — | Scale the model to an estimated real-world size. |
enable_riggingOpcional | boolean | false | — | Add a humanoid skeleton to the character. Adds to the price. The rigged model is returned after the base mesh. |
rigging_height_metersOpcional | number | 1.7 | como mínimo 0 | Character height in meters used for rigging. |
enable_animationOpcional | boolean | false | — | Rig and animate the character. Adds to the price and includes rigging. Models are returned in order: base mesh, rigged model, animated model. |
animation_action_idOpcional | integer | 92 | como mínimo 0 | Animation action applied when animation is on. |
seedOpcional | integer | — | de 0 a 2147483647 | Random seed for controlled comparisons. |
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.
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": "meshy/t2.5/text-to-3d",
"input": {
"prompt": "A bright, cheerful scene with soft natural light",
"enable_animation": false,
"enable_rigging": false,
"texture_resolution": "2k",
"generate_texture": true
}
}'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"
