Automatic face and hand fixing with ADetailer
ADetailer is the standard Stable Diffusion extension for cleaning up the two things diffusion models reliably get wrong: faces (especially at a distance) and hands. It detects the region with a YOLO model, then inpaints it automatically after the base generation. The trick is that faces, hands, and full bodies each need different denoising and mask settings — this tool gives you the right configuration for your target and model.
How it works
You choose the fix target and your model type. The tool selects the appropriate detection model, a confidence threshold, and the inpainting parameters: denoising strength, mask blur, mask dilation, and only-masked inpaint resolution. Faces get low denoising to stay on-model; hands get higher denoising because finger geometry must be rebuilt; full bodies use a segmentation model with generous dilation so the re-render blends into the scene.
Tips for reliable fixes
- Low denoise for faces, higher for hands. Faces stay recognizable at 0.3-0.4; hands need 0.5+ to actually correct fingers.
- Inpaint at native res. Set only-masked size to 512 (SD 1.5) or 1024 (SDXL) so the cropped region is detailed, not soft.
- Add a positive prompt in ADetailer. A short “detailed eyes, sharp focus” for faces or “five fingers, natural hand” for hands steers the fix.
- Raise dilation to blend. If the fixed region has a visible boundary, increase mask dilation so the inpaint feathers into the surroundings.