Skip to content

Instantly share code, notes, and snippets.

@MalikKillian
MalikKillian / _SD_Model_Downloader.md
Last active July 29, 2023 02:48
Stable Diffusion model downloader

This is just a basic script I made up to download Stable Diffusion models. I suppose I wanted a way to quickly recreate my setup if I decided to tear it all down and start fresh. Uh, I guess it sounded like a good idea before I wrote it then I just decided to keep at it until it was done.

This script assumes you're running within an existing AUTOMATIC1111 installation and you've gone through the setup (it requires libraries installed by the venv). This also assumes you're running it from the AUTOMATIC1111/stable-diffusion-webui-ALT/models folder (in order to place downloads into the right folder).

Here's an example of it executing (forgive the use of Windows):

PS C:\Users\Malik\Documents\AUTOMATIC1111\stable-diffusion-webui-ALT> & c:/Users/Malik/Documents/AUTOMATIC1111/stable-diffusion-webui-ALT/venv/Scripts/Activate.ps1
(venv) PS C:\Users\Malik\Documents\AUTOMATIC1111\stable-diffusion-webui-ALT> & c:/Users/Malik/Documents/AUTOMATIC1111/stable-diffusion-webui-ALT/venv/Scripts/python.exe c:/Users/