Stable Diffusion · SDXL · Flux Depth · ComfyUI

Free ControlNet Depth Map Generator Online

Create sharp white-near ControlNet depth maps for ComfyUI, Flux.1 Depth, SDXL & Forge. Zero blur. Preprocessor: None ready. Zero uploads.

Drop one or multiple photos to create depth maps

Runs Depth Anything V2 privately in your browser — supports JPG, PNG, WebP & AVIF. Export 8-bit or true 16-bit PNG at original resolution (up to 4K), or select multiple files for a ZIP archive.

Or try an instant built-in sample

Preset:
Crisp ControlNet Depth Maps Ready for Preprocessor: NoneOriginalControlNet · White = Near

Crisp ControlNet Depth Maps Ready for Preprocessor: None

Clean separation between foreground camera, hands, glasses, and dark studio backdrop lets Flux.1 Depth and SDXL ControlNet preserve exact framing while completely transforming materials and lighting.

  • Pre-configured with White = Near, Black = Far, 1.0 gamma, and 0 px smoothing for faithful spatial guidance.
  • Skip local preprocessor nodes and save GPU VRAM—load straight into ComfyUI or Forge with Preprocessor set to None.
  • Raise Far Clip (10–25%) to zero out a cluttered background so your prompt can invent a brand-new environment.
Technical Specifications

ControlNet Depth Map Specifications

AI Diffusion Compatibility
ComfyUI, Flux.1 Depth (Dev / LoRA), SDXL ControlNet Depth, ControlNet Union Pro, SD 1.5 Depth, Forge & Automatic1111
Preprocessor Standard
Pre-processed White = Near / Black = Far grayscale PNG with 0 px blur — set Preprocessor to None to save VRAM
AI Depth Model
Depth Anything V2 Small & Base locally via ONNX Runtime Web (matches ComfyUI DepthAnythingV2Preprocessor output)
Output Formats & Batching
8-bit & 16-bit PNG at original resolution up to 4K, plus multi-image Batch ZIP export for ControlNet datasets
Background Isolation
Built-in Far Clip (Black Point) zeroes out cluttered backdrops so diffusion prompts can generate new scenes cleanly
Privacy & Cost
100% browser-local (0 uploads, never used for AI training), unlimited free runs, zero watermarks

Why Use This ControlNet Depth Map Generator

Exact ControlNet Polarity & Razor Edges

Outputs standard white-near grayscale with 0 px blur so hands, architectural lines, and product silhouettes stay structurally locked.

Zero Custom Nodes or VRAM Contention

Generate conditioning depth maps in a browser tab without installing Python preprocessors or loading extra preprocessor models into your GPU.

Subject-Only Conditioning via Far Clip

Flatten far backgrounds to solid black when you want to preserve foreground pose/layout while completely changing the setting.

Recommended ControlNet Depth Map Settings by Workflow

Scenario / SettingRecommended ValueWhy It Works
Full-Scene Restyle (Architecture / Interiors)Grayscale · Smoothing 0 px · Far Clip 0% · Weight 0.7–0.9Keeps walls, furniture, windows, and perspective vanishing points locked while restyling lighting, materials, and decor.
Character Pose & New BackgroundFar Clip 15–30% · Smoothing 0–1 px · Weight 0.6–0.75Drops the original backdrop to pure black so your prompt freely builds a new environment behind the preserved foreground pose.
Product Photography SwapHigh Detail (V2 Base) · Contrast 1.1× · End Control at 0.8Sharp product contours stay true to real bottle/device geometry while letting the final 20% of sampling refine fine reflections.
Preprocessor Setting in ComfyUI / ForgeSet Preprocessor to None (Already Pre-Processed)Running a second depth preprocessor on an existing depth map degrades contrast and destroys edge alignment.

How to Use Your ControlNet Depth Map in ComfyUI, Forge & Flux

Download the crisp Grayscale PNG (8-bit), then plug it straight into your generation graph:

ComfyUI (SDXL & ControlNet Union)

