MiniMax H3 Max · 5s video in under 3s · World-class generation speed · 50% OFF

Glossary

Image mask

An image mask marks which parts of an image an edit may change and which parts must stay untouched.

Masks are usually painted with a brush or produced automatically, for example by background removal. In most editors, the painted area is editable and the rest is protected.

In product work, masks are how you tell an AI model to change the background but not the product, or the sleeve but not the logo. A loose mask that overlaps product details gives the model permission to alter them.

Paint slightly beyond the area you want changed so the edit can blend, but keep the mask away from text, logos, and fine product details that must remain exact.

Last reviewed 2026-11-16 by the KrafLayer team

Do this in KrafLayer

Related terms

  • Inpainting

    Inpainting is filling or replacing a selected region of an image so the new content blends with the pixels around it.

  • Background removal

    Background removal is the process of separating a product from everything behind it, so the product can be placed on a new background or kept on transparency.

  • Product fidelity

    Product fidelity is how accurately an edited or generated image represents the real product, including its shape, color, materials, text, and details.

See all glossary terms