-
-
Notifications
You must be signed in to change notification settings - Fork 778
Custom 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.
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 issome-model.ckpt
(orsome-model.safetensors
), then please rename the yaml file tosome-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:
The model should now be visible in the "Models" dropdown.
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.
- Press Win+R, then type
cmd
and press Enter. - Delete the
C:\EasyDiffusion\models\stable-diffusion
folder. - 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.
- Open the terminal.
- Delete the
/path/to/easy-diffusion/models/stable-diffusion
folder. - 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.
Note: These links lead to websites outside of the Stable Diffusion UI project.
Note: Stable Diffusion models can contain malware. ALWAYS SCAN FOR VIRUSES.
- https://civitai.com/?types=Checkpoint - Overview of many stable diffusion models. Only models of the type checkpoint can be used by Stable Diffusion UI.
- https://rentry.org/sdmodels - List of stable diffusion models from various sources