Inpainting
What is Inpainting?
Inpainting lets you paint over a specific area of an image and have AI fill that area with new content that matches the rest of the image, making it easy to remove objects, fix details, or replace elements without touching the rest of the composition.
At a glance
- Also known as
- Generative fillAI-powered content-aware fillMasked generation
- Used for
- Removing unwanted objects from imagesReplacing specific elements within a compositionFixing generation artefacts such as distorted hands or facesAdding new subjects to existing scenes
- Common tools
- Adobe photoshop generative fillStable diffusion with inpainting modelsRunwayDALL-eMidjourney
- Related terms
- OutpaintingImage-to-imageMaskingGenerative fillArtefacts (visual)
Ready to create?
Direct scenes, design characters, and ship full films
All-in-one AI creative platform with simple, transparent pricing, no speed throttles, and an infinite Canvas for max creativity.
How it compares
Compared with related concepts
Inpainting is the complement to outpainting. Inpainting works within the bounds of the existing image, replacing or modifying content inside the original frame. Outpainting extends the image outward, generating new content beyond the original borders. Both techniques use the same AI understanding of context and style, but serve different editing purposes: inpainting for refinement and correction within, outpainting for expansion and reframing without.
Think of it like…
Inpainting is like digital correction fluid: you paint over the part you want to change, and the AI fills in a fresh version that matches everything around it, leaving the rest of the image completely untouched.
Pro tip
When using inpainting to fix small artefacts or details, mask generously around the problem area rather than selecting a tight region: giving the model more context about the surrounding image typically produces better blending and more convincing reconstructions.
Types and variations
- Inpainting can be performed with or without text prompts.
- Prompt-guided inpainting uses a text description to specify what should appear in the masked region, giving the creator direct control over the replacement content.
- Non-prompt inpainting asks the model to intelligently reconstruct the masked area based on surrounding context alone, useful for object removal and background reconstruction.
- Some workflows use inpainting at multiple rounds, iteratively refining regions until the overall image meets quality requirements.
Ready to make your first scene in Morphic?
Try MorphicCommon use cases
- Inpainting is used to remove unwanted objects or people from images, correct generation artefacts such as distorted hands or faces, replace background elements, add new subjects to existing compositions, adjust specific details without regenerating the whole image, adapt compositions for different aspect ratios, and fix technically imperfect areas in otherwise successful generations.
- It is particularly valuable in AI workflows where a single generation may be mostly successful but contain one or two areas requiring targeted correction.
Ready to create?
Direct scenes, design characters, and ship full films
All-in-one AI creative platform with simple, transparent pricing, no speed throttles, and an infinite Canvas for max creativity.