Table of Contents

Stable Diffusion and other AI Art Notes

Extensions to Check out

https://github.com/Haoming02/sd-webui-mosaic-outpaint for outpainting

Checkpoint Notes

Lots of stable diffusion model checkpoints have recommended settings. Here are some of them.

Real Dream

ICBINP

Recommended settings: DPM++ 3M SDE Karras or DPM++ 2M Karras, 20-30 steps, 2.5-5 CFG (or use Dynamic Thresholding), happiest at 640×960 with a hires fix on top, but if you are happy to hunt through seeds to avoid head duplicates, 768×1152 works quite well also.

Current Setup

Made a folder called ai. All models and interfaces will live here.

Omost

git clone https://github.com/lllyasviel/Omost omost
cd omost
~/.pyenv/versions/3.10.6/bin/python3 -m venv venv
source venv/bin/activate
pip install --upgrade pip
pip install torch torchvision --index-url https://download.pytorch.org/whl/cu121
pip install -r requirements.txt
 
# Run
python gradio_app.py

Automatic1111

git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui automatic
~/.pyenv/versions/3.10.6/bin/python3 -m venv venv
source venv/bin/activate
pip install --upgrade pip
 
# Run
./webui.sh --xformers
 
# Extensions
cd extensions
git clone https://github.com/pkuliyi2015/multidiffusion-upscaler-for-automatic1111 && git clone https://github.com/Mikubill/sd-webui-controlnet && git clone https://github.com/adieyal/sd-dynamic-prompts && git clone https://github.com/Bing-su/adetailer
 
# Model linking
ln -sr ../models/stable-diffusion models/Stable-diffusion/shared
ln -sr ../models/controlnet extensions/sd-webui-controlnet/models/shared

ComfyUI

cd ~/ai
 
git clone https://github.com/comfyanonymous/ComfyUI comfyui
cd comfy
~/.pyenv/versions/3.10.6/bin/python3 -m venv venv
source venv/bin/activate
pip install --upgrade pip
pip install --pre torch torchvision torchaudio --index-url https://download.pytorch.org/whl/nightly/cu124
pip install -r requirements.txt 
 
# Models
ln -sr ../models/stable-diffusion models/checkpoints/shared