How to Use Hi3D Image to Relief in Codex
Hi3D Image to Relief turns a single image into a relief depth map. Use it to prepare raised artwork concepts, with further modeling needed for a printable object.
Prompts to try with Hi3D Image to Relief in Codex
Copy an example into Codex, or ask in your own words.
Use Hi3D Image to Relief on assets/portrait.png, then save the depth map beside the source for our plaque study.
Use Hi3D Image to Relief on assets/ornament.webp and add the result to our decorative panel review.
Use Hi3D Image to Relief on each emblem image in assets/emblems, processing one image per generation.
Use Hi3D Image to Relief on assets/botanical.png, then create a side-by-side view of the source and resulting depth map.
Use Hi3D Image to Relief on assets/medallion.jpg and draft a modeling handoff covering the backing, border, and intended dimensions.
How to set up Hi3D Image to Relief in Codex
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the hosted server
codex mcp add spiral --url https://api.spiral.ai/mcp
- Sign in
Codex opens the browser: sign in to Spiral and click Authorize. No API key. codex mcp list then shows Spiral.
codex mcp login spiral
Use the Spiral skill
- Send Codex this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- Install and sign in
Installs the Spiral CLI, signs you in and adds its skill to your coding agents.
npx -y spiral-cli@latest init
Call the Spiral API
- Create an API key
In the console, under API keys.
- Run Hi3D Image to Relief
One request; the result comes back by polling or a webhook.
curl https://api.spiral.ai/v1/runs \ -H "Authorization: Bearer $SPIRAL_API_KEY" \ -H "Content-Type: application/json" \ -H "Idempotency-Key: $(uuidgen)" \ -d '{ "provider": "fal", "model": "hitem3d/hi3d/image-to-relief", "input": { "image_url": "https://storage.googleapis.com/falserverless/example_inputs/dog.png" } }'
Then paste one of the prompts above: Codex finds Hi3D Image to Relief on Spiral, shows the price and runs it.
Hi3D Image to Relief providers and prices
Spiral runs Hi3D Image to Relief through fal. Open a card for today's price, with every fee included.
Settings you can ask for
Hi3D Image to Relief works from your image URL. Ask Codex for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Remove background | on or off | on | Whether to remove the image background before generation. |
| Output format | png or exr | png | File format of the generated depth map. |
Every API field of Hi3D Image to Relief is on its tool page: open its card above.
What can you do with Hi3D Image to Relief in Codex?
Create relief studies from artwork already in your project. Your coding agent can organize the results and prepare a comparison for design review.
Portrait plaque studies
Convert a supplied portrait into a depth map to explore a raised plaque design before modeling its backing.
Decorative wall panels
Use an artwork image as the starting point for a relief panel concept, then review the generated depth.
Commemorative medallions
Generate a relief study from a supplied emblem image before developing the medallion's border and physical dimensions.
Ornamental tile concepts
Turn a botanical or geometric design image into a depth map for a decorative tile study.
Decorative box panels
Explore raised artwork for a box lid using a supplied illustration, with the lid geometry prepared separately.
Reference image comparisons
Process alternative images separately and compare their relief results before choosing a design to develop.
More on Hi3D Image to Relief and Codex
Overview
Hi3D Image to Relief in other agents
Questions about Hi3D Image to Relief in Codex
Can Codex use Hi3D Image to Relief?
Yes. Add Spiral to Codex as an MCP server, and Codex can find and run Hi3D Image to Relief like any built-in tool.
How much does Hi3D Image to Relief cost in Codex?
$0.26 per run. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Codex plan is separate.
Do I need a fal account to use Hi3D Image to Relief in Codex?
No. Spiral runs Hi3D Image to Relief on its own fal account. You sign in to Spiral once and never paste a key.
How long does it take to set up Hi3D Image to Relief in Codex?
About two minutes: add the hosted server, then sign in.
Does Codex wait while Hi3D Image to Relief runs?
Hi3D Image to Relief runs in the background. Codex starts the run, checks on it and gives you the image when it's ready.
What does Hi3D Image to Relief produce?
It produces a relief depth map from a single image. Treat the result as material for further relief design and preparation.
Can I print the result directly?
The documented output is a depth image. Plan a separate modeling step to turn it into the printable geometry your project needs.
What reference image should I choose?
Follow Hi3D's guidance: choose a clear, well-lit image with the whole subject visible and a simple background. Avoid references where other objects obscure the subject.
How large can the source image be?
The documented input limit is 20 MB. PNG, JPEG, and WebP images are supported.
What projects could I try first?
Try a relief study for a portrait plaque, ornamental tile, or commemorative medallion. These are suggested applications of its image-to-relief capability; review the depth map before developing the physical design.
Start using Hi3D Image to Relief in Codex
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Codex:
set up https://spiral.ai/SKILL.md