Apply ControlNet
  1. 1Load the exported PNG via a standard Load Image node—do NOT attach a depth preprocessor node in front of it.
  2. 2Connect the image directly into Apply ControlNet (Advanced) along with your SDXL Depth or ControlNet Union model.
  3. 3Start with Strength 0.70–0.85, Start Percent 0.0, and End Percent 0.85 so fine surface textures resolve naturally in late steps.

Flux.1 Depth (ComfyUI / Diffusers)

InstructPix2Pix / Depth LoRA
  1. 1Feed the exported white-near PNG straight into the InstructPix2PixConditioning / Flux Depth conditioning image input.
  2. 2Match generation width and height to your depth map aspect ratio (e.g., 1024×768) to prevent squashed perspective.
  3. 3Use Guidance 10–20 with Flux Depth Dev for tight geometric adherence across interiors and product shots.

WebUI Forge & Automatic1111

Preprocessor: None
  1. 1Open the ControlNet accordion, enable Unit 0, and drop the exported PNG directly into the image slot.
  2. 2Set Control Type to Depth, set Preprocessor explicitly to none, and select your depth ControlNet checkpoint.
  3. 3Set Control Weight around 0.65–0.85 and Control Mode to Balanced for natural lighting integration.

How to Generate a ControlNet Depth Map in 3 Steps

STEP 01

Drop your reference photo or 3D viewport render

Upload any composition, portrait, interior photo, or Blender blockout privately inside your browser.

STEP 02

Verify crisp white-near edges or clip backdrop

Check foreground alignment with the slider; leave smoothing at 0 px or raise Far Clip to isolate only your subject.

STEP 03

Download PNG & load with Preprocessor: None

Drop the PNG straight into ComfyUI, Flux.1 Depth, Forge, or A1111 with zero extra setup.

ControlNet Depth Map Pitfalls & 1-Step Fixes

Output looks washed out, inverted, or ignores the original scene geometry.

Fix: Verify Preprocessor is set to None in ComfyUI/Forge and confirm Invert Depth Direction is OFF (White = Near).

The generated background keeps copying ugly clutter from the original room.

Fix: Slide Far Clip up to 15–30% in Depth Controls so the old background flattens to uniform black before exporting.

Fine hair, glasses, or thin furniture legs look slightly soft or warped.

Fix: Switch the top quality selector from Fast (V2 Small) to High Detail (V2 Base) and verify Surface Smoothing stays at 0 px.

Related Depth Map Guide

How to Make a Depth Map from a Photo (Free Step-by-Step Guide)

Full walkthrough of Far Clip, Contrast, and exporting clean depth maps for creative tools.

Read Guide

Explore Other Depth Tools

ControlNet Depth Map FAQ

Should ControlNet Preprocessor be set to "None" with this depth map?

Yes. Because the exported grayscale PNG is already a normalized white-near depth map, always set Preprocessor to None in Forge/A1111 or bypass any preprocessor node in ComfyUI.

Does this depth map work with Flux.1 Depth, SDXL, and SD 1.5 ControlNet?

Yes. Flux.1 Depth, SDXL ControlNet Depth, ControlNet Union Pro, and SD 1.5 Depth all share the same white-near / black-far grayscale standard.

What ControlNet strength should I start with?

Start at 0.70–0.85 strength and end conditioning around 80–90% of steps. Dropping control slightly before the final steps lets the diffusion model paint sharper skin, reflections, and micro-textures.

Can I isolate just a person or product while letting AI replace the background?

Yes. Slide Far Clip up (15–30%) until the old backdrop turns pure black, leaving only your foreground subject shaded in bright tones.

Are my reference photos uploaded, stored, or used to train AI?

Never. Depth generation executes strictly on your local device inside your browser—zero images ever touch a server.

Which depth model runs inside the ControlNet preset?

The tool runs open-source Depth Anything V2 models locally via ONNX Runtime Web (Small for Fast mode, Base for High Detail mode), matching the popular ComfyUI DepthAnythingV2Preprocessor output.