Stockertim Dictionary · Artificial intelligence
Inpainting
Also called generative fill, AI inpainting, region editing
In short
Regenerating a selected part of an image, such as an object or a patch of background, while keeping the rest of the picture unchanged.
- Beginner
- Process
- Checked
In detail
Inpainting is an editing technique in which a person marks an area of an image, usually with a brush or selection, and an AI model fills that area with new content. The rest of the image stays as it was. The new content can be guided by a prompt, such as "empty wooden table", or left to blend with the surroundings.
The model looks at the pixels around the selection and generates content that matches their colour, lighting and perspective. Common uses are removing an unwanted object, fixing a flaw, replacing a background element or changing a detail in a generated image without starting again. Results often need several attempts and some manual retouching at the edges.
Inpainting raises honesty questions. Removing a stray cable from a lifestyle photo is routine retouching, but removing a person from a news photo, changing a product's real appearance or adding something that was not there can mislead. Editorial and product images carry stricter limits than illustrations, and many organisations require such edits to be disclosed or forbid them.
Professionals work non-destructively: they keep the original file, do the inpainting on a separate layer and record what was changed.
Worked example
A designer at Lagoon Logistics edits a team photo for a careers page.
- They select a bright exit sign in the background that distracts from the faces.
- They prompt: "plain grey wall matching the surrounding paint".
- They put the result on a separate layer, keep the original file and note the edit in the project record.
- They do not alter any person's face or body.
The distraction is removed honestly, and the original remains available if anyone asks how the image was edited.
In practice
Retouchers use inpainting to clean up photos, fix generated images and adapt layouts. Teams keep originals, edit on layers and follow a written rule on which edits are allowed for editorial, product and marketing images.
Watch out
- Inpainting changes part of an image; outpainting adds new content beyond the original edges.
- An edit that changes what a photo shows as fact may need disclosure or may not be allowed at all.
Learn it properly
Official sources
- Artificial Intelligence Risk Management Framework: Generative Artificial Intelligence Profile · National Institute of Standards and Technology
- Images tutorial · W3C Web Accessibility Initiative
Facts last checked on 3 November 2026.
Education, not advice: the Stockertim Dictionary explains what terms mean. It never recommends buying or selling anything.