• To improve security, we will soon start forcing password resets for any account that uses a weak password on the next login. If you have a weak password or a defunct email, please update it now to prevent future disruption.

[Stable Diffusion] Prompt Sharing and Learning Thread

devilkkw

Member
Mar 17, 2021
282
962
I love "install missing custom node function". CUI is literally superior on managing update and extension.
Also finally i've added wildcards tath work like a1111 and i'm really happy for it.
But... i need to know if there are a function to call some data from node:
for example i have a latent image node with 896w and 1152h, is posibble to recall the for example in upscale, and apply multiplier?
Like (latent image w)*2?
I know there are a latent upscale do it, but for test i'm doing a function like this is good, change value manually is pretty boring.
 

Sepheyer

Well-Known Member
Dec 21, 2020
1,520
3,584
I love "install missing custom node function". CUI is literally superior on managing update and extension.
Also finally i've added wildcards tath work like a1111 and i'm really happy for it.
But... i need to know if there are a function to call some data from node:
for example i have a latent image node with 896w and 1152h, is posibble to recall the for example in upscale, and apply multiplier?
Like (latent image w)*2?
I know there are a latent upscale do it, but for test i'm doing a function like this is good, change value manually is pretty boring.
There are math and utility nodes, such as "get size" or somesuch. That's how you grab the dimensions.
 

Mr-Fox

Well-Known Member
Jan 24, 2020
1,401
3,791
Seph forgot to mention, it has different styles: Cartoon Style, Semi-realistic, Hard Style, Soft fantasy, Base model .
Pick one and download. The basemodel has trigger words: "Comics style", "Comics", "Cartoon style".
All images were generated with the same prompt and seed, Euler a, 30steps and cgf scale 6.

Cartoon StyleSemi-RealisticHard StyleSoft fantasy
00073-2684256637.png 00076-2684256637.png 00078-2684256637.png 00081-2684256637.png
Base model "Comics style"Base model "Comics"Base model "Cartoon style"Base model "Comics style, Comics, Cartoon style,"
00083-2684256637.png 00088-2684256637.png 00091-2684256637.png 00092-2684256637.png

And bonus.. (hard style)
00009-2684256637.png

And extra bonus..
00016-2684256637.png
 
Last edited:

hkennereth

Member
Mar 3, 2019
226
726
A new way to fix hands with controlnet.



ComfyUi Workflow:

ControlNet Aux:

Hand Inpaint Model:


*I have not tried yet.
Took me a little while to get it working due to a bug that was preventing it from working on Windows, but... yeah, it works. Like most things in Stable Diffusion it doesn't reliably work 100% of the time, but when it does work it is pretty transformative.

1704629711031.png 1704629728919.png
(I also had my Face Detailer set after the first image, which is why the face also changes)

I found the workflow in the video pretty confusing, but this is pretty much all you need to have in your flow (the red part is just for preview of the masks and controlnet images being generated, but it's not required to make it work):
1704629862197.png

All in all, I approve, it's now part of my standard workflow. Thanks for the tip!
 

Mr-Fox

Well-Known Member
Jan 24, 2020
1,401
3,791
Another alternative for fixing hands. This was shared by the great Synalon so all credit goes to him for finding this video tutorial.
It's a process very similar to inpainting but it is done with the free image editor krita and ai live painting. Since it's done in an editor you have much more control with the masking process than the rather primitive and simplistic masking you can do with A1111 inpainting. Combining this with ai igeneration looks like it could be a very useful alternative to inpainting with SD and/or after detailer.

Fixing hands with krita.png
Fixing hands with krita2.png


*I have not tried this yet either, it looks promising though.
 
Last edited:

modine2021

Member
May 20, 2021
329
1,048
dont know what's going on. networks quit showing up. jsut that spinning icon. i do have that prompts-all-in-one extension to make up for it. but i still want the normal tabs to work. im annoy they got rid of the red "show extra networks button". and change it to this. nothing but issues since :cautious:
 
  • Like
Reactions: Sepheyer

devilkkw

Member
Mar 17, 2021
282
962
stop run a1111,
go to your a1111 folder, see if there are a file called user.css.
if yes, rename it like "old_user.css"
clear browser cache,
restart a1111
check if icon is on.
 

modine2021

Member
May 20, 2021
329
1,048
stop run a1111,
go to your a1111 folder, see if there are a file called user.css.
if yes, rename it like "old_user.css"
clear browser cache,
restart a1111
check if icon is on.
ther was no file by that name. clean out cache though. still same issue. cant figure it out..might go back to 1.6 cause 1.7 gvie nothing but headache since updating.
 
Last edited:

devilkkw

Member
Mar 17, 2021
282
962
ther was no file by that name. clean out cache though. still same issue. cant figure it out..might go back to 1.6 cause 1.7 gvie nothing but headache since updating.
The issue come also to me with some extension, move the to a backup folder and run without any extension, just for see if cause is some extension. if you have icon back, some extension have not css updated.
Also using browser inspector is good to see error on page and understand what are breaking css.
 
  • Like
Reactions: modine2021

Sepheyer

Well-Known Member
Dec 21, 2020
1,520
3,584
eh what kind of "tribute" ?.. :unsure: View attachment 3245135 :ROFLMAO:

Seriously though, could you post your prompt for us that is not into the spagetti monster?
I updated the original post with prompt, sorry!

About the tribute - I suddenly caught an obsession bug making me render nothing but Jasmine. Wanted to see what other folks's vision is.

Oh, and by the way, I know what would make Disney's productions less woke.
 
Last edited:

Mr-Fox

Well-Known Member
Jan 24, 2020
1,401
3,791
I updated the original post with prompt, sorry!
wow, I thought for sure you were using a Jasmine lora. Great job. :)(y) And thanks for sharing the prompt. It's the first time in a long while I took a look at your prompting. I see that some habits remains the same, keeping it simple and very organized. I do aim for the same, though I tend to "bash SD over the head" a bit with mine. Especially when I don't get the result I'm looking for. :LOL:

PS you forgot to say which ckpt you are using. I suspect it's Pirsius comic style that you linked to but there are many other comic oriented ckpt's it could be also.. ;)
 
Last edited:
  • Red Heart
Reactions: Sepheyer

Mr-Fox

Well-Known Member
Jan 24, 2020
1,401
3,791
PS you forgot to say which ckpt you are using. I suspect it's Pirsius comic style that you linked to but there are many other comic oriented ckpt's it could be also.. ;) ;)
 
  • Like
Reactions: Sepheyer

Sepheyer

Well-Known Member
Dec 21, 2020
1,520
3,584
PS you forgot to say which ckpt you are using. I suspect it's Pirsius comic style that you linked to but there are many other comic oriented ckpt's it could be also.. ;) ;)
Indeed, it was Pirsius. I tried a lot of others, a few stood out:

Anime From HadesCartoon RealisticDoomer BoomeraZovya Artist Tools v4
a_12634_.png a_12644_.png a_12628_.png a_12708_.png
 

Krukrufu

New Member
Oct 28, 2023
3
4
I just started to learn about stable diffusion about a week ago. I have a 1650 card, and it just doesn't work on it, and even when it does, I get plenty of errors, and the restrictions are just too damn much. So I just used the Colab version, and the result was just too damn good. I just wanted to ask if there's any way I can fix few things, as there are some ristrictions on colab's free plan, and i wanted to use controllnet for posing, is there's any way to achive that with image to image?, also are there any lora's for fixing hands .
final.png
 
  • Like
Reactions: Mr-Fox

Mr-Fox

Well-Known Member
Jan 24, 2020
1,401
3,791
My sympathies about the card, I know that struggle. You can use controlnet open pose in both txt2img and img2img.
Controlnet also has other useful models such as depth and lineart, they allow you to re-use an image.
Another one is ip adapter, it can use an existing image of a person and then change the pose and clothes and background.
For the hands, yes there are probably loras but it's more common with using embeddings. You can find them on civitai.
Search for either negative or bad hands or similar. Here's a few common ones:



Something to consider though, anything meant to correct hands are hit and miss, and any lora or embedding will also affect the image over all not only working on the hands. So is it worth the trade or not? "after detailer" and using its hand model is an alternative I use myself. Yes it will affect the general image slightly but less so I think than the embeddings. Inpainting in img2img tab is a process of masking the hand and with the prompt re-generate that hand, hopefully better this time. Using after detailer with inpainting is a very good way to fix hands. None of these methods can perform miracles though, so if the hands are completely mangled it's less likely to give a good result. I posted just the other day a different alternative using the free image editor "krita" with ai generation. Essentially inpainting inside an image editor.
Since you are hardware limited, I don't know if this is something you can use but I thought I should mention it anyway.
https://f95zone.to/threads/stable-diffusion-prompt-sharing-and-learning-thread.146036/post-12643242
 
Last edited: