CREATE YOUR AI CUM SLUT ON CANDY.AI TRY FOR FREE
x

Generating AI images with StableDiffusion - Beginner Guide

Richard Perkins

Well-Known Member
Jul 15, 2017
1,266
747
Here and there I will post some ideas with prompts and Loras (if used)

Today I fancied some pictures in the style of NTRMAN

Example #1

You don't have permission to view the spoiler content. Log in or register now.
You don't have permission to view the spoiler content. Log in or register now.
You don't have permission to view the spoiler content. Log in or register now.

Result:
View attachment 4301185


Example #2

You don't have permission to view the spoiler content. Log in or register now.
You don't have permission to view the spoiler content. Log in or register now.
You don't have permission to view the spoiler content. Log in or register now.

Result:
View attachment 4301236 View attachment 4301240 View attachment 4301243 View attachment 4301247

Bonus Pictures:
You don't have permission to view the spoiler content. Log in or register now.
where do you put the loras in
 

Guess_Who

Member
Mar 17, 2024
177
313
where do you put the loras in
I'm also a beginner but I would say here:
lora.PNG
---------------------------------------------------------------------------




I have a different problem. I downloaded it and also the other stuff like the Adons ADetailer. Controlnet I'm not sure if I have it since only ADetailer was shown......
I made also UI settings like you showed Psan2022 . I can open the site to get to the interface. That above is a screenshot from my screen.
My problem is that I can't load in the Stable Diffusion checkpoint. I downloaded the prefectpony. The version you gave the link and a new version but it doesn't open... . I have them placed in the correct path as you showed.
I get the following message after it tries to load it in:

json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)


Stable diffusion model failed to load

Failed to create model quickly; will retry using slow method.
loading stable diffusion model: JSONDecodeError


When I start up the run.bat it also says it can't find certain modules:

Commit hash: 82a973c04367123ae98bd9abdf80d9eda9b910e2
Launching Web UI with arguments: --disable-safe-unpickle
no module 'xformers'. Processing without...
no module 'xformers'. Processing without...
No module 'xformers'. Proceeding without it.
[-] ADetailer initialized. version: 24.11.1, num models: 10
*** Error loading script: main.py
Traceback (most recent call last):
File "Z:\sd.webui\webui\modules\scripts.py", line 515, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
File "Z:\sd.webui\webui\modules\script_loading.py", line 13, in load_module
module_spec.loader.exec_module(module)
File "<frozen importlib._bootstrap_external>", line 883, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "Z:\sd.webui\webui\extensions\openpose-editor\scripts\main.py", line 14, in <module>
from basicsr.utils.download_util import load_file_from_url
ModuleNotFoundError: No module named 'basicsr'
 

Psan2022

Newbie
Mar 8, 2022
81
122
where do you put the loras in
Into your Stable Diffusion folder. (The folder you start the "webui-user.bat" from) -> webui\models\Lora

After that, go to the Lora tab and reload the screen. The Lora should show up.

I have a different problem. I downloaded it and also the other stuff like the Adons ADetailer. Controlnet I'm not sure if I have it since only ADetailer was shown......
I made also UI settings like you showed Psan2022 . I can open the site to get to the interface. That above is a screenshot from my screen.
My problem is that I can't load in the Stable Diffusion checkpoint. I downloaded the prefectpony. The version you gave the link and a new version but it doesn't open... . I have them placed in the correct path as you showed.
The errors seem to come from Openpose. Maybe that is also why Controlnet is not showing up. If you have a freshly downloaded Stable Diffusion with a new version it also may be that the Addons are not cought up yet. So they may not work until they get updated.

You can uncheck the Controlnet Addon under Settings/Extentions and restart the UI. See if the error is still there. You can also delete the "sd-webui-controlnet" folder under "webui\extensions". You can backup the Openpose modules you have donloaded (if you have downloaded any yet).

I suggest also to activate xformers.
Rightclick on the webui-user.bat und open it in the editor put --xformers as an argument and save -> Restart the Application/Server.
1734466437893.png

xformers may also speed up your generation process.

Regarding the checkpoints that are not working. Try without the Controlnet Addon first (just disable it and delete the folder as mentioned above). Reload the UI and see if the issue persists. If yes
Did you put your checkpoints here->
1734466569157.png
After that, reload the checkpoint list (blue arrow button).

If it is still showing an error while loading the checkpoint please tell me

edit: Your ControlNet folder should look something like this:
1734467341206.png
 
Last edited:

Guess_Who

Member
Mar 17, 2024
177
313
Into your Stable Diffusion folder. (The folder you start the "webui-user.bat" from) -> webui\models\Lora

After that, go to the Lora tab and reload the screen. The Lora should show up.



The errors seem to come from Openpose. Maybe that is also why Controlnet is not showing up. If you have a freshly downloaded Stable Diffusion with a new version it also may be that the Addons are not cought up yet. So they may not work until they get updated.

You can uncheck the Controlnet Addon under Settings/Extentions and restart the UI. See if the error is still there. You can also delete the "sd-webui-controlnet" folder under "webui\extensions". You can backup the Openpose modules you have donloaded (if you have downloaded any yet).

I suggest also to activate xformers.
Rightclick on the webui-user.bat und open it in the editor put --xformers as an argument and save -> Restart the Application/Server.
View attachment 4344749

xformers may also speed up your generation process.

Regarding the checkpoints that are not working. Try without the Controlnet Addon first (just disable it and delete the folder as mentioned above). Reload the UI and see if the issue persists. If yes
Did you put your checkpoints here->
View attachment 4344763
After that, reload the checkpoint list (blue arrow button).

If it is still showing an error while loading the checkpoint please tell me

edit: Your ControlNet folder should look something like this:
View attachment 4344784
I deleted everything before you replied and will later install everything from the start. Now I have a dumb question: Do I have to install it into the C: drive or doesn't it matter? Last time I installed it into the Z: drive......
Just want to make sure!
If I get the same errors again I will follow the steps you've shown above.
 

Psan2022

Newbie
Mar 8, 2022
81
122
I deleted everything before you replied and will later install everything from the start. Now I have a dumb question: Do I have to install it into the C: drive or doesn't it matter? Last time I installed it into the Z: drive......
Just want to make sure!
If I get the same errors again I will follow the steps you've shown above.
It does not matter. My Stable Diffusion folder sits on my D Drive.
 

lordbolton

Newbie
Sep 8, 2017
22
21
My stash is like 24gb worth images, oh goodness, I had to compress it with zpaq and send it to another hardrive with 8tb, which is nice, b.t.w I forgot to mention there's option in webui.sh called "--ckpt-dir="drive/models/stable-diffusion"" for models and "--lora-dir="drive/models/loras"" for your loras to set paths to a different locations and set up in webui-user.sh in command --arg section using a notepad editor.
 
Last edited: