DCAI
Loading Light/Dark Toggl

A1111 StableDiffusion webUI Extension Usage and Recommendations

⏱️13min read
📅 Apr 30, 2024
🔄 Jul 26, 2024
Category:📂 Novice
A1111 StableDiffusion webUI Extension Usage and Recommendations featured Image
Supported by

The Stable Diffusion web UI extension can be used to extend various functions and is recommended to improve the quality and efficiency of AI image generation.

PR
ASUS TUF Gaming NVIDIA GeForce RTX 4070 Ti SUPER OC Edition Gaming Graphics Card (PCIe 4.0 16GB GDDR6X HDMI 2.1a DisplayPort 1.4a) TUF-RTX4070TIS-O16G-GAMINGの商品画像
ASUS TUF Gaming NVIDIA GeForce RTX 4070 Ti SUPER OC Edition Gaming Graphics Card (PCIe 4.0 16GB GDDR6X HDMI 2.1a DisplayPort 1.4a) TUF-RTX4070TIS-O16G-GAMING
🔗Newegg Link
LaCie 1big Dock 10TB Dual Thunderbolt 3 / DisplayPort 1.4 / USB 3.0 / SD/CF Card Slots Professional Desktop Storage, Docking Station STHS10000800 Blackの商品画像
LaCie 1big Dock 10TB Dual Thunderbolt 3 / DisplayPort 1.4 / USB 3.0 / SD/CF Card Slots Professional Desktop Storage, Docking Station STHS10000800 Black
🔗Newegg Link

How to Install Extensions

Installing extensions is different from installing models, but it is not that difficult if you follow the steps. Here are two ways to install “ADetailer” as an example.

Installing from the official list

Go to Extensions page: First, open the “Extensions” tab.
View official listings: Next, select the “Available” tab and click the “Load from:” button to load the latest list. This will bring up a list of official extensions.
Search ADetailer: Type adetailer in the search window and you will see a list of “ADetailer manipulations”.
adetailer
Installation: Click on the “Install” button at the far right of the list to start the download. When you see the message “Installed into…” and when the completion message appears, go to the “Installed” tab.
Restart the UI: If “adetailer” is listed in the “Installed” tab, click the “Apply and restart UI” button to restart the UI.
Operation check: If the new ADetailer parameters are added to the Generation parameter Area of the “text2img” tab, the installation was successful.

Install using GitHub repository

Open the Extensions tab: Open the “Extensions” tab as you did for the installation from the official list.
Enter the URL: Select the Install from URL tab and enter the following URL in the “URL for extension’s git repository” field.
https://github.com/Bing-su/adetailer.git
Installation and UI restart: After pressing the “Install” button and receiving a completion message, restart the UI by clicking the “Apply and restart UI” button on the “Installed” tab.

How to disable/uninstall extensions

Disable extensions

Open the Extensions tab: First, open the “Extensions” tab.
Select Extension: Locate the extension you wish to disable or uninstall in the list of installed extensions. Deselect the extension by clicking the check button to the left of its name.
Restart the UI: With the selection deselected, click the “Apply and restart UI” button to restart the UI.

Uninstall Extensions

Exit the Web UI system: Exit the Web UI system (venv) before uninstalling the extension.
Delete folder: Open the stable-diffusion-webui/extensions folder in File Explorer and delete the folder of the extension you wish to uninstall.

How to Update Extensions

Check for updates: Open the Extensions tab, go to the Installed tab, and click the “Check for updates” button. After a few moments, “new commits” will appear on the right side of the list of extensions that can be updated.
Performing updates: Leave the “new commits” checkbox of the extension you wish to update enabled and click the “Apply and restart UI” button to restart the UI.
Check after reboot: After restarting, click the “Check for updates” button again to see if the update was successful. If “new commits” in the list is “latest,” the update has been completed.

Introduction of Extensions

Here are some recommended extensions.

After Detailer

After Detailer-Repository URL
https://github.com/Bing-su/adetailer.git

It automatically extracts faces and hands from the generated images and corrects them inpaint. Especially effective is the correction of faces in a pulled composition.

ControlNet

ControlNet-Repository URL
https://github.com/Mikubill/sd-webui-controlnet.git

Various functions are added by installing “ControlNet”. You can add details to images and use useful functions such as the img2img extension, which generates images from rough drawings.

Aspect Ratio selector

Aspect Ratio selector-Repository URL
https://github.com/LEv145/--sd-webui-ar-plus

You can control the ratio of the generated images with a single click. You can also customize it by editing resolutions.txt in stable-diffusion-webui/extensions/--sd-webui-ar-plus.

Recommended customization *Use # to customize to your liking.

