unrestricted.image
InpaintingEditing

Inpainting Guide: Fix Hands, Faces and Objects Cleanly

A practical inpainting guide for ComfyUI and Forge: masks, denoising strength, masked content options, inpaint models, blending and common fixes.

By the Unrestricted Image Generator AI editorial team· Updated · 3 min read

Inpainting regenerates part of an image. It is the most important skill for turning “almost” into “finished”. Basics in denoising strength.

1. Mask well

  • Cover the problem area plus a small margin.
  • Blur or feather the mask edge so the new pixels blend.
  • For hands, include part of the wrist.

2. Choose masked content

  • Original: start from existing pixels; best for fixes.
  • Fill / latent noise: start fresh; best for replacing objects.

3. Set denoising strength

  • 0.3-0.5: fix shape and detail, keep colours.
  • 0.6-0.9: replace content entirely.

4. Prompt for the area

Describe the masked content and keep style words consistent: “a hand holding a teacup, oil painting, warm light”. You can omit unrelated scene details.

5. Use full-resolution inpainting

“Inpaint only masked” (or crop-and-stitch nodes in ComfyUI) generates the region at higher resolution, then pastes it back. Essential for small faces and hands.

6. Inpaint models

Inpainting-specific checkpoints and FLUX fill or editing models blend edges better. Many general models also work with good settings.

Common fixes

Common questions

Why does my inpainting not match the rest of the image?

Mask edges are too hard, the denoise is too high, or the prompt describes something that clashes with the surrounding style and lighting.

What does 'inpaint only masked' do?

It crops and upscales the masked region for generation, giving more detail, then pastes it back. Good for faces and hands.

Can I inpaint with FLUX?

Yes, with FLUX inpainting workflows and dedicated fill or editing variants in ComfyUI. Settings differ from SDXL.

Related reading

Browse more: all guides · comparisons · glossary · free tools

Unlock the whole studio.

Open the unrestricted AI image generator and take every setting into your own hands.