Image to 3D mesh
$0.24
- Mesh-only GLB output
Meshy 3D API / لإنشاء نماذج ثلاثية الأبعاد من الصور والنصوص
استخدم عبر PiAPI لإرسال مهام إنشاء نماذج ثلاثية الأبعاد بشكل غير متزامن واسترجاع أصل مكتمل بصيغة GLB.
ادفع مقابل كل عملية إنشاء ناجحة عبر PiAPI.
$0.24
from $0.36
from $0.24
أرسل رابط صورة واختر إخراج الشبكة فقط أو إخراجًا بخامات بدقة 2K أو 4K أو 8K.
ابدأ مهمة معاينة من وصف نصي، ثم استخدم معرّف PiAPI task_id الخاص بالمهمة بعد اكتمالها لتحسين النموذج.
يقبل طلب التحسين preview_task_id ويُرجع نموذج GLB مكتملًا عبر آلية الاستعلام الدوري نفسها عن حالة المهمة.
أرسل مهمة إلى PiAPI، واستعلم عن حالتها دوريًا أو استخدم webhook، ثم استرجع النموذج المكتمل من 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
أنشئ معاينة باستخدام mode=preview، وانتظر اكتمالها، ثم أرسل PiAPI task_id الخاص بها بوصفه preview_task_id مع mode=refine.
تتغير التكلفة التقديرية وفقًا لـ should_texture وtexture_resolution. تعرض مساحة العمل تقدير الإعدادات المحددة قبل الإرسال.
راجع وثائق Meshy API لإنشاء المهام وجلب بياناتها عبر الروابط الموجودة في هذه الصفحة.
More questions? See the API docs.