Please refer to the GitHub repository if you wish to return to the default.

# SD
#SD1:1, 512, 512
SD3:2P, 768, 512
SD2:3L, 512, 768
# SDXL Square
#XL1:1, 1024, 1024
# SDXL Landscape
XL9:7L, 1152, 896
XL19:13L, 1216, 832
XL7:4L, 1344, 768
XL12:5L, 1536, 640
# SDXL Portrait
XL7:9P, 896, 1152
XL13:19P, 832, 1216
XL4:7P, 768, 1344
XL5:12P, 640, 1536

Regional Prompter

Regional Prompter-Repository URL
https://github.com/hako-mikan/sd-webui-regional-prompter.git

With the Regional Prompter, you can control the composition of the image. For example, two people can be placed side by side and their features can be separated.

Sample images of Regional Prompter
Examples specifying short black hair and long red hair, respectively
Open Image
Example prompt:
hug, 2girls, beautiful_face, standing, upper body, (ultra art illustrated style, masterpiece:1.3), ultra detailed, (medival:1.2), hill_side, blue_sky, horizon ADDCOMM 
(black_hair, short_hair:1.2) ADDCOL 
(red_hair, long_hair:1.2)

Booru tag autocompletion

Booru tag autocompletion-Repository URL
https://github.com/DominikDoom/a1111-sd-webui-tagcomplete.git

It automatically displays tags used in Danbooru, a bulletin board for anime-related illustrations, as candidates

Sample images of Booru tag autocompletion
Open Image

Dynamic Prompts

Dynamic Prompts-Repository URL
https://github.com/adieyal/sd-dynamic-prompts.git

This is an extension that uses multiple prompts at random, similar to the one in “ComfyUI”. For example, if you type {smile|angry|cry}, 1girl in the prompt, it will use one of the three prompts at random. This is useful for batch processing when you want to randomly generate various expressions.

Sample images of Dynamic Prompts
Image generated with “Batch size” set to 3
Open Image

Civitai Helper

Civitai Helper-Repository URL
https://github.com/zixaphir/Stable-Diffusion-Webui-Civitai-Helper.git

With “Civitai Helper,” you can easily manage your Civitai models.

With the announcement of 🔗OpenAI Sora, the quality of txt2mov has improved dramatically. The extensions introduced here are not quite as good as OpenAI Sora’s quality, but there will be extensions like OpenAI Sora in the near future.

Deforum

Deforum-Repository URL
https://github.com/deforum-art/sd-webui-deforum.git

This is an extension for creating AI-generated videos. It is more difficult to use than “AnimateDiff,” which will be introduced later, but it allows you to write prompts to specified keyframes and connect keyframes in a nice way, and also allows you to control the camera, such as zooming in.

AnimateDiff

AnimateDiff-Repository URL
https://github.com/continue-revolution/sd-webui-animatediff.git

”AnimateDiff” is an extension that can generate videos more easily than “Deforum”. This one is simpler than “Deforum” and generates videos from prompts. Also, the video quality has been improved since motion module SD1.5 became V3.

DreamArtist

DreamArtist-Repository URL
https://github.com/IrisRainbowNeko/DreamArtist-sd-webui-extension.git

This is an extension that creates training data from a single piece of training data and can be used as a prompt. A PC with reasonable specs is required for training data.

Conclusion

In this article, we have introduced how to use and recommend extensions for Stable Diffusion web UI. New extensions are being released all the time. We would like to write another article on how to use the extensions introduced in another article.

PR
ASUS TUF Gaming GeForce RTX 4090 OC Edition Gaming Graphics Card (PCIe 4.0 24GB GDDR6X HDMI 2.1a DisplayPort 1.4a) TUF-RTX4090-O24G-GAMINGの商品画像
ASUS TUF Gaming GeForce RTX 4090 OC Edition Gaming Graphics Card (PCIe 4.0 24GB GDDR6X HDMI 2.1a DisplayPort 1.4a) TUF-RTX4090-O24G-GAMING
🔗Newegg Link
Seasonic VERTEX GX-1200 1200W 80+ Gold ATX 3.0 & PCIe 5.0 Ready Full-Modular ATX Form Factor Low Noise Premium Japanese Capacitor 12 Year Warranty Nvidia RTX 30/40 Super AMD GPU Compatibleの商品画像
Seasonic VERTEX GX-1200 1200W 80+ Gold ATX 3.0 & PCIe 5.0 Ready Full-Modular ATX Form Factor Low Noise Premium Japanese Capacitor 12 Year Warranty Nvidia RTX 30/40 Super AMD GPU Compatible
🔗Newegg Link
Supported by