Skip to navigation

Meshy Relief

Meshy Relief
Meshy · 3D Generation
POST /v1/3d/generations

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.

See Meshy Relief pricing and specs or try it in the Playground.

At a glance

FieldValue
Model idmeshy-relief
Model release date2026-11-05
Input modalitiesImage
Output modalities3D
Context window-
Weight precision-
Featuresrelief, image_to_3d, 3d_printing
Native inferenceNo
NewYes
Supported endpointsPOST /v1/3d/generations
Alternate model idsmeshy/meshy-relief

Pricing

ChargeSpecRate
Per requestper request$0.80 $0.76

Example request

curl https://api.empiriolabs.ai/v1/3d/generations \
-H "Authorization: Bearer $EMPIRIOLABS_API_KEY" \
-H 'Content-Type: application/json' \
-d '{"model": "meshy-relief", "image": "https://example.com/product-photo.png", "variant": "low", "carving_mode": "emboss"}'

Parameters

ParameterTypeRequiredDefaultDescription
imageimageyes-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.
variantenumno"low"high carves deeper, for printed pieces. low carves shallow, for engraving, carving and thin plaques. · Allowed: high, low
should_generate_modelbooleannotrueBuild the relief model. Off returns the depth map only, at the same price.
size_mmnumberno60The length of the photo’s longer side on the model, in millimeters. · Range: 20 – 250
carving_modeenumno"emboss"emboss raises the near parts of the photo. engrave cuts them in. · Allowed: emboss, engrave
carving_depth_mmnumberno-How deep the relief is carved, in millimeters. When unset: 6 for the high style, 3 for the low style. · Range: 0 – 60
remove_basebooleannofalseCut away the background and build no base plate.
removal_thresholdnumberno0.01The depth, from 0.01 to 1, below which the background is cut away. Applies when remove_base is on. · Range: 0.01 – 1
base_thickness_mmnumberno-The thickness of the base plate, in millimeters. When unset: 1. Not available when remove_base is on. · Range: 0.1 – 10
bend_modeenumno"off"off keeps the relief flat. convex bulges the front outward, concave curves it inward. · Allowed: off, convex, concave
bend_axisenumno"xz"xz curls the left and right edges. yz curls the top and bottom edges. · Allowed: xz, yz
bend_anglenumberno60The arc the bend spans, in degrees. · Range: 0 – 360
mesh_resolutionintegerno1024The number of mesh points along the photo’s longer side. A higher value keeps finer detail and makes larger files. · Range: 512 – 2048

Notes

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.

Machine-readable schema: GET https://api.empiriolabs.ai/v1/models/meshy-relief.