Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

I found a solution (How to integrate my stnyb.ckpt  ?).

You have to edit the models.yaml file  (SDImageGenerator-2.0.0-portable-x64\sdenv\stablediffusion\configs\models.yaml)  

and added your model.

The easiest solution is to copy and paste from :

--------------------

your_model:

  description: of your model

  config: configs/stable-diffusion/v1-inference.yaml

  weights: models/ldm/stable-diffusion-v1/your_model.ckpt

  vae: models/ldm/stable-diffusion-v1/vae-ft-mse-840000-ema-pruned.ckpt

  width: 512

  height: 512

---------------------

replace 'your_model' with the name of your ckpt file.

Don't forget to copy your custom template into : 

SDImageGenerator-2.0.0-portable-x64\sdenv\stablediffusion\models\ldm\stable-diffusion-v1


Now,

1- Open: 'SDImageGenerator.exe"

2- Click on the "Dream" button and wait (the load)

3- Go to "Models Switch" in  the settings tab

4- In the drop down menu Models Switch, choose your model (it appears thanks to the little manipulation above)

5- Click on : 'Switch model'

6- Wait for the confirmation window to appear


That's it! You can use your custom model

Thanks, you can read more about it https://nolowiz.com/how-to-use-custom-stable-diffusion-models-with-sdimagegenera...

In another known SD interface, the simple fact of dropping a personal model in a folder intended for the personal ckpt, makes the model automatically available in the interface.

So I looked for why this was not working in SDgenerator, and I found the solution by opening each file that could have modifiable parameters, related to the Switch Model menu interface. I thought I would have to modify other files, but no!