Pricing
Compare models →| Output | Price per request |
|---|---|
| Relief (model and depth map, or depth map only) | $0.80 |
Input schema
| Parameter | Type | Description |
|---|---|---|
imageRequired | string | Photo to turn into a relief (JPEG, PNG or WebP, at least 32 x 32 px, up to 20 MB). |
variant | string | Relief style; sets the default carving depth (low 3 mm, high 6 mm).lowhigh"low" |
should_generate_model | boolean | Turn off to get only the 16-bit depth map, with no model files. The price is the same.Default: true |
size_mm | number | Length of the photo's longer side on the model, in mm, measured flat before any bend.Default: 60Minimum: 20 · Maximum: 250 |
carving_mode | string | emboss raises the subject from the plate; engrave cuts the nearer parts in.embossengrave"emboss" |
carving_depth_mm | number | Carving depth in mm (0-60). Default follows variant.Minimum: 0 · Maximum: 60 |
remove_base | boolean | Cut away the background and build no base plate.Default: false |
removal_threshold | number | Depth below which the background is cut (used with remove_base).Default: 0.01Minimum: 0.01 · Maximum: 1 |
base_thickness_mm | number | Base plate thickness in mm (0.1-10). Leave unset with remove_base.Minimum: 0.1 · Maximum: 10 |
bend_mode | string | Bend the relief: convex bulges the front outward, concave curves it inward.offconvexconcave"off" |
bend_axis | string | xz curls the left and right edges, yz the top and bottom (with bend_mode convex or concave).xzyz"xz" |
bend_angle | number | Arc the bend spans, in degrees (0-360).Default: 60Minimum: 0 · Maximum: 360 |
mesh_resolution | integer | Mesh points along the longer side (512-2048). Higher keeps more detail and makes larger files.Default: 1024Minimum: 512 · Maximum: 2048 |
README
Meshy Relief
Meshy Relief turns a photo into a relief: a flat plate with the subject raised (emboss) or cut in (engrave), for 3D printing and CNC workflows. Download a GLB, a binary STL in millimeters, and the 16-bit depth map.
Why Choose This?
- Photo to relief — Create a relief model from one image.
- Carving controls — Emboss or engrave, with depth, size and base thickness in millimeters.
- Cut-out and bend — Remove the background plate, or curl the relief into a convex or concave arc.
- Depth map only — Skip the model and get just the depth map at the same price.
Parameters
| Parameter | Required | Description |
|---|---|---|
| image | Yes | Photo to convert (JPEG, PNG or WebP, at least 32 x 32 px, up to 20 MB). |
| variant | No | low or high relief style; sets the default carving depth (3 mm or 6 mm). Default: low. |
| should_generate_model | No | Set to false to return only the depth map. Default: true. |
| size_mm | No | Length of the photo's longer side on the model, 20-250 mm. Default: 60. |
| carving_mode | No | emboss or engrave. Default: emboss. |
| carving_depth_mm | No | Carving depth, 0-60 mm. |
| remove_base | No | Cut away the background and build no base plate. Default: false. |
| removal_threshold | No | Depth below which the background is cut, 0.01-1. Used with remove_base. Default: 0.01. |
| base_thickness_mm | No | Base plate thickness, 0.1-10 mm. Leave unset with remove_base. |
| bend_mode | No | off, convex or concave. Default: off. |
| bend_axis | No | xz curls the left and right edges; yz the top and bottom. Default: xz. |
| bend_angle | No | Arc of the bend in degrees, 0-360. Default: 60. |
| mesh_resolution | No | Mesh points along the longer side, 512-2048. Default: 1024. |
How to Use
- Upload the photo you want to turn into a relief.
- Choose emboss or engrave, the size and the carving depth.
- Optionally cut away the background or bend the plate.
- Submit the request and download the GLB, STL and depth map.
Pricing
| Output | Price per request |
|---|---|
| Relief (model and depth map, or depth map only) | $0.80 |
Notes
- The outputs are the GLB (no texture, in meters), the STL (millimeters, Z up) and the 16-bit grayscale depth map. A depth-map-only request returns only the depth map.
- Higher
mesh_resolutionmakes much larger files: about 40-50 MB GLB and 80-105 MB STL at1024, and about 150 MB and 300 MB at2048. A bend can push the STL much higher.
- With
remove_baseon, a carving depth of0gives an empty model that still succeeds and is charged.
Catalog rates and input examples are published for reference. Contact OpenSI about access and applicable pricing.
Meshy Relief Image-to-3D API example
The catalog lists POST https://api.opensi.com.ai/api/v3/meshy/relief for the submission step. Confirm the endpoint and access with your supplier before sending a request.
HTTP request body
{
"image": "https://interactive-examples.mdn.mozilla.net/media/cc0-images/painted-hand-298-332.jpg",
"variant": "low",
"should_generate_model": true,
"size_mm": 60,
"carving_mode": "emboss",
"carving_depth_mm": 0,
"remove_base": false,
"removal_threshold": 0.01,
"base_thickness_mm": 0.1,
"bend_mode": "off",
"bend_axis": "xz",
"bend_angle": 60,
"mesh_resolution": 1024
}Meshy Relief Image-to-3D API — Frequently asked questions
What is the Relief API?
Relief is a Meshy model for 3D asset generation from images, exposed as a REST API on OpenSIAI. Meshy Relief converts photos into embossed or engraved 3D reliefs, making it suitable for decorative models, plaques, medallions, 3D printing, and design workflows, with support for standard 3D and depth-map outputs. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing. You can call it programmatically or try it from the playground above.
How do I call the Relief API?
POST your input parameters to the model's REST endpoint (shown in the API tab of this playground) with your OpenSIAI API key in the Authorization header. Submission returns a prediction ID. Poll the result endpoint starting around every 2 seconds, increase the interval for long-running tasks, and stop on any terminal status. The playground generates Python, JavaScript, and cURL examples for submitting requests and polling results. Full request/response shape is documented at /docs/docs-api/meshy/relief.
How much does Relief cost per run or per second?
Relief starts at $0.8 per run or per second. That figure is the base price — the final charge scales with the parameters you set in the form (output size, length, count, references, or whatever knobs this model exposes), so a higher-quality or larger output costs more than a minimal one. The exact cost for your current input is shown live next to the Generate button before you submit, and the actual per-call charge is recorded on the prediction afterwards.
What inputs does Relief accept?
Key inputs: image, base_thickness_mm, bend_angle, bend_axis, bend_mode, carving_depth_mm. The full JSON schema (types, defaults, allowed values) is rendered above the Generate button and mirrored in the API reference at /docs/docs-api/meshy/relief.
How long does Relief take to generate?
Reported generation time on OpenSIAI is around 65 seconds per request. This is an estimate, not a latency guarantee; queue time and input settings can change the total wait. live status is visible in the prediction record.
Can I use Relief outputs commercially?
Commercial usage rights depend on the model's license, set by its provider (Meshy). Check the provider's applicable terms and OpenSIAI's Terms of Service before commercial use.
