Skip to content

Variables do not regenerate for each prompt #717

@spooji

Description

@spooji

"Immediate evaluation" of variables using the ! as in ${season=!{summer|autumn|winter|spring}} results in all generations in a Batch Count to use the same value (i.e. 10 images using 'summer').

Without the !, the variable is evaluated every time the variable is mentioned in a prompt so there will be three random seasons in one prompt when ${season} is called three times.

I cannot find documentation which explains how to get the same value in throughout each generation and then reevaluate on the next generation (i.e. each of the 10 batch count only uses a single season for all instances of ${season} in that generation so image 1 might be summer whereas image 2 might be autumn).

Is this a bug or by design?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions