
Turns a photo into a bas-relief 3D model and a depth map for 3D printing, engraving, and carving, with size, carving depth, base, and bend controls.
Turns a photo into a bas-relief 3D model and a depth map for 3D printing, engraving, and carving, with size, carving depth, base, and bend controls.
meshy-relief/v1/3d/generationsmeshy/meshy-reliefEmpirioLabs कैटलॉग से लाइव pay-as-you-go दरें। आप साप्ताहिक उपयोग सीमा वाला प्लान भी चुन सकते हैं।
Meshy Relief POST /v1/3d/generations से चलता है। request तुरंत job_id देती है; job पूरा होने तक GET /v1/jobs/{job_id} को poll करें और परिणाम से आउटपुट URLs पढ़ें। EmpirioLabs डैशबोर्ड से API key प्राप्त करें।
curl https://api.empiriolabs.ai/v1/3d/generations \
-H "Authorization: Bearer $EMPIRIOLABS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "meshy-relief",
"prompt": "Describe what you want Meshy Relief to generate."
}'curl https://api.empiriolabs.ai/v1/jobs/JOB_ID \
-H "Authorization: Bearer $EMPIRIOLABS_API_KEY"import requests
response = requests.post(
"https://api.empiriolabs.ai/v1/3d/generations",
headers={"Authorization": "Bearer YOUR_EMPIRIOLABS_API_KEY"},
json={
"model": "meshy-relief",
"prompt": "Describe what you want Meshy Relief to generate.",
},
)
job = response.json()
# Generation runs as an async job. Poll until it completes.
import time
while True:
status = requests.get(
f"https://api.empiriolabs.ai/v1/jobs/{job['job_id']}",
headers={"Authorization": "Bearer YOUR_EMPIRIOLABS_API_KEY"},
).json()
if status.get("status") in ("completed", "failed"):
print(status)
break
time.sleep(5)EmpirioLabs पर Meshy Relief API द्वारा समर्थित request पैरामीटर। फ़ील्ड छोड़ने पर डिफ़ॉल्ट मान लागू होते हैं।
| पैरामीटर | प्रकार | डिफॉल्ट | रेंज / मान | विवरण |
|---|---|---|---|---|
| image | image | - | - | The photo to turn into a relief. JPG, PNG or WebP, up to 20 MB, as a URL or base64. Transparent areas are filled with black. |
| variant | enum | low | high, low | high carves deeper, for printed pieces. low carves shallow, for engraving, carving and thin plaques. |
| should_generate_model | boolean | true | - | Build the relief model. Off returns the depth map only, at the same price. |
| size_mm | number | 60 | 20 से 250 | The length of the photo's longer side on the model, in millimeters. |
| carving_mode | enum | emboss | emboss, engrave | emboss raises the near parts of the photo. engrave cuts them in. |
| carving_depth_mm | number | - | 0 से 60 | How deep the relief is carved, in millimeters. When unset: 6 for the high style, 3 for the low style. |
| remove_base | boolean | false | - | Cut away the background and build no base plate. |
| removal_threshold | number | 0.01 | 0.01 से 1 | The depth, from 0.01 to 1, below which the background is cut away. Applies when remove_base is on. |
| base_thickness_mm | number | - | 0.1 से 10 | The thickness of the base plate, in millimeters. When unset: 1. Not available when remove_base is on. |
| bend_mode | enum | off | off, convex, concave | off keeps the relief flat. convex bulges the front outward, concave curves it inward. |
| bend_axis | enum | xz | xz, yz | xz curls the left and right edges. yz curls the top and bottom edges. |
| bend_angle | number | 60 | 0 से 360 | The arc the bend spans, in degrees. |
| mesh_resolution | integer | 1024 | 512 से 2048 | The number of mesh points along the photo's longer side. A higher value keeps finer detail and makes larger files. |
Turns one photo into a relief: a raised or engraved model of the picture. Billing is per request.
घोषणाएं, prompt परीक्षण और तुलनाएं जिनमें यह मॉडल शामिल है।
EmpirioLabs पर Meshy Relief का बिल उपयोग के अनुसार बनता है। आप साप्ताहिक उपयोग सीमा वाला प्लान भी चुन सकते हैं। इस पेज की लाइव दर तालिका हमेशा API की वास्तविक बिलिंग से मेल खाती है।
Meshy Relief input के रूप में इमेज लेता है और 3D लौटाता है।
Meshy Relief api.empiriolabs.ai पर POST /v1/3d/generations के ज़रिए मिलता है, मानक Bearer टोकन प्रमाणीकरण के साथ।
अपनी request में model के रूप में meshy-relief भेजें। वैकल्पिक IDs meshy/meshy-relief भी काम करते हैं।
Meshy ने Meshy Relief को 5 नव॰ 2026 को रिलीज़ किया।
हां। EmpirioLabs playground ब्राउज़र में Meshy Relief को उन्हीं पैरामीटरों के साथ चलाता है जो API देता है, ताकि आप कोड लिखने से पहले prompt आज़मा सकें।
EmpirioLabs खाता बनाएं, फिर डैशबोर्ड में API Keys में key जनरेट करें। बिलिंग pay-as-you-go क्रेडिट से होती है, इसलिए आप सिर्फ अपनी requests का भुगतान करते हैं। आप साप्ताहिक उपयोग सीमा वाला प्लान भी चुन सकते हैं।
हमारे मूल्य निर्धारण की जाँच करें या यदि आप चाहते हैं कि आपका अपना मॉडल हमारे स्टैक पर तैनात किया जाए, तो पहुंचें।