HomeTutorials
Midjourney updates high-level functions: supports circular arrangement and combination of prompt words, there are ways to improve efficiency
24

Midjourney updates high-level functions: supports circular arrangement and combination of prompt words, there are ways to improve efficiency

Hayo News
Hayo News
April 6th, 2023
View OriginalTranslated by Google

Today, Midjourney launches two new advanced prompting features

These features are able to generate a large number of tasks and use a large number of GPUs, so they are currently limited to professional membership ($60 per month plan) and fast mode hours. If you plan to become a paying user, you can refer to this tutorial to pay .

Introducing Loop Functions

Type --repeat and a number for how many times you want to run the job

For example /imagine cats --repeat 5 will create a grid of five 2x2 cat patterns

Try mixing it with other parameters like --chaos to greatly increase your exploration speed

Introducing the permutation function

This feature allows you to create a large number of jobs in different combinations

Simple example of permutations /imagine a {cyberpunk,vaporwave,art deco} {cat,dog}

This will generate all of the following jobs /imagine a cyberpunk cat /imagine a vaporwave cat /imagine a art deco cat /imagine a cyberpunk dog /imagine a vaporwave dog /imagine a art deco dog

🐦 You can even nest { } inside other { } if you use it carefully. /imagine A {sculpture,painting} of a {seagull{on a pier,on a beach},poodle{on a sofa,in a truck}}。

/imagine A sculpture of a seagull on a pier. /imagine A sculpture of a seagull on a beach. /imagine A sculpture of a poodle on a sofa. /imagine A sculpture of a poodle in a truck. /imagine A painting of a seagull on a pier. /imagine A painting of a seagull on a beach. /imagine A painting of a poodle on a sofa. /imagine A painting of a poodle in a truck.

Please note: All these "batch" operations have a limit of 40 tasks (the system will discard them after this number), and process a maximum of 16 tasks at a time.

What is permutation? How do I use braces, braces?

If you have the Pro plan (Express plan), then you have access to permutations!

Using special punctuation like braces, curly braces , you can swap out different reference images, weights, parameter values, themes, scenes, actions, emotions, aesthetic styles, and more! This special { } tag will tell Midjourney to run permutations or combinations of hints according to your specifications.

Braces { } or braces { } surrounding a comma-separated list create permutations.

A prompt containing { } would look like this, known as a template:

A {crying, laughing} person stands in a {parking lot, forest}. {--s 1000, --s 0} --v 5

We'll generate all possible permutations for you:

A laughing person stands in a parking lot. --s 1000 --v 5 A laughing person stands in a parking lot. --s 0 --v 5 A laughing person stands in a forest. --s 1000 --v 5 A laughing person stands in a forest. --s 0 --v 5 A crying person stands in a parking lot. --s 1000 --v 5 A crying person stands in a parking lot. --s 0 --v 5 A crying person stands in a forest. --s 1000 --v 5 A crying person stands in a forest. --s 0 --v 5

We'll tell you "we've created eight hint permutations for your template". (This command allows you to generate up to 40 permutations.)

You can add permutations anywhere you can edit a prompt: In the /remix workflow In the /describe workflow In the /imagine workflow

🐦 You can even nest {} inside other {}, as long as you take care to close the curly braces properly. A {sculpture, painting} of a {seagull {on a pier, on a beach}, poodle {on a sofa, in a truck}}. --v 5

This will generate all possible permutations.

You can nest multiple levels, but your maximum number of permutations is always 40.

⚠️ IMPORTANT NOTE: Permutations will run on the GPU minutes you purchased, so use with caution! If your template generates 5 or more permutations, you will be asked for confirmation and given the option to edit the prompt to reduce its number of combinations.

picture

🔹 parameters. You can change the parameter type or value as prompted.

一个嬉皮士倚在树上。{--ar 3:2, --ar 2:3} --v 5 Two hints will be generated, one version for each aspect ratio.

一个嬉皮士倚在树上。{--v 4, --v 5} Two hints will be generated, one for each version of Midjourney.

