> ## Documentation Index
> Fetch the complete documentation index at: https://docs.comfy.org/llms.txt
> Use this file to discover all available pages before exploring further.

# Meshy Image to Relief in ComfyUI: Photo to Carved 3D Model

> Turn one photo into a bas-relief 3D model and a 16-bit depth map with Meshy Image to Relief in ComfyUI for 3D printing, laser engraving, and CNC carving.

The Meshy Image to Relief Partner Node turns one front-facing photo into a bas-relief mesh and a 16-bit depth map. Relief height follows the photo's brightness, so dark artwork on a light background comes out raised. That makes it a tool for 3D printing, laser engraving, and CNC carving rather than a way to model an object in the round.

## Image to relief workflow

![Meshy Image to Relief workflow](https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/templates/api_meshy_image_to_relief-1.webp)

> [card] [Run on Comfy Cloud](https://cloud.comfy.org/?template=api_meshy_image_to_relief\&utm_source=docs\&utm_medium=referral\&utm_campaign=meshy-image-to-relief)
>
> Open in Comfy Cloud

> [card] [Download Workflow](https://github.com/Comfy-Org/workflow_templates/blob/main/templates/api_meshy_image_to_relief.json)
>
> Download JSON or search "Meshy: Image to Relief" in Template Library

> [card] [Download Sample Input Image](https://raw.githubusercontent.com/Comfy-Org/workflow_templates/main/input/frost_furred_yeti.png)
>
> Get the example artwork for this workflow.

> [!TIP]
>
> To use the Partner Nodes, you need to ensure that you are logged in properly and using a permitted network environment. Please refer to the [Partner Nodes Overview](https://docs.comfy.org/tutorials/partner-nodes/overview.md) section of the documentation to understand the specific requirements for using the Partner Nodes.

> [!TIP]
>
> > [tab] Local users
> >
> > Make sure your ComfyUI is updated.
> >
> > * [Download ComfyUI](https://www.comfy.org/download)
> > * [Update Guide](https://docs.comfy.org/installation/update_comfyui.md)
> >
> > Workflows in this guide can be found in the [Workflow Templates](https://docs.comfy.org/interface/features/template.md).
> > If you can't find them in the template, your ComfyUI may be outdated.
> >
> > If nodes are missing when loading a workflow, possible reasons:
> >
> > 1. You are not using the latest ComfyUI version (Nightly version)
> > 2. Some nodes failed to import at startup
>
> > [tab] Cloud users
> >
> > * [Cloud](https://cloud.comfy.org) will update after ComfyUI stable release.
> >
> > So, if you find any core node missing in this document, it might be because the new core nodes have not yet been released in the latest stable version. Please wait for the next stable release.

## Set up the piece

1. Load a front-facing image. Put a dark subject on a light background, and flatten any transparency onto white first
2. Choose `relief_type`: `low` carves 3 mm for laser engraving, CNC, and plaques, `high` carves 6 mm for 3D-printed pieces
3. Set `size_mm` for the longer side of the photo on the model (20 to 250 mm), and pick `emboss` or `engrave`
4. Choose a `base`: `plate` adds a backing plate with `base_thickness_mm`, `none` cuts the background away
5. Set `bend` to `off`, `convex`, or `concave` to wrap the relief around a cylinder
6. Connect the outputs you need, then click **Run**

## Outputs

Connect only what you need. Meshy generates and downloads the formats wired to the outputs: GLB, STL, OBJ, FBX, USDZ, 3MF, the depth map, or a preview render.

* The depth map is 16-bit. Save it with **Save Image (Advanced)** as a 16-bit PNG for a laser or CNC height map
* `mesh_resolution` runs from 512 to 2048 and sets the mesh density. At 1024 the GLB is about 50 MB, and a bend roughly doubles it
* `color_mapping` colors the GLB, OBJ, FBX, and USDZ from the photo. STL and 3MF stay white

## Limits

* Height comes from brightness: a busy or dark background flattens the relief
* One artwork per call, front elevation only. To build an object in the round, use [Meshy 7](https://docs.comfy.org/tutorials/partner-nodes/meshy/meshy-7.md) image to 3D instead
* The seed only decides whether the node re-runs. Results are not reproducible


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.