PopNowDocs API
Contenuto principale

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

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

OpzioneUSD
Predefinito$0.24 per richiesta

Parametri

CampoTipoPredefinitoValori ammessiA cosa serve
image_urlObbligatoriostring (uri)——Photo of one object: JPEG, PNG or WebP.
generate_textureFacoltativobooleantrue—Paint a texture onto the mesh. Turn off for a lower-priced untextured mesh.
generate_pbrFacoltativobooleanfalse—Add metallic, roughness and normal maps to the texture.
texture_promptFacoltativostring——Optional description of the texture. Takes priority over texture_image_url.
texture_image_urlFacoltativostring (uri)——Optional reference image for the texture.
texture_resolutionFacoltativostring2k2k, 4k, 8kTexture resolution. 8k costs more.
face_limitFacoltativointeger30000da 100 a 30000Target triangle count, 100 to 30,000.
pose_modeFacoltativostring—a-pose, t-poseGenerate a character in an A-pose or T-pose, useful before rigging.
auto_sizeFacoltativobooleanfalse—Scale the model to an estimated real-world size.
enable_riggingFacoltativobooleanfalse—Add a humanoid skeleton to the character. Adds to the price. The rigged model is returned after the base mesh.
rigging_height_metersFacoltativonumber1.7almeno 0Character height in meters used for rigging.
enable_animationFacoltativobooleanfalse—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_idFacoltativointeger92almeno 0Animation 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.

POST /api/v1/jobs/createTask
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.

GET /api/v1/jobs/recordInfo
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

OpzioneUSD
Predefinito$0.24 per richiesta

Parametri

CampoTipoPredefinitoValori ammessiA cosa serve
promptObbligatoriostring—fino a 600 caratteriDescribe the object to generate, up to 600 characters.
negative_promptFacoltativostring——Details to keep out of the model.
generate_textureFacoltativobooleantrue—Paint a texture onto the mesh. Turn off for a lower-priced untextured mesh.
generate_pbrFacoltativobooleanfalse—Add metallic, roughness and normal maps to the texture.
texture_promptFacoltativostring——Optional description of the texture. Takes priority over texture_image_url.
texture_image_urlFacoltativostring (uri)——Optional reference image for the texture.
texture_resolutionFacoltativostring2k2k, 4k, 8kTexture resolution. 8k costs more.
face_limitFacoltativointeger30000da 100 a 30000Target triangle count, 100 to 30,000.
pose_modeFacoltativostring—a-pose, t-poseGenerate a character in an A-pose or T-pose, useful before rigging.
auto_sizeFacoltativobooleanfalse—Scale the model to an estimated real-world size.
enable_riggingFacoltativobooleanfalse—Add a humanoid skeleton to the character. Adds to the price. The rigged model is returned after the base mesh.
rigging_height_metersFacoltativonumber1.7almeno 0Character height in meters used for rigging.
enable_animationFacoltativobooleanfalse—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_idFacoltativointeger92almeno 0Animation action applied when animation is on.
seedFacoltativointeger—da 0 a 2147483647Random 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.

POST /api/v1/jobs/createTask
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.

GET /api/v1/jobs/recordInfo
curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=TASK_ID_FROM_CREATE_TASK" \
  -H "Authorization: Bearer $POPNOW_API_KEY"

Passi successivi

In questa pagina