Skip to content
cmdr2 edited this page Aug 31, 2023 · 18 revisions

What are Stable Diffusion models?

Easy Diffusion uses "models" to create the images. These models get trained using many images and image descriptions. During the installation, a default model gets downloaded, the sd-v1-5 model. Other models exist. Some of them use sd-v1-5 as their base and were then trained on additional images, while other models were trained from scratch.

Depending on the images used during the training, the models generate a different look and understand different prompts.

Installing a model

If you've downloaded a model, you can make it available to Easy Diffusion:

  • Copy the model file to the models\stable-diffusion folder (inside the installed folder). The file should have the suffix .ckpt or .safetensors.

  • If the model comes with a .yaml file, please place that yaml file next to the model, with the same name. For e.g. if the model is some-model.ckpt (or some-model.safetensors), then please rename the yaml file to some-model.yaml, and place it next to the model file in the same folder.

  • Refresh the model list using the "reload"-icon in the "Models" section in the image settings:

    image

    The model should now be visible in the "Models" dropdown.

Sharing model files with other UIs on your PC

If you use multiple Stable Diffusion UIs, you can save disk space by keeping a common copy of the model files. You can create a linked folder to share the models folder between the different Stable Diffusion software.

In the steps below, please change C:\EasyDiffusion to the path where you've installed Easy Diffusion on your PC.

On Windows:

  1. Press Win+R, then type cmd and press Enter.
  2. Delete the C:\EasyDiffusion\models\stable-diffusion folder.
  3. Then type and run: mklink /j "C:\EasyDiffusion\models\stable-diffusion" "D:\CommonStableDiffusion\models\Stable-diffusion"

Please set the second parameter to the actual folder in your PC, which contains the stable diffusion model files.

On Linux/Mac:

  1. Open the terminal.
  2. Delete the /path/to/easy-diffusion/models/stable-diffusion folder.
  3. Then type and run: ln -s "/path/to/common/models/Stable-diffusion" "/path/to/easy-diffusion/models/stable-diffusion"

Please set the first parameter to the actual folder in your PC, which contains the stable diffusion model files.

Web resources

Note: These links lead to websites outside of the Stable Diffusion UI project.

Note: Stable Diffusion models can contain malware. ALWAYS SCAN FOR VIRUSES.