Skip to content

Inpaint

Node icon
Filter

Fills masked regions with content-aware fill, intelligently synthesizing texture to replace removed areas.

Inpaint removes content from an image and fills the hole with plausible surrounding texture. It uses multi-scale PatchMatch, which searches for similar patches in the image and blends them into the masked area.

Connect a mask to define which areas to fill. The patch size controls how large the texture samples are, and the feather setting softens the boundary between original and filled content.

Pins

ImageImage
InputRequired
MaskMask
InputRequired
ImageImage
Output

Fill

Patch SizeChoice
Default: 1 Range: 7x7 / 9x9 / 11x11 / 13x13 / 15x15

Size of texture patches used for matching. Larger patches capture more context but are slower. Smaller for fine textures, larger for uniform areas

IterationsInteger
Default: 5 Range: 1–10

Number of PatchMatch iterations per scale. More iterations improve quality but take longer

ScalesInteger
Default: 3 Range: 1–4

Pyramid levels for coarse-to-fine matching. More scales help fill larger regions coherently. 1 = single-scale (fastest, less coherent)

Blend

FeatherNumber · px/%
Default: 0.0 Range: 0.0–150.0 px / 0–100%

Soft edge blend at fill boundary. 0 = hard edge, higher = smoother transition

  • Select a larger Patch Size preset from the dropdown (up to 15x15) for filling areas surrounded by complex textures.
  • Increase scales for filling large regions, since more pyramid levels means better large-area coherence.
  • Add feathering to blend the fill boundary smoothly with surrounding content.
  • Combine with Mask Paint to interactively select the area to fill.