# Inpainting

Canonical page: https://www.theglitch.ai/ai-glossary/inpainting

Regenerating only a masked part of an image while keeping the rest untouched.

[Inpainting, common card \#113 in The Glitch AI glossary: Regenerating only a masked part of an image while keeping the rest untouched.](https://www.theglitch.ai/images/cards/glossary/inpainting.png?v=76d8c56563b8f504)

GLS 113 · common

Also called: Generative fill.

For: Creators

## Why it matters

It is the fastest way to fix one bad detail without losing a shot you otherwise love.

## In practice

Brush over a mangled hand and regenerate just that area.

## Watch for

Edges can show seams and lighting mismatches; zoom in before you ship it.

## Related terms

[Outpainting](https://www.theglitch.ai/ai-glossary/outpainting) · [Image to image](https://www.theglitch.ai/ai-glossary/image-to-image) · [Diffusion model](https://www.theglitch.ai/ai-glossary/diffusion-model)

## Try it here

[Explore prompt examples](https://www.theglitch.ai/library/prompts)

## Guides that use it

[AI image generators worth using in 2027.](https://www.theglitch.ai/learn/ai-image-generators-2027)

## Sources

- [Hugging Face docs: Inpainting](https://huggingface.co/docs/diffusers/using-diffusers/inpaint)

- [Wikipedia: Inpainting](https://en.wikipedia.org/wiki/Inpainting)

Definition updated 2026-10-29.

[The Ultimate AI Glossary (2027): every term](https://www.theglitch.ai/ai-glossary)

---

Site: [The Glitch](https://www.theglitch.ai) · [About Rabin](https://www.theglitch.ai/about) · [Agent guide](https://www.theglitch.ai/agent.md)
