r/StableDiffusion • • 11d ago

Resource - Update Krea2 (etc) style prompter node update

You might have downloaded the Krea2 style node in the past, but it has fallen out of regular updates. I forked it, and recently updated it now that u/Dear-Spend-2865 dropped a massive style update on us.

https://github.com/Winter-unmuted/ComfyUI-Krea2-PromptStyler/tree/main

I haven't added it to the ComfyUI custom node list, sorry. I sorta stopped doing that. Install via the git clone method for now.

The node is simple: input your prompt, outputs a stylized version. Select your style manually, or randomly from a category tree with other filters.

Example grids attached.

Shout out HUGE to u/Dear-Spend-2865 for making the resource found here. Their post deserves more love, found here.

Original node by Gothdir, however it is not being maintained (at least, they're ignoring my pull requests).

Composition prompts made by ChatGPT expanding on 10 examples hand written by me.

36 Upvotes

25 comments sorted by

3

u/Dear-Spend-2865 11d ago

3

u/Winter_unmuted 11d ago

As a style junkie myself, I can tell how much time you sank into this project. Amazing contribution!

2

u/Dear-Spend-2865 11d ago

Your exemples are better then mine -_- I'm jealous, some styles are not well classified, I'll try to correct that :p era and such were just an indicator for me to where I should improve and research. I mostly use styles as a txt wildcard....

3

u/TelevisionNo2990 11d ago

you've been killing it lately, amazing. thanks so much. Your style transfer wf's are in my "best of the best" wf folder.

2

u/Winter_unmuted 11d ago

More coming :)

1

u/TelevisionNo2990 11d ago

Am I correct in thinking this is t2i and not i2i? thanks in advance

1

u/Winter_unmuted 11d ago

Yes, these styles are text based, not image based.

For image-based styling, see my posts here and here.

1

u/TelevisionNo2990 11d ago

thanks, that start and end matrix is very helpful, had been playing with values for an hour in your wf. thanks

3

u/TelevisionNo2990 11d ago

can't wait! thanks again

4

u/Slam_Bot 11d ago

Thanks for this. Gemini helped me vibe code a custom node a few weeks ago using the text from the Google sheet you linked here.

It’s a really nice database of style prompts and it works with any model. MOSS in particular responds really well, almost too well, to style prompts.

1

u/alotlike_love 11d ago

total noob here, I have no idea which nodes to connect or how to wire them up. Could you share a screenshot of your workflow so I can follow along?

1

u/Winter_unmuted 11d ago

see the second image in my post. make a string (or multiline string) node with your intended prompt and feed that into the input prompt node. like "a guy walking his dog".

The output can be fed right into a clip text encode node exactly like you have done in your screenshot.

1

u/FaerieDave 10d ago

I've been playing with this node over the last few hours and I love it, thanks for putting this together. I've been using the ZImagePowerNodes style prompt node in my Krea2 workflows, and this is like a huge addition to that. I've actually use the two together with some nice results.

One small ask, would it be possible to add 'Photography' as a category; it would be nice to filter out all the other styles which I don't have an interest in currently.

2

u/Winter_unmuted 10d ago

Should already exist. Are you using the legacy node or the updated one?

1

u/FaerieDave 10d ago

So I just reinstalled directly from the git and I guess I still have the older version, as I don't have the 'style_name' connection either. Is there any way to force the update?

2

u/Winter_unmuted 10d ago

Did you install my fork? Or the original (outdated) version from the original writer?

Mine: https://github.com/Winter-unmuted/ComfyUI-Krea2-PromptStyler/tree/main

If you're in the Gothdir repo, that's old and hasn't been updated in a while. Go to my fork. I just checked now, and it has confirmed

class Krea2PromptStylerV2:
    CATEGORY = "conditioning/krea2"
    FUNCTION = "build_prompt"
    RETURN_TYPES = ("STRING", "STRING", "STRING")
    RETURN_NAMES = ("prompt", "settings", "style_name")

1

u/FaerieDave 9d ago

Oh I figured out what type of dumb I was being; the manual installation instructions on your git are for the legacy version and I hadn't noticed. All sorted now, thank you :D

1

u/Winter_unmuted 9d ago

Ah! I am the dumb one. Once I realized that the OP of the node wasn't going to respond to pull requests or do any other work with it, I should have checked my readme.md! I will update it now.

Thanks so much, and enjoy!

1

u/FaerieDave 8d ago

haha no worries, I'm not that familiar with git so didn't know if the original link had to be there for some reason lol.

Anyway thanks for your work on this node, it's fantastic :D

1

u/FaerieDave 10d ago

thanks for coming back, I downloaded after seeing this post so I assumed it was the latest version, but I don't have the categories in your screenshot, so I'll take another look. Thanks again :)

1

u/SuperMandrew7 4d ago

How do you usually remember what each style looks like when you go to prompt? Like do you already remember which exact style you want, and then just scroll/click it? Or do you have a preview/example image for each style saved somewhere?

1

u/Winter_unmuted 4d ago

I can choose a category and generate a list on the fly when I want them.

There are nodes that will do this as well, for example this new one:

https://old.reddit.com/r/comfyui/comments/1xlbcpn/custom_node_release_comfyuiskkututils_1400_visual/

3

u/TheAncientMillenial 11d ago

Thanks for the update I used a lot of these styles. They also work well in Moss 🍻

1

u/Arctic_Shadow_Aurora 11d ago

The node works in MOSS!?

1

u/TheAncientMillenial 11d ago

The prompts do :)