Riferimento API di Meshy T2.5
Mesh più pulite fino a 30.000 facce da una foto o una frase, con rigging opzionale
Con una sola chiave API di PopNow chiami Meshy T2.5 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
- Meshy
- Risultato
- Immagine
- Da
- $0.24 USD per richiesta
- ID del modello
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.
Da immagine a 3D
meshy/t2.5/image-to-3d
Prezzo
| Opzione | USD |
|---|---|
Predefinito | $0.24 per richiesta |
Parametri
| Campo | Tipo | Predefinito | Valori ammessi | A cosa serve |
|---|---|---|---|---|
image_urlObbligatorio | string (uri) | — | — | Photo of one object: JPEG, PNG or WebP. |
generate_textureFacoltativo | boolean | true | — | Paint a texture onto the mesh. Turn off for a lower-priced untextured mesh. |
generate_pbrFacoltativo | boolean | false | — | Add metallic, roughness and normal maps to the texture. |
texture_promptFacoltativo | string | — | — | Optional description of the texture. Takes priority over texture_image_url. |
texture_image_urlFacoltativo | string (uri) | — | — | Optional reference image for the texture. |
texture_resolutionFacoltativo | string | 2k | 2k, 4k, 8k | Texture resolution. 8k costs more. |
face_limitFacoltativo | integer | 30000 | da 100 a 30000 | Target triangle count, 100 to 30,000. |
pose_modeFacoltativo | string | — | a-pose, t-pose | Generate a character in an A-pose or T-pose, useful before rigging. |
auto_sizeFacoltativo | boolean | false | — | Scale the model to an estimated real-world size. |
enable_riggingFacoltativo | boolean | false | — | Add a humanoid skeleton to the character. Adds to the price. The rigged model is returned after the base mesh. |
rigging_height_metersFacoltativo | number | 1.7 | almeno 0 | Character height in meters used for rigging. |
enable_animationFacoltativo | 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_idFacoltativo | integer | 92 | almeno 0 | Animation action applied when animation is on. |
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 image_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": "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 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"Da immagine a 3D
meshy/t2.5/text-to-3d
Prezzo
| Opzione | USD |
|---|---|
Predefinito | $0.24 per richiesta |
Parametri
| Campo | Tipo | Predefinito | Valori ammessi | A cosa serve |
|---|---|---|---|---|
promptObbligatorio | string | — | fino a 600 caratteri | Describe the object to generate, up to 600 characters. |
negative_promptFacoltativo | string | — | — | Details to keep out of the model. |
generate_textureFacoltativo | boolean | true | — | Paint a texture onto the mesh. Turn off for a lower-priced untextured mesh. |
generate_pbrFacoltativo | boolean | false | — | Add metallic, roughness and normal maps to the texture. |
texture_promptFacoltativo | string | — | — | Optional description of the texture. Takes priority over texture_image_url. |
texture_image_urlFacoltativo | string (uri) | — | — | Optional reference image for the texture. |
texture_resolutionFacoltativo | string | 2k | 2k, 4k, 8k | Texture resolution. 8k costs more. |
face_limitFacoltativo | integer | 30000 | da 100 a 30000 | Target triangle count, 100 to 30,000. |
pose_modeFacoltativo | string | — | a-pose, t-pose | Generate a character in an A-pose or T-pose, useful before rigging. |
auto_sizeFacoltativo | boolean | false | — | Scale the model to an estimated real-world size. |
enable_riggingFacoltativo | boolean | false | — | Add a humanoid skeleton to the character. Adds to the price. The rigged model is returned after the base mesh. |
rigging_height_metersFacoltativo | number | 1.7 | almeno 0 | Character height in meters used for rigging. |
enable_animationFacoltativo | 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_idFacoltativo | integer | 92 | almeno 0 | Animation action applied when animation is on. |
seedFacoltativo | integer | — | da 0 a 2147483647 | Random seed for controlled comparisons. |
Richiesta di esempio
Questa richiesta funziona così com’è; i campi omessi usano il valore predefinito. Prima salva la tua chiave in 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 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"
