Skip to content
ImagesFree

Convert Image into Accurate Grayscale Depth Map

A prompt that converts any image into a physically accurate linear grayscale depth map: white for nearest, black for farthest, preserving geometry and occlusion boundaries while removing color, texture, lighting, and shading.

OpenAI

Source previews

These example images come from the original source. DROPIDEA has not independently tested these examples; results depend on the model and settings.

Ready to personalize

Your prompt

English

Replace the red variables with your information. Copy the full prompt and use it with your preferred agent.

TXT MD English version
Convert this image into a physically accurate grayscale linear depth map. White = nearest, black = farthest. Preserve geometry, silhouettes, and occlusion boundaries. Use smooth surface depth gradients and crisp object edges. Remove all color, texture, lighting, shading, outlines, normals, and ambient occlusion. Output only the clean depth map. For this example, I used an image I generated with midjourney.
Preview results

Your prompt

Convert this image into a physically accurate grayscale linear depth map. White = nearest, black = farthest. Preserve geometry, silhouettes, and occlusion boundaries. Use smooth surface depth gradients and crisp object edges. Remove all color, texture, lighting, shading, outlines, normals, and ambient occlusion. Output only the clean depth map. For this example, I used an image I generated with midjourney.

What you get

  • A physically accurate linear grayscale depth map.
  • White representing the nearest parts and black the farthest.
  • Smooth depth gradients on surfaces with crisp object edges.
  • Fully free of color, texture, lighting, shading, outlines, normals, and ambient occlusion.

Use cases

  • Preparing depth maps for VFX and 3D compositing.
  • Using images as displacement maps in 3D software.
  • Creating depth maps for 2.5D parallax and fake camera moves.
  • Training depth perception or spatial-geometry understanding.

How to use

  • Upload the image you want to convert into a depth map (the original example used an image generated with midjourney).
  • Paste the prompt as-is into an image tool that supports reference images.
  • Make sure the reference image is attached and visible before submitting.
  • Run the generation and check the result: white for near objects, black for far ones.
  • Regenerate or adjust if any color or shading appears until you get a clean depth map.

Related prompts