This is an extremely simple PowerShell script that will:
- install AUTOMATIC1111's stable-diffusion-webui (https://github.com/AUTOMATIC1111/stable-diffusion-webui)
download the Stable Diffusion v1.5 model file (https://huggingface.co/runwayml/stable-diffusion-v1-5/resolve/main/v1-5-pruned.ckpt - warning, direct link to 7.2GB file)this is automatically done by the webui on initial startup if no models are found- create a startup .bat file on the Desktop titled "StableDiffusion.bat"
To accomplish this, it takes the following steps (labelled in the file):
- Install scoop (https://scoop.sh)
- Use scoop to install pyenv-win (https://github.com/pyenv-win/pyenv-win) and git (https://git-scm.com/)
- Use pyenv to install Python 3.10.6
- Use git to clone the stable-diffusion-webui project to the user's Desktop