Uncategorized

How to use Permutation Prompts in Midjourney [Curly Braces { } Explained]

By

Yubin

Updated

Midjourney Permutation Prompts let you to quickly generate many variations of the same prompt with a single /imagine command.

You use permutation prompts by using a list of things separated with commas , inside curly braces {}.

The stuff outside of the curly braces will be constant throughout all generations, and the list inside the curly braces will be used to create variations.

For example, /imagine a {red, green, yellow} bird will run these 3 generations at the same time:

/imagine prompt a red bird
/imagine prompt a green bird
/imagine prompt a yellow bird

You can put anything inside the curly braces { }. That includes image prompts, parameters, and prompt weights.

Limitations

Permutation prompts are only available while using Fast mode.

Subject Variations

This prompt will create 4 different subjects. This is great for keeping the style consistent when you are trying to tell a story.

{close up of face old man, ethereal kingdom of Elaria, ethereal castle of Elaria, study with many books, giant tree at night} bathed in the shimmering glow of moonlight, cinematic, Celestine Azure --ar 16:9 --v 5.2
Example of permutation prompt in Midjourney, an old man is the subject for the first image; the subject changes for the other images but the style remains the same.
close up of face old man
The second image is "ethereal kingdom of Elaria", and it keeps the same style as the first.
ethereal kingdom of Elaria
The third image is a "study with many books"
study with many books
The fourth image is of a giant tree at night. All images look like they could belong to the same universe.
giant tree at night

Parameter Variations

This prompt will generate the same image with different aspects ratios. Because I am controlling the --seed, the generations turn out quite similar.

industrial brutalist, soft atmospheric perspective, kintsugi, high luminosity, chroma, muted palette, grandiose, harsh angles --seed 102391 --ar {3:2, 1:1, 2:3, 1:2}
The first image is an industrial, brutalist scene of a staircase at 3:2 aspect ratio.
3:2
A similar image at 1:1 aspect ratio.
1:1
A similar image at 2:3 aspect ratio.
2:3
A similar image of stairs at a 1:2 aspect ratio.
1:2

Midjourney Version Variations

This prompt will generate the same image with different versions of Midjourney.

8-bit pixel art, cozy cafe --seed 18231 --v {3,4,5,5.1,5.2}
The pixel art cozy cafe prompt generated with Midjourney version 3.
3
The same pixel art cozy cafe prompt generated with Midjourney version 4. It is noticeably more detailed, and actually looks cohesive.
4
The pixel art cozy cafe prompt generated with Midjourney version 5. It is more aesthetically pleasing.
5
The pixel art cozy cafe prompt generated with Midjourney version 5.1. It is three dimensional.
5.1
The pixel art cozy cafe prompt generated with Midjourney version 5.2.
5.2

Niji --style Variations

This prompt will generate the same image with different --styles of Nijijourney.

a  girl paladin in intricate armor at the top of a hill looking down, muted colors --ar 9:16 --seed 1923 --style {cute,expressive,scenic,original} --niji 5
A female knight in Niji Journey's cute style.
cute
A female knight in Niji Journey's expressive style.
expressive
A female knight in Niji Journey's scenic style.
scenic
A female knight in Niji Journey's original style.
original

To sum it up, permutation prompts are great for comparing variations of a prompt, whether it be the content of the prompt or the parameters. They let you iterate very quickly and are an indispensable part of a prompt wizard's toolkit.

That's the article! Also check out:

FREE RESOURCE
SDXL Prompt Magic

A handbook that helps you improve your SDXL results, fast. Includes:

  • Easy step-by-step instructions
  • My favorite SDXL ComfyUI workflow
  • Recommendations for SDXL models, LoRAs & upscalers
  • Realistic and stylized/anime prompt examples

Leave a Comment