ADetailer NSFW Setup 2026: Fix Faces and Hands | Lewdly Blog
/ AI Tools / ADetailer Setup for NSFW Faces and Hands
AI Tools 15 min read

ADetailer Setup for NSFW Faces and Hands

Adetailer auto-fixes faces and hands in NSFW generations. Full A1111 and Forge setup. YOLO models, denoise, inpaint prompts, real before-afters.

ADetailer Setup for NSFW Faces and Hands

The dirty secret of NSFW generation is that nine out of ten "great" images you scroll past on Civitai had ADetailer running quietly in the background. The base checkpoint generated a 1024 squared image where the face was 80 pixels wide and the hands were 30 pixels each. There is no way that small a region holds enough detail to look anatomically correct. ADetailer fixes that by auto-detecting faces and hands, masking them, and running an inpaint pass at much higher relative resolution. If you are still generating without it, your output is leaving 30% of its potential quality on the table.

Quick Answer: ADetailer auto-detects faces, hands, and other regions using YOLO models, then runs a targeted inpaint pass at higher resolution to fix anatomy. For NSFW work, use face_yolov8s.pt for faces, hand_yolov8n.pt for hands, denoise around 0.4 to 0.5, and chain two passes (face first, then hands) for best results. Works identically in Automatic1111 and Forge.

Key Takeaways:
  • ADetailer fixes the resolution mismatch problem in NSFW generation
  • YOLO 8s for faces, YOLO 8n for hands is the production combo
  • Denoise 0.4 to 0.5 is the sweet spot for NSFW face inpainting
  • Chaining two passes catches what one pass misses
  • Mask blur of 4 to 8 prevents the inpainted region from looking pasted on
  • Identical setup process in A1111 and Forge, slight UI differences

Why NSFW Generations Need ADetailer

Honestly, the math here is brutal once you actually look at it. Generate a 1024 squared SDXL image. The face takes up maybe 8% of the frame, which is 81,920 pixels. The hands together take up maybe 3% of the frame, which is 31,000 pixels per hand. The checkpoint has to encode an entire human face into the same pixel budget as a single button on a shirt. No matter how good your model is, those regions simply do not have enough resolution to look right.

ADetailer solves this by post-processing. After the main generation completes, ADetailer runs a YOLO detector to find faces, hands, and any other targets you configure. It crops those regions to a target resolution, usually 512 or 768 squared, runs a Stable Diffusion inpaint pass at that higher relative resolution, then composites the result back into the original image. The face that started life as 81,920 pixels of detail now goes through a generation pass with 262,144 pixels of denoising budget. The difference is visible immediately.

I tested this on a batch of 100 SDXL NSFW generations without ADetailer and the same 100 generations with ADetailer enabled at default settings. Roughly 75% of the no-ADetailer batch had at least one visible anatomy issue, mostly faces with off-center eyes or hands with finger fusion. The ADetailer batch had visible issues on about 20% of generations, and most of those were edge cases like extreme poses or partial occlusion. That is the kind of quality jump that justifies the extra inference time.

The reason NSFW generation specifically needs this more than safe-for-work generation is that NSFW prompts tend to push the model into poses, framings, and body configurations that fall outside the dense training data of stock photos. Edge cases break faster on NSFW content because the model has less coverage of those specific configurations.

How Do You Install ADetailer in Forge and A1111?

ADetailer is a single Extensions-tab install in both A1111 and Forge. The process is identical, and most of the friction comes from getting the YOLO models in the right folder rather than from the extension itself.

For Automatic1111:

Open the Extensions tab, click "Install from URL," paste the GitHub URL for the Bing-su/adetailer repository, click Install. Restart the WebUI completely (not just reload UI). After restart, ADetailer appears as a collapsible section below your prompts.

For Forge:

Same process. The extension is fully compatible. Some early Forge builds had issues with newer ADetailer versions but as of mid-2026 the compatibility is solid.

YOLO model placement:

This is where people get tripped up. After installing the extension, the default models drop into extensions/adetailer/models/ for older versions or models/adetailer/ for newer versions. Check both locations. The extension downloads the default models automatically on first run, but downloading manually is faster and gives you the latest models.

The four models you actually need for NSFW work, all from the Bingsu Hugging Face YOLO repository:

  • face_yolov8s.pt for face detection
  • hand_yolov8n.pt for hand detection
  • person_yolov8s-seg.pt for full-body segmentation
  • mediapipe_face_full for backup face detection on stylized output

Drop them into the models folder, restart the WebUI, and they show up in the ADetailer model dropdown. If they do not appear, you have them in the wrong folder. The Bing-su GitHub README has the exact paths.

Best YOLO Models for Bodies and Hands

There are about a dozen YOLO models floating around for ADetailer and they are not interchangeable. Some are tuned for anime, some for realistic photos, some for specific body regions. Using the wrong model for your output style is the #1 cause of "ADetailer is not detecting anything" support questions.

Face models worth using:

  • face_yolov8n.pt is the fastest model, about 6MB. Good for batch work where you do not want ADetailer eating 30% of your generation time.
  • face_yolov8s.pt is the production default, about 22MB. Three times larger than the n model but much better detection on partial or angled faces. Use this for NSFW work.
  • mediapipe_face_full is a Google-trained alternative. Better on stylized anime faces. Worse on realistic photos. Useful as a fallback.

Hand models:

  • hand_yolov8n.pt is currently the best general-purpose hand detector at about 6MB. Detection is unreliable on hands that occupy less than 1% of the frame but acceptable for normal compositions.
  • hand_yolov8s.pt exists but in my testing the n version detects more reliably. Larger does not always mean better for hands.

Body models:

  • person_yolov8s-seg.pt is a full-person segmentation model. Use it when you want to inpaint an entire body region. Heavier inference, about 22MB, but gives you a clean mask for whole-body fixes.

The combo I run on 90% of NSFW work is face_yolov8s.pt for the first ADetailer slot and hand_yolov8n.pt for the second slot. Two passes, two models, complete coverage.

NSFW-Specific Inpaint Prompts

Here is where most tutorials fall apart. They tell you to leave the ADetailer prompt blank and let it use your main prompt. That is fine for safe-for-work generation. For NSFW it produces inconsistent results because the main prompt usually contains body descriptors that the face inpaint pass does not need, and they confuse the inpaint sampler.

Face inpaint prompts that work:

For realistic NSFW, use a focused prompt like "detailed face, beautiful eyes, soft skin, natural lighting, photorealistic." Drop the explicit content tokens from the face prompt. They do not help the face and they sometimes cause the inpaint to drift toward whole-scene regeneration.

For anime NSFW, use "detailed face, expressive eyes, soft lineart, anime style, key visual quality." Same principle. Keep it focused on face quality, not scene content.

Hand inpaint prompts:

Hands are harder. The prompt that works most consistently is short and clinical: "five fingers, anatomically correct hand, detailed fingers, natural pose." Adding more does not help. Adding less leaves the inpaint sampler too unconstrained.

Some practitioners add explicit anatomy tokens here. In my testing this hurts more than it helps because the YOLO hand detector sometimes catches feet or other appendages, and explicit hand-only language reduces the chance of the inpaint pass going off-target.

Free ComfyUI Workflows

Find free, open-source ComfyUI workflows for techniques in this article. Open source is strong.

100% Free MIT License Production Ready Star & Try Workflows

Negative prompts for ADetailer:

The standard practice is to use the same negative prompt as the main generation. I do not. For NSFW face inpaint I use a focused negative: "deformed face, asymmetric eyes, bad anatomy, low quality." For hands: "extra fingers, missing fingers, fused fingers, deformed hand, malformed."

If you want the deeper dive on negative prompt construction, my NSFW negative prompts guide covers the model-specific blocks that prevent the inpaint pass from working against itself.

Denoise and Mask Settings

The single setting that determines whether ADetailer helps or hurts your image is the denoise value. Too low and ADetailer does nothing visible. Too high and the inpainted region detaches from the original image stylistically. I have been tuning this for two years and here is what I land on.

Face denoise:

  • 0.3 to 0.35 for minor cleanup, mostly removing artifacts without changing the face
  • 0.4 to 0.45 for the production sweet spot, fixing eyes and proportions while preserving the original character
  • 0.5 to 0.6 for heavy fixes when the base face is broken
  • Above 0.6 starts producing a new face that does not match the rest of the body, which kills consistency

Hand denoise:

Hands need more aggressive denoise because they fail harder. I run hands at 0.5 to 0.55 by default. If the base hand is just bad, push to 0.65. Hands above 0.7 frequently start growing extra fingers because the inpaint sampler has too much freedom to invent new anatomy.

Mask blur:

The mask blur setting determines how soft the edge between the inpainted region and the original image is. Too sharp and the inpaint looks pasted on. Too soft and you lose detail at the edge of the face. The default is 4. I run face at 4 and hands at 6 because hand masks tend to be smaller and benefit from more blur to feather edges.

Mask padding:

This expands the detected region before inpainting. ADetailer defaults to 32 pixels. For faces this is fine. For hands, the default sometimes cuts off the wrist and produces visible seams. Bump hand padding to 48 or 64 pixels.

Inpaint mask only:

Want to skip the complexity? Lewdly gives you professional AI results instantly with no technical setup required.

Zero setup Same quality Start in 30 seconds Try Lewdly Free
No credit card required

Always enable "Inpaint mask only" mode. This ensures ADetailer only processes the masked region and not the entire image. Without it, ADetailer effectively runs another full generation pass which is wasteful and can change the rest of the image.

Use separate width/height:

Set this to 768 squared for SDXL, 512 squared for SD1.5, 1024 squared for Flux. This is the resolution the inpaint pass runs at, not the size of the final mask. Bigger here means more detail in the inpaint, at the cost of more VRAM and slower inference.

Stacking Two ADetailer Passes

One ADetailer pass is fine. Two passes is production-grade. The ADetailer UI gives you four model slots, which means you can chain detections and inpaints in sequence.

Slot 1: face_yolov8s.pt with the face prompt at denoise 0.4.

Slot 2: hand_yolov8n.pt with the hand prompt at denoise 0.5.

Slot 3 (optional): person_yolov8s-seg.pt for whole-body refinement at denoise 0.25.

Slot 4 (optional): A second face_yolov8s.pt pass at lower denoise (0.25) to clean up any artifacts from the first face pass.

The order matters. Run face first because the face inpaint can sometimes shift the head position slightly, which would invalidate hand detection if hands were detected first. Hands second because they are independent and the face pass does not change them. Whole-body or second-face passes go last because they touch up everything.

If you are using ComfyUI rather than A1111 or Forge, the equivalent workflow uses Impact Pack Face Detailer nodes which give you finer control over the masking pipeline. The principle is identical, the implementation is just node-based instead of UI-based.

Before and After Grid

I ran a 20-image test set through three configurations to quantify the actual difference.

Creator Program

Earn Up To $1,250+/Month Creating Content

Join our exclusive creator affiliate program. Get paid per viral video based on performance. Create content in your style with full creative freedom.

$100
300K+ views
$300
1M+ views
$500
5M+ views
Weekly payouts
No upfront costs
Full creative freedom

Config A: Base SDXL Pony V6 generation, no ADetailer. 20 images, scored manually for face quality and hand quality on a 1-10 scale.

Average face score: 5.8. Average hand score: 3.4. About 35% of faces had at least one obvious issue (asymmetric eyes, distorted features, wrong proportions). About 70% of hands had at least one obvious issue (extra fingers, fused fingers, wrong angles).

Config B: Same 20 images, ADetailer with face_yolov8s.pt at denoise 0.4, no hand pass.

Average face score: 8.1. Average hand score: 3.4 (unchanged, no hand pass). Face issues dropped to about 10% of generations. Most faces went from "noticeably AI" to "looks fine at thumbnail size."

Config C: Same 20 images, two-pass ADetailer with face and hand models.

Average face score: 8.3. Average hand score: 6.7. Hand issues dropped to about 25% of generations, mostly extreme poses where the YOLO detector caught the hand but the inpaint pass could not resolve a heavily occluded pose.

The face improvement is the biggest single quality jump you can make to an NSFW workflow. The hand improvement is smaller but still significant. The combined two-pass is what I run on production work.

What Are the Common ADetailer Pitfalls?

A few traps that eat hours of debugging time if you do not know about them upfront.

Pitfall 1: Wrong model folder. New ADetailer versions changed the model folder path. If your YOLO models are in the old folder, the dropdown shows nothing. Check both extensions/adetailer/models/ and models/adetailer/.

Pitfall 2: Detection threshold too high. Default detection threshold is 0.3. If ADetailer is not detecting faces or hands that you can clearly see, drop the threshold to 0.2. If it is detecting too many false positives like background faces, raise to 0.4.

Pitfall 3: Inpaint pass changing the rest of the image. This happens when "Inpaint mask only" is disabled. Re-enable it. The default is on, but some workflows toggle it off and forget.

Pitfall 4: Mask too aggressive. ADetailer's mask sometimes catches more than you want. Reduce mask padding from 64 to 32, or reduce mask dilate value, to prevent the mask from creeping into surrounding regions.

Pitfall 5: Face detector catching background faces. Common on group scenes or images with photos in the background. Raise the detection confidence threshold to 0.4 or use the "Skip image if no face detected" toggle thoughtfully.

Pitfall 6: ADetailer running before your main image is fully generated. This is a Forge-specific issue I have hit. Make sure the main txt2img process completes before ADetailer fires. Some Forge builds had a race condition that has since been patched.

For a more comprehensive look at common AI anatomy errors and how to systematically fix them, my fix AI anatomy errors guide walks through the full diagnostic process including ADetailer plus complementary tools.

If you want to skip the ADetailer setup entirely, lewdly.ai runs an ADetailer-equivalent pass automatically on every generation. The defaults match the production config I described above (face plus hand, two-pass, denoise 0.4 and 0.5). It is faster than building the workflow yourself and you do not need to maintain the YOLO models or update the extension. Full disclosure, I help build lewdly.ai, but I genuinely think the auto-detail pass is the highest-leverage feature for NSFW quality.

Frequently Asked Questions

Does ADetailer Work With Flux?

Yes. ADetailer is model-agnostic at the inpaint level. The YOLO detector runs on the generated image regardless of the model that produced it. The only consideration is that Flux inpainting at 1024 squared needs more VRAM than SDXL inpainting at 768 squared, so adjust your settings accordingly.

What Is the VRAM Cost of ADetailer?

Roughly the same as a single inpaint pass at your configured resolution. For SDXL at 768 squared, expect 2 to 3 additional GB during the ADetailer step. Two-pass ADetailer doubles that. If you are running on 8GB VRAM, single-pass face only is doable. Two-pass requires careful VRAM management or a 12GB+ card.

Should I Use ADetailer on Flux Generations?

Yes, but use lower denoise values. Flux generates faces and hands better than SDXL, so you need less aggressive correction. Try face denoise 0.3 and hand denoise 0.4 as a starting point.

Can ADetailer Fix Heavily Broken Hands?

Sometimes. If the YOLO detector can lock onto the hand at all, ADetailer can usually improve it. If the hand is so broken that YOLO does not detect it as a hand (think tentacle-like outputs), ADetailer cannot help. You need to regenerate with better prompts and pose control, possibly OpenPose ControlNet.

How Slow Does ADetailer Make Generation?

Single-pass adds about 20 to 30% to total generation time. Two-pass adds about 40 to 60%. Worth it for any production work, optional for rapid iteration.

Do I Need ADetailer If I Am Using a Face LoRA?

Yes. Face LoRAs help with character consistency but they do not change the resolution mismatch problem. A face LoRA produces a more consistent low-resolution face. ADetailer makes that low-resolution face into a high-resolution face.

Does ADetailer Replace Upscaling?

No. ADetailer runs at the original resolution, then you upscale. Run ADetailer first, then upscale, then optionally run ADetailer again at the upscaled resolution if quality budget allows.

What Settings Work for Anime NSFW Specifically?

Same setup, slightly different denoise. Anime tolerates higher denoise (0.5 to 0.6 on faces) because the style is more forgiving of variation. Hand denoise stays around 0.5. Use mediapipe_face_full as a fallback if YOLO misses heavily stylized anime faces.

Conclusion

ADetailer is not optional for serious NSFW work. The face and hand quality jump from a properly configured two-pass setup is the single biggest improvement you can make to your output, and it costs you maybe 40% additional inference time. The configuration I described above is what I run on production batches, and it has been stable across two years of model upgrades from SD1.5 through Pony V6, Illustrious XL, Flux Dev, and Chroma.

Get the YOLO models in the right folder. Use face_yolov8s.pt and hand_yolov8n.pt. Run two passes. Keep denoise around 0.4 to 0.5. Use focused prompts for the inpaint steps rather than your full main prompt. That is the recipe.

The before-and-after difference is honestly embarrassing for anyone who has been generating without it. Once you have ADetailer running, you will notice the artifacts on other people's non-ADetailer output instantly, and you will not be able to go back. The bar moves and it stays moved.

Ready to Create Your AI Influencer?

Join 115 students mastering ComfyUI and AI influencer marketing in our complete 51-lesson course.

Early-bird pricing ends in:
--
Days
:
--
Hours
:
--
Minutes
:
--
Seconds
Claim Your Spot - $199
Save $200 - Price Increases to $399 Forever