GeoRemover · Depth-Guided Object Removal (Two-Stage, Stage-2 REQUIRED)

Pipeline overview

  1. Compute a colored depth map from your input image.
  2. You create a removal mask (red brush or upload).
  3. Stage-1 runs FLUX Fill with depth guidance to get a first pass.
  4. Stage-2 (REQUIRED) renders the final result from depth → image using Stage-1 output and the original depth.

⚠️ Stage-2 is required. Always click Run Stage-2 (Render) after Stage-1 finishes. Stage-1 alone is not the final output.


Quick start

  1. Upload image (left). Wait for Depth preview (colored) (right).
  2. In Draw mask, pick Draw on: image or depth, then click Prepare canvas.
  3. Paint the region to remove using the red brush (red = remove).
  4. Optionally adjust Mask dilation for thin edges.
  5. Enter a concise Prompt describing the fill content.
  6. Click Run → produces Stage-1 (first pass).
  7. Click Run Stage-2 (Render) → produces the final result.

Mask rules & tips

  • Only red strokes are treated as mask (white = remove, black = keep internally).
  • Paint slightly larger than the object boundary to avoid seams/halos.
  • If you have a binary mask already, use Upload mask.
  • Mask dilation (px) expands the mask to cover thin borders.
Depth encoder
512 2048
256 1024
512 1536
0 128
0 50
10 75

Why Stage-2 is required

Stage-1 provides a depth-guided fill that is not final. Stage-2 renders the definitive image by leveraging:

  • Stage-1 output as updated geometry hints, and
  • Original colored depth as depth_image guidance.
    Skipping Stage-2 will leave the process incomplete.

Troubleshooting

  • “No valid mask detected”: Either upload a binary mask (white=remove) or draw with red brush after clicking Prepare canvas.
  • Seams/halos: Increase Mask dilation (px) (e.g., 8–16) and re-run both stages.
  • Prompt not followed: Lower guidance_scale (e.g., 18–24) and make the prompt more concrete.
  • Depth looks noisy: Use vitl, increase Depth: max_res, or enable FP32.