I would like to increment some of my wildcard options, rather than just having it choose randomly. On Forge, I could do this with the Dynamic Prompting extension (see here: https://github.com/adieyal/sd-dynamic-prompts?tab=readme-ov-file#combinatorial-generation), but Forge is slow and terrible for me, so I'd love to be able to do it here in Swarm.
#Any way to use wildcards combinatorially?
38 messages · Page 1 of 1 (latest)
Tools -> Grid Generator, Prompt Replace axis
slightly different interface but same goal
Thank you!! I will check it out!!
Thank you so much! I really appreciate your help with that, and I was able to run my first combinatorial sets.
I still have several items of confusion, though; and would super appreciate your advice
It works for rotating through one wildcard, but if I have two or more different wildcards, I am not sure how to run them in true combinatorial form: for example, if setting and colour are both wildcards with ten items, I don't know how to cycle through each line of <setting> with the first line of <colour>, and then each line of <setting> with the second line of <colour>, etc.
Also, when I generate grids, I always get a long strip (rather than the expected cube).
I've read the documentation, but I feel like I'm missing some big pieces -- I'm just quite new to these tools
one prompt replace axis per list of terms. So, for two sets of ten, two axes, which yields a total of 100 gens in the end
Yes! And, I am so sorry, but I don't know how to actually do that.
What would that look like for a prompt like the following:
Some wildcard:colour flowers in a wildcard:setting?
like this^
don't use a literal wildcard for it, to be clear
the list of items in your wildcard get copied into an axis
ahhh, ok, there's where I'm getting tripped up
So it's just a copy-paste, yes?
first line would be colour, red, blue, green, etc
ok, ok, I think I am following now!!! Thank you!
Another thing --
I have noticed that all of the images generated via the grid use the same seed, but if I add a Seed dimension, it's ... well, it's another dimension. How could I have it randomize the seed as per usual between gens?
Thank you again so much for your help!
set an axis for seed, with value as just -1 and that's it
ah, thank you very much!!!
Hi,
In dynamic prompt there is a checkbox for Combinatorial generation. If checked, it generates all possible combinations for wildcards and the batch size is overwritten to the number of combination (there is also a possibility to fix a limit for batch).
Ex: I have a text file with 8 lines, checking it will generate 8 images for all possible value and it also works with nested wildcards.
Is such feature available in Swarm ?
Tools -> Grid Generator
I did and tried before asking but cannot figure how to make it work.
I have a wildcard with 9 lines, all lines are a single prompt.
What should be the correct syntaxt to get 9 images, one for each line ?
Sorry I'm totally new to Swarm )
A free-spirited woman in a flowing, patterned bohemian dress, standing in a sun-dappled meadow, her long hair blowing in the wind, with a wide-brimmed hat and layered jewelry, exuding a sense of peace and independence.
||A bohemian woman with loose, wavy hair, wearing a vintage floral blouse and bell-bottom jeans, walking barefoot along a rustic cobblestone street, her hand gently holding a leather handbag.
||A young woman dressed in a flowing, fringed shawl, layered necklaces, and wide-legged pants, sitting cross-legged on a colorful rug in a cozy, eclectic room with plants and candles, creating a relaxed, earthy atmosphere.
||A bohemian woman with a carefree smile, wearing a boho-chic maxi dress, sitting on a wooden swing under a canopy of greenery, her feet bare and her arms adorned with bangles.
||A woman in a loose, off-the-shoulder tunic, a wide-brimmed hat, and a long, flowing skirt, standing by the ocean at sunset, her hair dancing in the breeze as she gazes out over the water.
||A bohemian woman with long, braided hair, dressed in a loose, patterned kimono, layered bracelets, and wide, flowy pants, standing in front of a vibrant tapestry, her expression peaceful and serene.
||A carefree young woman in a suede fringe vest and a floral skirt, standing in the middle of a sunlit forest, surrounded by wildflowers and soft light, embodying bohemian beauty.
||A bohemian-style woman with a dreamcatcher necklace, wearing a flowy, tie-dye dress and gladiator sandals, strolling barefoot along a sandy beach at sunset, her silhouette framed by warm, golden light.
||A woman in a loose, embroidered tunic with a long, asymmetrical skirt, standing in an open field with a basket of wildflowers, her bohemian spirit shining through her joyful expression.
||A bohemian woman with curly hair and a wide-brimmed hat, wearing a layered, colorful outfit with ethnic prints, sitting by a campfire in the desert, surrounded by vintage blankets and lanterns.
note the || stuck onto each line
and then just do a Prompt axis
alternately, with a single wildcard like that, you can have the <wildcard: ... prompt, no grid gen, and sed Wildcard Seed Behavior to Index, and Images to 9
like so
Ok, let me try. I used the wilcard importer extension for this one.
Well I had a try with these setting but had a batch with 9 similar images., not using all prompts in the wildcards.
Ok, I finally managed to make it work, your instructions were clear but the screenshot was missleading:
Wildcard seed enabled and set to 1 always select the same line.
Disabling it and just setting the wildcard seed behaviour to index worked.
Thanks a lot for the guidance !
That's interesting. I wonder why it doesn't index.