Meshy-6-Preview is the latest model from Meshy. It generates realistic and production ready 3D models.
Meshy 6 Preview (Image To 3d) (meshy/meshy-v6-preview-image-to-3d) is a 3d model from Meshy. Pricing via AIgateway: see pricing table. Call it via https://api.aigateway.sh/v1/3d/generations — set model="meshy/meshy-v6-preview-image-to-3d".
curl https://api.aigateway.sh/v1/3d/generations \
-H "Authorization: Bearer $AIGATEWAY_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"meshy/meshy-v6-preview-image-to-3d","prompt":"A low-poly treasure chest"}'{
"model": "meshy/meshy-v6-preview-image-to-3d",
"prompt": "A low-poly treasure chest, game asset",
// optional "image_url" to reconstruct from a reference image
"webhook_url": "https://your.app/webhooks/aigateway" // optional
}
// Response is an async job — poll /v1/jobs/<id> until status === "completed".{
"id": "job_abc123",
"status": "queued", // queued | processing | completed | failed
"model": "meshy/meshy-v6-preview-image-to-3d",
"created": 1776947082
}
// After completion (GET /v1/jobs/job_abc123):
{
"id": "job_abc123",
"status": "completed",
"result": {
"url": "https://media.aigateway.sh/3d/abc123.glb",
"format": "glb"
}
}import os, requests
r = requests.post(
"https://api.aigateway.sh/v1/3d/generations",
headers={"Authorization": f"Bearer {os.environ['AIGATEWAY_API_KEY']}"},
json={
"model": "meshy/meshy-v6-preview-image-to-3d",
"prompt": "A low-poly treasure chest"
},
)
print(r.json())