
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-reliefTarifas pay-as-you-go ao vivo do catálogo EmpirioLabs. Você também pode escolher um plano com franquias semanais.
Meshy Relief roda por POST /v1/3d/generations. A requisição retorna um job_id na hora; consulte GET /v1/jobs/{job_id} até o job terminar e leia as URLs de saída do resultado. Obtenha uma chave de API no painel EmpirioLabs.
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)Parâmetros de requisição suportados pela API Meshy Relief na EmpirioLabs. Os padrões valem quando um campo é omitido.
| Parâmetro | Tipo | Padrão | Intervalo / valores | Descrição |
|---|---|---|---|---|
| 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 a 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 a 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 a 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 a 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 a 360 | The arc the bend spans, in degrees. |
| mesh_resolution | integer | 1024 | 512 a 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.
Anúncios, testes de prompts e comparações que cobrem este modelo.
Na EmpirioLabs, Meshy Relief é cobrado por uso. Você também pode escolher um plano com franquias semanais. A tabela de tarifas ao vivo desta página sempre corresponde ao que a API cobra.
O Meshy Relief recebe Imagem como entrada e retorna 3D.
Meshy Relief é servido por POST /v1/3d/generations em api.empiriolabs.ai com autenticação padrão por token Bearer.
Envie meshy-relief como modelo na sua requisição. Os IDs alternativos meshy/meshy-relief também funcionam.
Meshy lançou o Meshy Relief em 5 de nov. de 2026.
Sim. O playground da EmpirioLabs executa Meshy Relief no navegador com os mesmos parâmetros que a API expõe, para você testar prompts antes de escrever código.
Crie uma conta EmpirioLabs e gere uma chave em API Keys no painel. A cobrança usa créditos pay-as-you-go, então você paga apenas pelas requisições que faz. Você também pode escolher um plano com franquias semanais.
Confira nossos preços ou entre em contato se quiser que seu próprio modelo seja implementado em nossa pilha.