Combinatorial
Walks the possible prompt combinations systematically until Max Prompts is reached.
Dynamic prompting expands a single prompt into many prompt variations. It is useful for brainstorming, prompt exploration, and batch testing without rewriting the same prompt by hand.
Put alternatives inside braces and separate them with |.
a {red|green|blue} balloonThis can expand into:
a red balloona green balloona blue balloonYou can use more than one dynamic group in the same prompt:
a {red|green} {balloon|kite}That creates a set of prompt combinations such as a red balloon, a red kite, a green balloon, and a green kite.
$$Prefix a group with a number and $$ to choose multiple distinct options from the same set.
portrait, {2$$rim light|fog|rain|neon reflections}Possible results include:
portrait, rim light, fogportrait, fog, rainportrait, rim light, neon reflectionsThis is useful when you want controlled variety without writing every combination by hand.
Combinatorial
Walks the possible prompt combinations systematically until Max Prompts is reached.
Random
Samples prompt variations instead of enumerating every combination. A seed can make random expansion repeatable.
InvokeAI supports both modes, but where you can choose them depends on the workflow.
Max Prompts limits how many expanded prompts InvokeAI will generate.
This matters because combinations grow quickly. For example:
a {red|green|blue} balloon in {morning mist|golden hour|rain}Even this small prompt already has nine possible combinations.
In the current UI, the Seed Behaviour setting controls how seeds are reused across expanded prompts.
Seed per Iteration
Uses one seed per iteration, so prompt variants in the same iteration share a seed. This is useful when you want to compare prompt wording more directly.
Seed per Image
Uses a different seed for every generated image. This is useful when you want the widest possible variety.
Put dynamic prompt syntax in the positive prompt
In the current linear UI, dynamic prompt expansion is driven from the positive prompt.
Open the preview
Use Show Dynamic Prompts or the prompts preview to inspect the expanded list before you generate.
Set Max Prompts
Keep the expansion under control before launching a large batch.
Choose the right seed behavior
Use Seed per Iteration for easier comparison, or Seed per Image for more variety.
Generate a small batch first
Sanity-check the combinations before scaling up.