Meshy Relief API

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 3D Generation Released Nov 5, 2026 Proprietary Endpoint New

About Meshy Relief

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.

relief image to 3d 3d printing

Meshy Relief specs

Model ID
meshy-relief
Author
Meshy
Category
3D Generation
Released
Nov 5, 2026
Input
Image
Output
3D
Endpoints
POST/v1/3d/generations
Alternate model IDs
meshy/meshy-relief

Meshy Relief API pricingSave up to 5%

Live pay-as-you-go rates from the EmpirioLabs catalog. You can also choose a plan with weekly allowances.

Type
Spec
Rate
Per request
per request
$0.80$0.76
Compare on the full pricing page

How to call the Meshy Relief API

Meshy Relief runs through POST /v1/3d/generations. The request returns a job_id right away; poll GET /v1/jobs/{job_id} until the job completes and read the output URLs from the result. Get an API key from the EmpirioLabs dashboard.

cURL: submit the job
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: poll for the result
curl https://api.empiriolabs.ai/v1/jobs/JOB_ID \
  -H "Authorization: Bearer $EMPIRIOLABS_API_KEY"
Python
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)
Full Meshy Relief API reference

Meshy Relief API parameters

Request parameters supported by the Meshy Relief API on EmpirioLabs. Defaults apply when a field is omitted.

ParameterTypeDefaultRange / valuesDescription
imageimage--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.
variantenumlowhigh, lowhigh carves deeper, for printed pieces. low carves shallow, for engraving, carving and thin plaques.
should_generate_modelbooleantrue-Build the relief model. Off returns the depth map only, at the same price.
size_mmnumber6020 to 250The length of the photo's longer side on the model, in millimeters.
carving_modeenumembossemboss, engraveemboss raises the near parts of the photo. engrave cuts them in.
carving_depth_mmnumber-0 to 60How deep the relief is carved, in millimeters. When unset: 6 for the high style, 3 for the low style.
remove_basebooleanfalse-Cut away the background and build no base plate.
removal_thresholdnumber0.010.01 to 1The depth, from 0.01 to 1, below which the background is cut away. Applies when remove_base is on.
base_thickness_mmnumber-0.1 to 10The thickness of the base plate, in millimeters. When unset: 1. Not available when remove_base is on.
bend_modeenumoffoff, convex, concaveoff keeps the relief flat. convex bulges the front outward, concave curves it inward.
bend_axisenumxzxz, yzxz curls the left and right edges. yz curls the top and bottom edges.
bend_anglenumber600 to 360The arc the bend spans, in degrees.
mesh_resolutioninteger1024512 to 2048The number of mesh points along the photo's longer side. A higher value keeps finer detail and makes larger files.

Good to know

Turns one photo into a relief: a raised or engraved model of the picture. Billing is per request.

Controls

  • A high style for printed pieces or a low style for engraving and thin plaques, embossed or engraved.
  • The size, the carving depth, the base plate or no base, a convex or concave bend, and the mesh resolution.
  • The depth map alone, at the same price.

Input limits

  • Image: JPG, PNG, or WebP, up to 20 MB, as a URL or base64.

Output

  • The model as a GLB file in meters and an STL file in millimeters, and the depth map as a 16-bit grayscale PNG, each stored and returned as a signed download URL.

Billing

  • A request that is refused or that fails is not billed.

Meshy Relief on the blog

Announcements, prompt tests, and comparisons that cover this model.

Meshy Relief API: common questions

How much does the Meshy Relief API cost?

On EmpirioLabs, Meshy Relief is billed pay as you go. You can also choose a plan with weekly allowances. The live rate card on this page always matches what the API charges.

What inputs and outputs does Meshy Relief support?

Meshy Relief takes Image as input and returns 3D.

Which endpoint does Meshy Relief use?

Meshy Relief is served through POST /v1/3d/generations on api.empiriolabs.ai with standard bearer-token authentication.

What is the model ID for Meshy Relief?

Send meshy-relief as the model in your request. The alternate IDs meshy/meshy-relief also work.

When was Meshy Relief released?

Meshy released Meshy Relief on Nov 5, 2026.

Can I try Meshy Relief in the browser before integrating?

Yes. The EmpirioLabs playground runs Meshy Relief in the browser with the same parameters the API exposes, so you can test prompts before writing code.

How do I get a Meshy Relief API key?

Create an EmpirioLabs account, then generate a key under API Keys in the dashboard. Billing is pay-as-you-go credits, so you only pay for the requests you make. You can also choose a plan with weekly allowances.

Ready to use better endpoints?

Check out our pricing or reach out if you want your own model deployed on our stack.