Referência da API do Meshy T2.5
Malhas mais limpas com até 30.000 faces a partir de uma foto ou uma frase, com rigging opcional
Com uma única chave de API da PopNow você chama o Meshy T2.5 direto do seu código. Aqui estão os IDs de modelo a enviar, cada campo de entrada aceito, quanto custa cada requisição em USD e um exemplo que você cola no terminal e roda.
As descrições dos parâmetros vêm do schema de entrada do modelo e estão disponíveis só em inglês.
Resumo
- Desenvolvedor
- Meshy
- Resultado
- Imagem
- A partir de
- $0.24 USD por requisição
- IDs de modelo
Os preços são exibidos em USD e os valores são descontados do seu saldo PopNow. Ao aceitar a tarefa, o valor máximo é reservado; ao concluir, o uso real é cobrado e o restante liberado. Tarefas com falha não são cobradas. Consulte POST /api/v1/jobs/quote para obter uma cotação exata antes de executar.
Imagem para 3D
meshy/t2.5/image-to-3d
Preço
| Opção | USD |
|---|---|
Padrão | $0.24 por requisição |
Parâmetros
| Campo | Tipo | Padrão | Valores aceitos | Para que serve |
|---|---|---|---|---|
image_urlObrigatório | 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 | no 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 | no mínimo 0 | Animation action applied when animation is on. |
Exemplo de requisição
Esta requisição roda do jeito que está; os campos que você omitir usam o valor padrão. Antes, coloque sua chave em POPNOW_API_KEY.
O exemplo usa arquivos de amostra da PopNow em image_url. Troque pelos seus próprios links HTTPS públicos, uploads ou assets salvos.
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
}
}'A resposta já traz um taskId. Busque o resultado com GET /api/v1/jobs/recordInfo ou inclua callBackUrl para ser avisado.
curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=TASK_ID_FROM_CREATE_TASK" \
-H "Authorization: Bearer $POPNOW_API_KEY"Imagem para 3D
meshy/t2.5/text-to-3d
Preço
| Opção | USD |
|---|---|
Padrão | $0.24 por requisição |
Parâmetros
| Campo | Tipo | Padrão | Valores aceitos | Para que serve |
|---|---|---|---|---|
promptObrigatório | string | — | até 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 | no 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 | no mínimo 0 | Animation action applied when animation is on. |
seedOpcional | integer | — | de 0 a 2147483647 | Random seed for controlled comparisons. |
Exemplo de requisição
Esta requisição roda do jeito que está; os campos que você omitir usam o valor padrão. Antes, coloque sua chave em 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
}
}'A resposta já traz um taskId. Busque o resultado com GET /api/v1/jobs/recordInfo ou inclua callBackUrl para ser avisado.
curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=TASK_ID_FROM_CREATE_TASK" \
-H "Authorization: Bearer $POPNOW_API_KEY"
