image_to_relief
Converts images into 3D relief models by generating watertight meshes from luminance or neural depth, then exports STL, GLB, 3MF, OBJ, PNG, or EXR for printing and design.
Instructions
LOCAL 0-CREDIT 3D Relief generator (replaces paid API image_to_relief). Supports depth_mode='luminance' (crisp for logos/coins) AND depth_mode='neural' (local Depth Anything V2 ONNX AI depth estimation for photos/portraits!). Builds a 100% watertight solid relief mesh and exports stl/glb/3mf/obj/png/exr.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"image": "<image>"
},
"name": "image_to_relief"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| out | No | ||
| name | No | ||
| rmbg | No | ||
| image | Yes | Local image path (png/jpg/webp). | |
| format | No | ||
| invert | No | ||
| width_mm | No | ||
| sculpmode | No | emboss | |
| depth_mode | No | luminance | |
| resolution | No | ||
| shape_base | No | rect | |
| clear_scene | No | ||
| export_path | No | ||
| bg_tolerance | No | ||
| smooth_radius | No | ||
| height_relief_mm | No | ||
| thickness_base_mm | No |