RapidRAW Logo RapidRAW
Verified in v1.6.7
Documentation Menu

Inpaint

Inpainting panel showing the Built-in AI status and the Manual Cleanup, Touch Up and Generative Edit tool groups
The Inpainting panel with its three tool groups.

The Inpainting panel is where you remove things and retouch. Press K to open it. It has three groups of tools:

Group Tools What they are for
Manual Cleanup Clone, Heal Copy pixels from one place to another. No AI involved.
Touch Up Liquify, Retouch Reshape and smooth with a brush.
Generative Edit Quick Eraser, Subject, Foreground, Brush, Linear, Radial Select an area, then let AI fill it.

Each thing you do becomes an edit in the Edits list, for example "Clone 1" or "Quick Erase 1". Like masks, edits are non-destructive: you can hide them with the eye icon, change their settings later, or delete them.

The Generative Edit group is hidden when Settings is set to AI-Free.

AI status

The card at the top of the panel shows which AI backend is active. Hover it for details.

Status Meaning
Built-in AI: Ready The on-device model is used. It removes objects well, but cannot generate new content from a prompt.
AI Connector: Ready / Not Detected Uses your own ComfyUI server. "Not Detected" means the server is not running or the address is wrong.
Cloud AI: Ready / Not Logged In / Upgrade Required Uses RapidRAW Cloud. Hover to see your monthly usage.

Choose the backend in Settings → Generative AI.

Manual Cleanup

Clone

Copies pixels exactly from a source spot to where you paint. Use it for repeating textures (brick, grass, fabric) or when you need a precise copy.

Heal

Copies texture from the source spot but matches the color and brightness of the area you paint over. Use it for blemishes, dust spots and small marks on skin or sky. Heal blends in better than Clone in most cases.

How to use Clone and Heal:

  1. Select Clone or Heal.
  2. Click once on a clean area. This sets the source point (a target icon appears).
  3. Paint over the spot you want to fix.
  4. To pick a new source, Ctrl+Click (Cmd+Click on macOS).

Controls: Brush Size (1 to 200), Brush Feather (0 to 100) and Add / Erase to paint or remove the effect.

Touch Up

Liquify

Moves pixels around under the brush, for subtle reshaping.

Control What it does
Pressure Strength of the warp, 1 to 100 (default 40).
Liquify Mode Push moves pixels along your stroke. Pinch pulls them toward the brush center. Expand pushes them outward. Twirl rotates them around the center.
Brush Size, Brush Feather, Add / Erase As above.

Changing Pressure or Mode afterwards re-applies it to the strokes you already painted.

Retouch

Smooths the area under the brush. Good for softening skin texture without copying from another spot.

Control What it does
Intensity Strength of the smoothing, 1 to 100 (default 40).
Brush Size, Brush Feather, Add / Erase As above.

Tip: keep Intensity around 20 to 40 for skin. Higher values start to look plastic.

Generative Edit

These tools work in two steps: first you select an area, then you fill it.

A wind turbine in front of a cloudy mountain: the original, the same photo with the turbine removed, and close-ups of both showing the filled area
A wind turbine painted over with the Brush tool and filled by the built-in on-device model. The close-ups show that the clouds and rock continue naturally.

Quick Eraser

The fastest way to remove something.

  1. Click Quick Eraser.
  2. Drag a box around the object (most accurate), or click on it.
  3. RapidRAW selects the object and fills it automatically with the built-in model.

Quick Eraser always uses the built-in on-device model, even when Cloud or an AI Connector is set up. Its selection is grown generously (Grow default 150, Feather default 75) so edges and shadows are removed too.

Works well on: dust spots, people in the distance, signs, trash cans, power lines against sky. Works less well on: large objects in the foreground, faces and text.

Subject, Foreground, Brush, Linear, Radial

These create a selection that you can refine before filling:

Tool How to select
Subject Drag a box around an object (most accurate), or click on it.
Foreground Selects the main foreground object automatically.
Brush Paint the area by hand.
Linear Drag a straight gradient.
Radial Drag an ellipse.

You can combine several components in one edit, just like in the Masks panel: use Add New Component, Subtract from Edit or Intersect Edit with.

Component controls:

Control Available on What it does
Invert Component All Fill everything outside the selection instead.
Grow Quick Eraser, Subject, Foreground Expands the selection. Defaults are 150 for Quick Eraser and 50 for Subject and Foreground.
Feather Quick Eraser, Subject, Foreground, Radial Softens the edge of the fill.
Brush Size, Brush Feather, Add / Erase Brush As above.

Filling the selection

Below the components is the Generative Replace card:

  • Use basic inpainting. When on, the selection is filled by the built-in on-device model, which uses the surrounding pixels to remove what you selected. This switch is always on (and locked) when the Built-in backend is active, because the built-in model cannot generate new content.
  • When basic inpainting is off (only possible with Cloud or an AI Connector), the fill is done by a generative model. With an AI Connector you also get a prompt field: describe what should appear, for example a field of flowers or empty sidewalk. Leave it empty to just remove things. Cloud does not use a prompt.
  • Click Inpaint Selection (basic) or Generate with AI (generative). While it runs, hover the button to Cancel Generation, or press Escape.

Which backend should I use?

You want to... Use
Remove dust, small objects or people far away Quick Eraser with the built-in model. Free and private.
Remove a large object and have a realistic background drawn in Cloud, or an AI Connector with a good model.
Replace something with new content from a description AI Connector with a prompt.

Privacy

  • Built-in: everything stays on your computer.
  • AI Connector: the image is sent to the server you configured (usually your own machine).
  • Cloud: the selected area plus some surroundings (at most about 1.5 megapixels) is sent to RapidRAW Cloud to generate the fill.

See also