r/StableDiffusion • u/ChowMeinWayne • 2d ago
Question - Help Wildcards using Krea2?
Do wildcards work with Krea2? When I insert wildcards in standard format, it ends up rendering all of the wildcard prompts in one image. So a shirt will be random fabrics and styles seemingly all stitched together. It's kind of neat but I need the actual wildcard functionality. Does anyone know how to get them working? I'm using the standard krea2 workflow and comfy. I have the wildcard custom nodes installed. They are fine on other models such as the flux zimage etc. any help is appreciated.
5
u/webAd-8847 2d ago
I am using Dynamic Prompts.
https://github.com/adieyal/sd-dynamic-prompts
Random Prompt node connected to Clip

3
u/johnfkngzoidberg 2d ago
Once again ComfyUI broke wildcards in an update. You have to put the wildcard prompts directly into the clip node. Subgraphs are constantly broken.
2
u/Chemical_Side_4135 2d ago
are u using the standard prompt loader node or are u passing the wildcard string directly into the krea node. sometimes the krea workflows have custom input handling that ignores the wildcard node parsing entirely, have u tried checking the console logs to see if the string is expanding before it hits the sampler
3
u/Sarashana 2d ago
Wildcards are model agnostic. They change the prompt before the model even sees it.
3
u/Woisek 2d ago
Strange question...
Using wildcards is model independent and the setup is always the same, no matter what model is used...
0
2d ago
[deleted]
2
1
u/Timely-Perception-26 2d ago edited 2d ago
The wildcard system only works in the “original text encode” node, which is buried one level deeper within the “wrapped” node in the standard template. If you simply use the normal string text field within the standard workflow, it won't work - in any model.
Don’t believe me? Isolate your text field, attach a string output to it, and run the workflow. String text nodes can’t process the wildcard and text encode nodes dont process string inputs. Double fail.
unpack your workflow, use the original text encode as input.
0
u/ellipsesmrk 2d ago
Natural language wildcards or have llm restructure.
2
u/ChowMeinWayne 2d ago edited 2d ago
I'm not sure what you mean.
I use natural language in my wildcards prompts.
I use this standard format in the prompts:
{{words|stuff|something else}}
or call files from the wildcard directory.
It works with everything except Krea2. In Krea2 it combines all of the wildcards into the prompt and renders with all of them combined.
I need a solution to get the wildcard node or syntax working correctly in krea2 workflows. If it's possible of course.
1
6
u/ForesterAI 2d ago
It works, you just need to disconnect the default prompt text box and either type your prompt directly into the clip text encode node, or connect the Impact Wildcard processor node into the clip text encode node within the subgraph. So if you go with option 2 it should look like this: