AI Art Generation Handbook/How to install Stable Diffusion/Auto1111

Steps to Install Automatic1111 for Windows darkblue 2012 (Updated July 2023)

edit

(1) Ensure your PC meet the basic requirements

(2) Download Python 3.10.10 ← Link here

(3) During the first page of installation wizard, remember to check Add Python 3.10 To PATH

(4) Proceed the rest of installation as per usual

(5) Download Git Version Control ← Link here

(6) Install using the default settings

(7) Go create a folder at your desired locations (Make sure that you have access privilege)

(8) At the address bar, type cmd

(9) At Command Shell window shall prompt and type git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui

(10) Wait for few minutes for it download the Auto1111 files

(11) Click webui-user.bat inside the installed stable-diffusion-webui directory

(12) Wait up to half an hour for it to finished download and install the required libraries , files and SD 1.5 model.

(13)It should shows similar screen upon successful installations

 

edit

(14) Click to download both of the models your_installed_directory\stable-diffusion-webui\models\Stable-diffusion

SDXL 1.0 Model Base (Used for text2img) ( Note: Click  next to sd_xl_refiner_1.0.safetensors )

SDXL 1.0 Refiner Base (Used for img2img) ( Note: Click  next to sd_xl_base_1.0.safetensors )

(15) Download the VAE models

SDXL1.0 VAE (Note: Click  next to sdxl_vae.safetensors )


(16) Enable VAE toolbar in Webui

** Optional

(16) Once finished installation, you can customized the launcher as followed.

C:\Yout_Installed_Locations\StableDiffusion\stable-diffusion-webui\webui-user.bat

@echo off

echo A111111111111111111111111111111111111111111A

echo 1         Stable-Diffusion WebUI           1

echo 1          By : Automatic1111              1

echo 1    (and countless other contributors)    1

echo 1                  2023                    1

echo 1                                          1

echo A111111111111111111111111111111111111111111A

echo     Press following keys to proceed

echo "1" - Proceed as normal

echo "2" - !Update to the latest version Stable Diffusion Web-UI

echo       Make sure the update does not break the existing Stable Diffusion

CHOICE /C:12

IF ERRORLEVEL 2 GOTO GITPULL

IF ERRORLEVEL 1 GOTO WEBUI

:GITPULL

git pull

GOTO WEBUI

:WEBUI

set PYTHON=

set GIT=

set VENV_DIR=

set COMMANDLINE_ARGS= --opt-sdp-attention

call webui.bat

pause

GOTO END

GOTO END

:END