From the course: Midjourney: Tips and Techniques for Creating Images

Multiple text prompts in one (Permutation Prompts) - Midjourney Tutorial

From the course: Midjourney: Tips and Techniques for Creating Images

Multiple text prompts in one (Permutation Prompts)

- [Instructor] When you're trying to look for specific outcomes with Midjourney, look no further than permutations. What this allows you to do is essentially have multiple text prompts in one, giving you several different variations. Let's say, for example, that I know that I wanted a car in the scene, but I had no idea what car color would work best with the aesthetic of the background. What I could do is try out various colors using a permutation, and that is going to create several outcomes from that. Let's take a look and see how this is done. And in fact, with the imagine prompt, we will use that car example. So I'm going to type in the slash followed by Tab to select the top imagine command, follow that with a colon, and let's type in a 1960s truck in a, followed by the curly bracket, and I'm going to type in green, red, blue, and if I close this with a curly bracket, it's going to create three different grids of four, all in the different colors. After that, I want to type in metallic tint at a drive thru. Okay, I'll follow that with a comma, and use some of our favorite parameters that we've learned in this course, - -ar, I'll do 10:17, and since at the time of this recording, v5.2 is the default, I'll just press the Return key rather than entering that dash dash. Similar to the repeat command that we learned about in a previous movie, you can see here that it's asking us right now, are we sure that we want to create three prompts based on the green, red, and blue permutation. In this case, yes, I do. And off to work, Midjourney gets in processing those three grids of four. One grid is going to be of the green metallic tint truck, the other's going to be of red, and the other of blue, all in the 10:17 aspect ratio. Let's take a look at the end results. Okay, so here is the red results, and the green, I really like the green, and followed by the blue. So let's say I'm kind of still torn between the green and the red. I also know that the truck itself is getting cut off in some of these photos, so I want to change the aspect ratio, and now thinking about this, I'm not sure if I want it at a drive-through, maybe I want it at an outdoor party. So here's what I'm going to do. I'm going to copy the green prompt up until the drive thru, and we're going to make a couple changes to it by running the imagine prompt one more time. So I'll press the dash, followed by Tab for the imagine prompt to accept that there at the top, the colon, I'll press Command + V or Ctrl + V to paste that part, and let's set up that permutation there with the two colors that we're trying to decide between. So that was green, so that's the curly bracket before the green, followed by a comma, red, let's close that with a curly bracket, metallic tint, and because I'm unsure of the location, I'll use a curly bracket around drive thru, followed by comma, outdoor party. Now let's run that curly bracket again, followed by comma, and try a completely different aspect ratio by --ar 16:9. Return. We get that command once again, but this time, do we want to run four prompts, right? So it's going to give us a green result with a drive-through, and a green result with an outdoor party, it's then going to give us a red result at a drive-through, and then a red result at an outdoor party. Because we have two different permutation brackets. Let's choose Yes, job begins, and it's starting to process those four jobs. Let's see the end result. Okay, here is the result of the green metallic tint truck at a drive-through, the red truck at a drive-through, green truck at an outdoor party. Well, I kind of like this one down here on the lower left with the candles set up for a party, we need a couple people, though, followed by the last prompt here. So just keep in mind, just like if we use the repeat parameter, or alternatively ran all up the describe results that Midjourney came up with, this is going to add to the amount of time you are processing images. In this case, choose anyone that you like from the end results, and as always, you can find the examples that were produced in this course with Midjourney inside the exercise files.

Contents