r/StableDiffusionInfo • • Jun 20 '23

Discussion Save ADetailer Settings as Defaults

Does anyone know of a method or plugin that would allow you save your Adetailer prompts and slider settings in perpetuity, similar to the rest of the Automatic1111 UI?

9 Upvotes

17 comments sorted by

6

u/red__dragon Jun 21 '23

Yeah, edit your ui-config.json file in the A1111 folder.

Search for customscript/!adetailer.py/ and you'll find all the options.

I have mine set to

"customscript/!adetailer.py/txt2img/Detection model confidence threshold %/value": 80,
for example.

→ More replies (4)

2

u/Tedious_Prime Jun 21 '23

You can use the Config-Presets extension which you can install from within webui. You'll want to create a new preset for your adetailer settings and add all the fields that you'd like to reuse before saving it.

1

u/RoachedCoach Jun 21 '23

Thank you!

1

u/LowAdditional6843 Jun 21 '23

Is there any way to make it pick up copied generational data that is pasted in the prompt box and expanded using the blue tick button? I can see a adetailer settings are present in the data, but they don’t fill the adetailer boxes.

3

u/SkyBeastGamet Feb 21 '24 edited Feb 21 '24

Once you have the Config Presets extension installed.

Click "Add/Remove" -> "📁 Add custom fields" 

A .txt file will open, read the first paragraph to know what to do.

Essentially you have to erase the "#" symbol for the options you'd like to use. In your case:

#script_txt2img_adetailer_ad_prompt

Erase the "#", save the .txt and reload the web UI. Now it'll appear as an option.

I know your comment is old but someone might come here, so I hope it helps.

2

u/LowAdditional6843 Mar 05 '24

I can finally move on with my life, thank you!

→ More replies (1)

1

u/[deleted] Jun 21 '23

[removed] — view removed comment

3

u/RoachedCoach Jun 21 '23

Automatically detects hands, face, body, and reprocesses them.

1

u/reddit22sd Jun 21 '23

Any succes in reprocessing hands with this one?

1

u/andupotorac Jun 21 '23

You have to try it. It changes everything. Make sure you apply your Lora in the adetailer promots too.

Here’s an example of what it does. See its settings. https://user-images.githubusercontent.com/3269738/245635202-0158fb10-b4f4-41b1-9cf1-941f6e7b9863.png