Back to glossary

Inpainting

Regenerating a masked region of an image or video while leaving the rest of the frame untouched.

Inpainting regenerates a masked region of an image or video frame — removing an unwanted object, fixing a glitch, or swapping a detail — while leaving everything outside the mask untouched. It's the generative equivalent of a targeted retouch rather than a full re-generation.

Its counterpart, outpainting, extends the frame outward instead, generating plausible new content beyond the original edges — useful for changing an aspect ratio without cropping.

See also: Diffusion Model, Upscaling.

Put these ideas into motion.

Download

Frequently asked questions

Inpainting regenerates a masked, selected region of an image or frame — removing an object, fixing an artifact, or swapping a detail — while keeping everything outside the mask unchanged.

Inpainting fills in or replaces content inside the existing frame; outpainting extends content beyond the original frame's edges, generating new area rather than replacing existing area.

Ready to tell your story?

Describe an idea and watch the agent animate it — on your Mac, in minutes.