Prompt Randomizer
Not to be confused with Random Prompts. The Prompt Randomizer allows you to let the AI randomly pick from different options you provide to it inside your prompt.
Anywhere in your prompt, you can create a randomizer section by enclosing it with double bars ||
on both sides. The options you want the randomizer to pick from are then written inside this section and separated with single bar |
characters. Here's a simple example:
1girl, ||red hair|blue hair|green hair||, rain
As you can see, this is a Prompt Randomizer section with three options. When generating an image with this prompt, the AI will randomly pick one of them and generate an image with the prompt 1girl, red hair, rain
or 1girl, blue hair, rain
or 1girl, green hair, rain
, depending on how the dice end up falling. Note that even when you generate on the same seed, the prompt randomization will change.
Of course you are not limited to giving options that are single tags. You can use the Prompt Randomizer in very versatile ways.
Prompt Randomizer sections in natural language:
A girl with ||red|green|blue|| hair standing in the rain
Prompt Randomizer sections with partial tags:
1girl, ||red|blue|green|| hair
Prompt Randomizer sections with multiple tags:
1girl, ||red hair, glasses|blue hair, sunglasses|,||, rain
In the last example, you can see that one of the options is simply a comma. If it gets chosen, the prompt will become 1girl, ,, rain
, which might look odd, but extra commas are automatically cleaned up before generating, so this is an easy way of adding "empty" options to your Prompt Randomizer sections.
Now, for inspiration, here is a slightly longer and more complex example with multiple Prompt Randomizer sections:
1girl, standing, full body, medium hair, ||blue|red|green|brown|black|blonde|silver|| hair, ||skirt|jeans||, ||,|sunglasses, |glasses, ||dress shirt, white shirt, white background, medium breasts
![]() |
![]() |
![]() |
![]() |
These images were generated using the same prompt and seed. As you can see, here prompt randomization can make the girl's hair color range anywhere from blue, red, green, brown, black, blonde, or silver. She'll always have a white dress shirt, but will either wear a skirt or jeans, and can have no glasses, sunglasses or glasses.
Of course you can still use the |
symbol to separate Multiple Character prompts, as long as they are outside of a Prompt Randomizer section.
Actual Prompt
When importing image metadata from an image generated with Prompt Randomizer sections in the prompt, it will usually import the original prompt, including the Prompt Randomizer sections. However, there's an option on the import dialogue, called Actual Prompt, which lets you import the final prompt after randomization, in case you have found a setup that you really like and want to generate more of it.
Note: When inpainting, enhancing, or generating variations, as long as the prompt remains completely unchanged and contains Prompt Randomizer sections, these features will use the Actual Prompt.