Skip to content

How to [set seed] before every image generation in a batch? #104

Answered by ThereforeGames
TheHorscht asked this question in Q&A
Discussion options

You must be logged in to vote

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 called all_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:

[array all_seeds _fill=123]

Option 2) I added a new special variable called single_seed which does the same thing as Option 1. Use it like this:

[sets single_…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@WeirdBunch
Comment options

Answer selected by ThereforeGames
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants