Home Artists Posts Import Register

Content

This is an extension that will automatically execute after each image generation, It will use a detection model to detect faces, hands, breasts, and genitalia! (the last two you need to download if you intend to use those). After it detects it will automatically mask the detected area and finally it will touch up the masked portion based on the prompts and settings given.

It does mention you don't need to download any model from Hugging Face since it will add them automatically, except the breasts and genitalia detection models.

When you add it you can either search "adetailer" in the extensions tab or add with URL(the one given in this post)

For NSFW Detection)
I use these below:

Breasts: https://civitai.com/models/138918/adetailer-after-detailer-female-breast-model

Genitalia: https://civitai.com/models/132388/penis-pussy-adetailer-model (I use Pussy V2)

Quick Startup: (Note: I have 6 tabs, in tips n' tricks settings section below mentions how to get that)

When you have installed the extension be sure to restart the UI (I close and reopen it, Just to be sure, if you use skip install as the argument in the bat file, remove it and then run, then you can add it back in)

In Txt2Img and Img2Img tabs put in your usual prompts and setup to get your image to be made but don't run it yet. Scroll down and you will see the Adetailer drop down. Open it and activate it, then choose the detection model you want. Now you can either add certain prompts or just leave them empty to use your main prompts.


Tips n' Tricks:

------SETTINGS------

Tip: "Only two model tabs?" Not really, you can add more in the UI settings tab and look to the left side and you can find Adetailer, you can then increase the amount of models you want to have. You will need to close and reopen the program for the changes to take effect.


HOT TIP!: USE RESTORE FACES!

if you use A1111 1.6:

Go to settings and on the left side at the bottom go to see all settings, and CTRL + F and search "Restore", activate it and then save settings. (No need to restart the program)

For those in earlier versions before 1.6:

It will be in your Txt2Img tab(and Img2Img) and right by where hi-res fix is you will see a thing to check(Restore Faces checkbox). and that's it! It will run before Adetailer and will do a quick fix on faces so Adetailer has an easier time touching up the face!

Also to add it as a quick setting(at the top) go back to control + f and search "quick" (quick settings will be there) and then type in "face", and Face Restoration will show up and click on it!.) and finally save This you will have to restart the program.


Trick: As you may have seen in the settings of Adetailer there was a script selection! You can add the scripts like Dynamic LoRa to the list so Adetailer utilizes the awesome function in the prompt boxes! Let's say you want dynamic lora, you go to the LoRa ctl extension folder like in the image below,

You only need to know the file name without the file extension in the scripts folder of the extension's directory. Now you go back to the settings page in the UI and then add a comma and put down the file name and save! You will need to restart the program to take effect.

------PROMPTING------

Tip: You can add prompts that describe your character's face like expression, eye color, detailed face parts, etc, etc. Preferably what was mentioned in the main prompt, for expressions you want to have an expression prompt so it at least sets the face up for adetialer. If you only add expression to the detailer it may not look good.  This will help it be more accurate since it doesn't have prompts that aren't involved.

Trick: If you intend to use people detection alongside face, hands, genitalia, and breasts. It's best to have the people model run first! It will ruin the already touched-up body parts if you put it after.

Tip: For genitalia, it's recommended you add prompts that are related. For intercourse you want the prompts to describe the pussy like labia majora(the pussy lips), clitoris, puffy pussy(if you want it to be), penis in pussy, but no penis alone, or else you get strange results. I made a funny mistake to leave the prompt box empty and it tried to make a full cowgirl scene within the pussy area hahahaha xD

Files

GitHub - Bing-su/adetailer: Auto detecting, masking and inpainting with detection model.

Auto detecting, masking and inpainting with detection model. - GitHub - Bing-su/adetailer: Auto detecting, masking and inpainting with detection model.

Comments

No comments found for this post.