Image to 3D mesh
$0.24
- Mesh-only GLB output
Meshy 3D API / image-to-3D और text-to-3D जनरेशन के लिए
उपयोग करें PiAPI के माध्यम से असिंक्रोनस 3D जनरेशन कार्य भेजने और पूरा GLB एसेट प्राप्त करने के लिए।
PiAPI के माध्यम से सफल जनरेशन के लिए भुगतान करें।
$0.24
from $0.36
from $0.24
इमेज का URL भेजें और केवल मेश या 2K, 4K अथवा 8K टेक्सचर रिज़ॉल्यूशन वाला आउटपुट चुनें।
प्रॉम्प्ट के साथ टेक्स्ट से 3D प्रीव्यू कार्य शुरू करें। कार्य पूरा होने के बाद रिफाइन करने के लिए उसका 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.