Image to 3D mesh
$0.24
- Mesh-only GLB output
Meshy 3D API / image-to-3D ve text-to-3D üretimi için
Kullanın PiAPI üzerinden eşzamansız 3D oluşturma görevleri göndermek ve tamamlanmış GLB varlığını almak için.
PiAPI üzerinden başarılı her oluşturma için ödeme yapın.
$0.24
from $0.36
from $0.24
Bir görsel URL’si gönderin ve yalnızca ağ çıktısı veya 2K, 4K ya da 8K doku çözünürlüğünde dokulu çıktı seçin.
Bir istemle metinden 3D önizleme görevi başlatın, ardından tamamlanan görevin PiAPI task_id değerini iyileştirme için kullanın.
İyileştirme isteği preview_task_id değerini kabul eder ve aynı görev durumu sorgulama akışı üzerinden tamamlanmış bir GLB modeli döndürür.
PiAPI’ye bir görev gönderin, görev durumunu düzenli olarak sorgulayın veya webhook kullanın ve tamamlanan modeli output.model_file alanından alın.
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
mode=preview ile bir önizleme oluşturun, tamamlanmasını bekleyin, ardından PiAPI task_id değerini mode=refine ile preview_task_id olarak gönderin.
Tahmini ücret should_texture ve texture_resolution değerlerine göre değişir. Çalışma alanı, göndermeden önce seçilen ayarların tahmini ücretini gösterir.
Bu sayfada bağlantısı verilen Meshy görev oluşturma ve görev alma API belgelerine bakın.
More questions? See the API docs.