alexv0iceh / AutoChar

Stable Diffusion WebUI extension for fast and easy automatic creation of detailed character art.
GNU Affero General Public License v3.0
162 stars 11 forks source link

AutoChar - Version 0.9.5 is here!

https://civitai.com/models/95923/autochar-easy-character-art-creation-with-face-auto-inpaint

AutoChar Control Panel is a custom script for Stable Diffusion WebUI by Automatic1111 (1.6.0+) made to help newbies and enthusiasts alike achieve great pictures with less effort.
Basically, it's automation of my basic SD workflow for illustrations (check 'em here: https://t.me/dreamforge_tg) and also my Bachelor graduation work, for which I got an A. I've put decent emphasis in code readability and comments for it, so I hope it will help future contributors and developers of other scripts.

Please check my new guide for it on YouTube that explain all basic functions and pipeline: https://www.youtube.com/watch?v=jNUMHtH1U6E
For text description of scripts' basic idea check 0.9 version tab on CivitAI page.

Installation

Just put script and .onnx face recognition model in your stable-diffusion-webui/scripts folder
PLEASE, don't try to install via URL, it's not an extension, it won't be visible this way!
Also I highly recommend to download 4x-UltraSharp Upscaler (https://mega.nz/folder/qZRBmaIY#nIG8KyWFcGNTuMX_XNbJ_g) and put in /modes/ESRGAN folder

How to use, in short

  1. Go to your txt2img tab
  2. Write prompt, select basic parameters as usual (you don't need highres fix, since it's included in the algorithm)
  3. Select "AutoChar Beta 0.9" in dropdown menu Scripts in the lower part of page
  4. Click "Generate" and enjoy image

0.9.5 changes:

image

Comprehensive description of Advanced and Really Advanced options and tips for their usage:

image

Algorithm itself:

  1. Txt2img generation in chosen resolution
  2. High-res fix to boost details and gain sharpness
  3. [Optional, "on" by default] Filtering with chosen strength
  4. [Optional, "off" by default] Automatic inpainting of face and eyes with chosen parameters
  5. SD Upscale
  6. Automatic inpainting of face and eyes with chosen parameters

image

Coming in 1.0:

image

image