by Meshy

Turn a photo into a printable relief plaque, with GLB, STL and a depth map

meshy/relief/image-to-3d
Meshy Relief AI Image Generator online
  • Photo Relief

About Meshy Relief

Turn a photo into a printable relief plaque, with GLB, STL and a depth map.

Call it with the model name meshy/relief/image-to-3d on POST /jobs/createTask, from $0.96.

Introduction

Meshy Relief turns a single photograph into raised or recessed detail on a plaque, delivering geometry without textures. The unbent result has a flat back.

Key features

A successful request returns three complementary files: GLB for a rotatable preview, STL for slicing and a 16-bit depth PNG for carving. Set the long dimension from 20 to 250 mm and carving depth from 0 to 60 mm, or let the low or high preset supply approximately 3 or 6 mm.

Request parameters

ParameterRequiredDescription
base_thickness_mmNoThickness of the back plate, 0.1 to 10 mm. Leave it empty when Remove base is on. ≥ 0.1 · ≤ 10
bend_angleNoHow far the bend arcs, from 0 to 360 degrees. ≥ 0 · ≤ 360 · Default: 60
bend_axisNoWhich edges curl when the relief bends: left and right, or top and bottom. xz · yz · Default: xz
bend_modeNoCurve the whole relief: convex bulges the front outward, concave curves it inward. Flat by default. off · convex · concave · Default: off
carving_depth_mmNoHow deep the carving goes, 0 to 60 mm. Leave it empty to use the depth of the relief style. ≥ 0 · ≤ 60
carving_modeNoEmboss raises the subject off the plate; engrave cuts the nearest parts into it. emboss · engrave · Default: emboss
image_urlYesThe picture to start from.
mesh_resolutionNoMesh points along the longer side, 512 to 1,024. Lower gives smaller files with less fine detail. ≥ 512 · ≤ 1024 · Default: 1024
relief_heightNolow carves about 3 mm deep by default, high about 6 mm. low · high · Default: low
removal_thresholdNoDepth below which the background is cut away, 0.01 to 1. Only used when Remove base is on. ≥ 0.01 · ≤ 1 · Default: 0.01
remove_baseNoCut the background away and build no back plate, leaving only the subject. Default: false
size_mmNoLength of the photo's longer side on the model, 20 to 250 mm, measured flat before any bend. ≥ 20 · ≤ 250 · Default: 60

Pricing

Prices are in USD and charged to your PopNow balance. When a task is accepted, we reserve the maximum quoted amount from your PopNow balance. On completion, we charge for actual usage, never more than the hold, and release the remainder. If the task fails, the hold is released.

OptionUSD per run
Standard$0.96

Send the same request body to POST /jobs/quote to see the estimated and maximum USD charge before running. A quote does not run the task or charge your balance.

Use cases

Prepare commemorative pet plaques, badges and decorative panels for printing or carving. For a complete object instead of a one-sided relief, consider Seed3D 2.0 or Tripo H3.1.

Prompt guide & pro tips

Choose a sharp subject against a simple background and send its photo URL; no written scene prompt is required. Use emboss for raised detail or engrave for inward cuts. If removing the plate, omit base_thickness_mm and inspect the result: removal can leave background when depth separation is weak. Raise removal_threshold to remove more, and lower mesh_resolution for smaller files with reduced detail. Bending uses convex or concave mode, an xz or yz axis and a 0–360 degree angle.

API quick start

Call the Meshy Relief API in three steps

  1. Create an API key. Sign in to PopNow and create a key in the API console. Keys start with sk-popnow-. API calls are billed in USD from your PopNow balance.
  2. Send the request. POST /jobs/createTask with model meshy/relief/image-to-3d and an input object that follows the parameter table. The response returns a task ID straight away.
  3. Get the result. Poll GET /jobs/recordInfo with the task ID, or pass a callBackUrl and we post the result to it. Download the output links when the task succeeds.
# 1. Create the task. Keep the Idempotency-Key if you retry after a network error.
export IDEMPOTENCY_KEY="$(uuidgen)"
curl -X POST https://api.popnow.ai/api/v1/jobs/createTask \
  -H "Authorization: Bearer $POPNOW_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $IDEMPOTENCY_KEY" \
  -d '{
  "model": "meshy/relief/image-to-3d",
  "input": {
    "image_url": "https://media.popnow.ai/influencer/examples/marco.webp",
    "relief_height": "low",
    "carving_mode": "emboss",
    "bend_mode": "off",
    "bend_axis": "xz"
  }
}'

# 2. Copy data.taskId from the response, then poll until state is succeeded, failed, canceled or expired.
TASK_ID="TASK_ID_FROM_RESPONSE"
curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=$TASK_ID" \
  -H "Authorization: Bearer $POPNOW_API_KEY"

Replace the prompt and any links with your own. The API tab has the response, polling and callback reference.

Meshy Relief API questions

How much does the Meshy Relief API cost?

Meshy Relief costs $0.96 per run. API usage is charged in USD to your PopNow balance. When a task is accepted, we reserve the maximum quoted amount from your PopNow balance. On completion, we charge for actual usage, never more than the hold, and release the remainder. If the task fails, the hold is released.

What is the model name for Meshy Relief in the API?

Put meshy/relief/image-to-3d for Photo Relief in the model field of POST /jobs/createTask.

What files does a completed relief task deliver?

It delivers an untextured GLB for rotating the preview, an STL for a printing workflow and a 16-bit grayscale PNG depth map for carving software.

Can I use this to reconstruct a complete object?

Relief creates a plaque with detail on one side and a flat back before bending. For full-object reconstruction, use [Seed3D 2.0](/models/seed3d-2-0) or [Tripo H3.1](/models/tripo-h3-1).

How do low, high and a depth override interact?

The low preset uses approximately 3 mm of carving depth and high uses approximately 6 mm. An optional carving_depth_mm value from 0 to 60 mm sets the depth directly.

Why can the background plate survive removal?

Removal relies on a depth difference between the subject and background. A larger removal_threshold removes more background; in our tests the oak design kept its plate even at 0.05 with removal enabled.

What do the two bending axes change?

With xz, the left and right sides curl; yz curls the top and bottom. Select convex for outward curvature or concave for inward curvature, then set bend_angle from 0 to 360 degrees.

What are the limits of the Meshy Relief API?

Largest upload: 20 MB. Requests outside these limits are rejected before anything is charged.

Can I try Meshy Relief without writing code?

Run Meshy Relief in the Playground without an API key, using the same PopNow balance as the website, shown in USD. Each run appears in your developer history with its matching code.

All Meshy models

More about Meshy Relief