---
title: "What Is Inpainting?"
description: "Inpainting explained: how AI regenerates a masked part of an image, how it differs from outpainting and img2img, and the content rules generators apply."
locale: en
updated: 2026-11-21
canonical: https://nsfw-hub.com/glossary/inpainting/
breadcrumbs:
  - name: "Home"
    url: https://nsfw-hub.com/
  - name: "Glossary"
    url: https://nsfw-hub.com/glossary/
  - name: "Inpainting"
    url: https://nsfw-hub.com/glossary/inpainting/
---

# What Is Inpainting?

URL: https://nsfw-hub.com/glossary/inpainting/
Updated: 2026-11-21

Inpainting is an AI image-editing method that regenerates only the area you mask, such as a hand or a background, while the rest of the picture stays unchanged.

## How does inpainting work?

Inpainting is an AI image-editing method that regenerates only the area you mask, such as a hand, an outfit or a background, while the rest of the picture stays as it was. It is the usual way to fix a flawed detail in a generated image without starting again, and adult generators apply the same content rules to inpainted areas as to new images.

Inpainting starts with a mask. You paint over the part of the image you want changed, write a prompt for what should appear there, and the model fills the masked region with new pixels that match the lighting and style around it. Everything outside the mask is kept, which is the difference from image-to-image, where the whole picture is redrawn to some degree.

A related method, outpainting, works in the opposite direction and extends the canvas beyond its original edges. Both rely on the same diffusion process as Stable Diffusion, so a strength setting and the usual prompt and negative prompt fields still apply.

Common fixes include extra fingers, mismatched eyes, a clothing change or a cleaner background. PixAI's editor offers inpainting and outpainting next to image-to-image and reference images, and it gives new accounts 10,000 starter credits plus daily bonus credits. Local Stable Diffusion interfaces offer the same mask tool at no cost, at the price of setting up the software yourself.

## Where does inpainting matter for NSFW AI users?

Inpainting matters because it is the cheapest way to rescue a nearly finished image. Regenerating one masked area costs less than rerolling the whole picture, and it keeps the face and composition you already like. On OurDream AI, for example, editing a generated image costs 10 to 20 coins and is open to subscribers only. If you reuse the same seed and settings for the fix, the result also stays closer to the original.

Inpainting can also be misused on a real photo, so the source image matters as much as the prompt. The generators we list either refuse uploads or ban sexual edits of real people: PixAI bans sensitive content from realistic models, and Promptchan's edits work only on its own generations. Our list of NSFW AI image editors compares the tools with inpainting and their upload rules.

## Which terms are related to inpainting?

Inpainting sits next to these glossary entries:

- Image-to-image, which reworks the whole picture.
- Seed, the number that makes a fix repeatable.
- Deepfake, the real-person edit our listed tools ban.
