Skip to content
BENIBIX Learn

Inpainting

AI🎨 MultimodalImage Generation

Also known as AI Inpainting, Generative Fill, Outpainting

AI redraws one part of a picture that you mark, and leaves the rest the same.

Think of it like

It is like fixing a hole in a painting. You paint just the hole so it fits the rest.

Example

Lucy has a great street photo, but a parked car blocks the shop sign. She masks the car, and inpainting fills the space with road and shop front that match the rest.

Why it matters

It fixes one part without starting over. Everything you liked about the picture stays.

Definition

Inpainting is AI that redraws one marked part of a picture. The rest is left alone. You paint a mask over the area to change, and can add a prompt to say what should go there. The model fills the mask so that it matches the light, colors and lines around it. It is used to remove things, such as a stranger in the back of a photo, or to add or swap them. Outpainting is the same idea outside the frame, to make a picture bigger.
Only the masked car is redrawn. The rest of the street stays as it was.

Common mistake

Making the mask too tight around the object. Leave a small margin, so the fill blends into its edges.

Key takeaways

  1. 1
    Mask an area. Only that changes.
  2. 2
    Matches around it. Light and lines.
  3. 3
    Remove, add, extend. Outpainting too.

Compare