How to [set seed] before every image generation in a batch? #104
-
If I do I want to generate a bunch of images that all use the same seed (not +1 for each like what is done by default), is there an easy way I could achieve this with unprompted? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
I am facing the same problem. Trying to run a batch size of let's say 4 with the same seed. The unprompted script contains this line : I also tried this :
Also with more than one seed to choose. Experimenting with Synchronize with main seed and Unprompted Seed was unsuccessfull... Is there any way to use the same seed for the whole batch size, or a list of seeds to choose from? |
Beta Was this translation helpful? Give feedback.
-
Hi @TheHorscht and @WeirdBunch, Thank you for reaching out. The reason that I just released Unprompted v9.5.0 which includes a couple ways to help you achieve what you're after: Option 1) You can use the
Option 2) I added a new special variable called
I hope that helps! Let me know if you have any questions. |
Beta Was this translation helpful? Give feedback.
Hi @TheHorscht and @WeirdBunch,
Thank you for reaching out.
The reason that
[set seed]123[/set]
does not work as expected in a batch run is because the WebUI refers to another variable calledall_seeds
when dealing with multiple images.I just released Unprompted v9.5.0 which includes a couple ways to help you achieve what you're after:
Option 1) You can use the
[array]
shortcode with the new_fill
kwarg to lock in your seed value, which will bypass the normal WebUI behavior of incrementing the seed by 1 for each image. Here's how:Option 2) I added a new special variable called
single_seed
which does the same thing as Option 1. Use it like this: