All glossary terms
AI & Generation

What is Inpainting?

An AI technique that fills in or modifies a masked region of an image while preserving the unmasked area. The standard method for AI-healing seamless tile boundaries.

How does inpainting fill a masked area?

Inpainting takes three inputs: an image, a binary mask defining which pixels to edit, and (optionally) a text prompt describing the desired output. The diffusion model runs its denoising process only on the masked region while using the unmasked pixels as fixed context. The output is the original image with the masked region replaced by AI-generated content that visually continues the surrounding patterns. For seamless tile creation, inpainting heals the edges where a tile meets its own repeat, which turns any starting image into a seamless tile. Inpainting quality scales with mask precision: a tight mask (covering only the seam strip) preserves more of the original art but limits the model's ability to redistribute motifs across the seam; a wider mask (covering 20% of the tile) gives the model more freedom but may reinvent details the designer wanted preserved. The width of the healed band is adjustable.

What is inpainting used for in textile design?

A user has a hand-painted floral with motifs running off the edges. The seam between left and right edges does not match. Texloom heals the seam where the left and right edges meet, and the tile then repeats with no visible join.

Related terms

Go deeper