Image to 3D mesh
$0.24
- Mesh-only GLB output
Meshy 3D API / per la generazione 3D da immagini e testo
Usa tramite PiAPI per inviare attività asincrone di generazione 3D e recuperare una risorsa GLB completata.
Paga ogni generazione riuscita tramite PiAPI.
$0.24
from $0.36
from $0.24
Invia un URL immagine e scegli un output solo mesh oppure texturizzato con risoluzione 2K, 4K o 8K.
Avvia un’attività di anteprima da testo a 3D con un prompt, poi usa il task_id PiAPI completato per la rifinitura.
La richiesta di rifinitura accetta preview_task_id e restituisce un modello GLB completato tramite lo stesso flusso di polling.
Invia un’attività a PiAPI, controlla lo stato o usa un webhook e leggi il modello completato da output.model_file.
Sign up and grab an API key from the PiAPI workspace — free credits are included on sign-up.
Add credits on the billing page when you are ready to scale beyond the free tier.
POST your first task following the API docs, then poll the task until the result is ready.
Prototype prompts and settings in the the playground above before wiring them into your product.
curl -X POST 'https://api.piapi.ai/api/v1/task' \
-H 'X-API-Key: YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{
"model": "meshy",
"task_type": "image-to-3d",
"input": {
"image_url": "YOUR_IMAGE_URL",
"should_texture": true,
"texture_resolution": "2k"
}
}'curl 'https://api.piapi.ai/api/v1/task/{task_id}' \
-H 'X-API-Key: YOUR_API_KEY'model_file
curl -X POST 'https://api.piapi.ai/api/v1/task' \
-H 'X-API-Key: YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{
"model": "meshy",
"task_type": "text-to-3d",
"input": {
"mode": "preview",
"prompt": "A ceramic teapot",
"texture_resolution": "2k"
}
}'curl 'https://api.piapi.ai/api/v1/task/{task_id}' \
-H 'X-API-Key: YOUR_API_KEY'model_file
Crea un’anteprima con mode=preview, attendi il completamento, quindi invia il suo task_id PiAPI come preview_task_id con mode=refine.
La stima cambia in base a should_texture e texture_resolution. Il Workspace mostra la stima delle impostazioni selezionate prima dell’invio.
Consulta la documentazione Meshy per creare e ottenere attività collegata a questa pagina.
More questions? See the API docs.