一个嬉皮士倚在树上。{--c 0, --c 100} --v 5 Two hints will be generated, one for each version of the Chaos value.

您可以根据需要分组,例如:{--c 100 --ar 3:2 --v 5,--c 0 --ar 3:2 --v 4,--c 50 --ar 9:16 --v 3}

When using a template with parameters, please format according to your needs, for example: --c {0, 100} or --ar {2:3, 3:2}, but you need to pay attention to ensure the spaces in the template.

NOTE: If the --repeat N (--r N) argument is used, permutation will not run.

🔹 Weight. You can change the weight value as prompted.

Example of a slider template to make sure something is displayed: 一个蓝皮肤的精灵战士倚在树上,以D&D幻想艺术风格为主:{blue-skinned::0.1, blue-skinned::0.3, blue-skinned::0.5} Midjourney will create three cues with progressively increasing blue skin weight values on their "sliders", so you can quickly figure out which weight value makes the blue skin appear. (The answer is: all weight values can make its blue skin appear!)

As for the format, you can also write it as follows: 一个蓝皮肤的精灵战士倚在树上,以D&D幻想艺术风格为主:blue-skinned::{0.1, 0.3, 0.5}

Example of a negative hint template to make sure something doesn't show up: 一个蓝皮肤的精灵战士倚在树上,以D&D幻想艺术风格为主:{horns::-0.1, horns::-0.3, horns::-0.5} Midjourney will create three cues with progressively lower corner weight values on the "slider", so you can quickly find which weight value makes unwanted corners go away. (Answer: -0.1 is enough, too much weight value will also make their elf ears disappear!)

Or you can write it like this: 一个蓝皮肤的精灵战士倚在树上,以D&D幻想艺术风格为主:horns::{-0.1, 0.2, 0.5}

Use { } according to your needs. When creating templates that change weights, make sure there are no residual spaces between :: and { }.

Correct template: word word word::{1, 2, 3}

Error template: word word word:: {1, 2, 3}

Q: How do I make sure everything in my prompt is displayed?

🔹 Reference image

Uploading reference images helps manipulate Midjourney! Using displacement, you can place characters in different scenes in a single cue. There are many combinations to explore!

Example of displacement using an image reference:

{https:://media.discordapp.net/Character-LADYPINK.jpg, https:://media.discordapp.net/Character-LORDBLUE.jpg} {https:://media.discordapp.net/Setting-PARKINGLOT.jpg, https:://media.discordapp.net/Setting-GARDEN.jpg} 一位皇室成员靠在树上。--ar 3:2 --v 5

This will get your reference image:

1. The royal family members will become LADYPINK or LORDBLUE.

2. Trees will appear in parking lots or gardens.

3. You will get a hint to show LADYPINK and LORDBLUE in both scenes.

Ultimately, templates and reference images need to be coordinated. If one of your templates involves Lady Pink, but your cue mix says a man leaning against a tree, you'll see the Lady's face mixed in with a man's body. So learn to group your image references with templates that work best with them. If the template is "fighted" against the image reference in any combination, the result will be somewhat confusing. Pay attention to your pronouns as they will be involved. Note that in the example template we say "a member of the royal family" to keep the gender in the prompt unspecified. However, the lack of gender in the hints confuses how the characters are presented. It's best to run Lady Pink with her template and Lord Blue with his template in both settings so that the generated hints are more helpful to the character's appearance via pronouns.

Q: How do I replace my reference image?

🔹 Style and Aesthetics

Style and aesthetics often include commas, so you need to mark commas with \escape characters\ to ensure they are interpreted correctly.

{soft lighting\, photorealistic\, timeless elegance, diffuse lighting\, fantasy art\, steampunk}

In this template, the comma separating the two combinations appears after the word elegant. Other commas have an \escape character\ and are not considered separators.

🔹 Themes, props, actions, emotions, anything!

All parts of the hint can become permutations! As long as you have enough GPU time to spend on permutation, you can explore replacing characters, punctuation, words, weights, parameters, values and image references.

Comments

no dataCoffee time! Feel free to comment