One of the other most recent features released by Midjourney team has been the ability to create multiple variations of a prompt without having to type each prompt manually. The other feature is /describe which I covered in an earlier post.

This is something that you’ve been able to do for a very long time in other text-to-image tools, I’ve been using this in my local version of Stable Diffusion and have used in the past in Google Colab notebooks, so its great to see that Midjourney finally caught up to this.

At the time of writing this article this feature was only available for Pro Members (the 60$/mo plan) and fast-hours only. This may be available to all later on.

How to generate multiple prompts

The concept is quite simple, you build your prompt and the value that will vary is defined in {} separated by commas. Here is a very easy example:

a beautiful garden in the mountains, summer season, elegant, manicured, 8k HD. We want to create this prompt again and again but vary the season each time. Up to now you would have to run the same prompt four times by varying the season from Summer, Autumn, Winter and Spring.

So now the prompt looks like a beautiful garden in the mountains, {summer, autumn, winter, spring} season, elegant, manicured, 8k HD

When you submit this prompt via the /imagine command, you will notice that Midjourney will compute the total number of prompts that would be generated based on the user submission.

You have the option to say Yes or No. Click of Show Prompts will show you the series of prompts generated. Click on Edit Template to make edits to the templates before finalising it.

There are some limitations with this to ensure we don’t overload the service. All of these ‘batch’ operations are limited to 40 jobs (past that and it will discard them) and will process up to 16 at a time.

Once generated we see the below images produced with our individual prompts.

a beautiful garden in the mountains, summer season, elegant, manicured, 8k HD
a beautiful garden in the mountains, spring season, elegant, manicured, 8k HD
a beautiful garden in the mountains, autumn season, elegant, manicured, 8k HD
a beautiful garden in the mountains, winter season, elegant, manicured, 8k HD

You can now see the potential of this type of prompt which makes creating varying versions of your prompt quite easy. In the above example if you redo the prompt as:

a {painting, photograph} of a beautiful garden in the mountains, {summer, autumn, winter, spring} season, elegant, manicured, 8k HD

We will now end up with 2 x 4 = 8 number of prompts. First it will create a painting and cycle through the seasons and then a photograph and cycle through the seasons.

Conclusion

Hopefully reading so far it has made sense and you’ve got the hang of how you can use these variations or permutations method to convert a single prompt into multiple versions of the same prompt. As I said this is something that was available for a long time in Stable Diffusion based prompting and its great to have in Midjourney. Now all you have to mind the GPU time and make sure you don’t burn through your credits too quickly.

Let me know if you enjoyed reading our post, please comment and share with others.

If you'd like to support our site please consider buying us a Ko-fi, grab a product or subscribe.