这是用户在 2024-5-30 10:18 为 https://aituts.com/midjourney-cheatsheet/ 保存的双语快照页面,由 沉浸式翻译 提供双语支持。了解如何保存?
Midjourney 中途之旅

All Midjourney commands in a cheat sheet, with examples
备忘单中的所有 Midjourney 命令,并附有示例

By

Yubin

Updated


By Yubin更新 18 Jan, 2024

While Midjourney commands & parameters look complicated to beginners, I find most people can get the hang of them quickly.
虽然Midjourney的命令和参数对初学者来说看起来很复杂,但我发现大多数人都能很快掌握它们的窍门。

In this cheat sheet, I'll cover what every parameter, command and advanced prompt technique does.
在此备忘单中,我将介绍每个参数、命令和高级提示技术的作用。

So first, what's the difference?
那么首先,有什么区别?

  • Parameters start with double dashes "--". They are commonly lumped in with "commands", but technically they're not the same. These are options that you add to individual Midjourney prompts to change the resulting generation.
    参数以双破折号“--”开头。它们通常与“命令”混为一谈,但从技术上讲,它们并不相同。这些是您添加到各个 Midjourney 提示中以更改生成的选项。
  • Commands start with "/". They're used to change Midjourney settings and usually apply to all subsequent generations, for example making all generations private or changing the generation speed.
    命令以“/”开头。它们用于更改 Midjourney 设置,通常适用于所有后续世代,例如将所有世代设为私有或更改生成速度。
  • Advanced prompts have different activation methods. This is a broad category that includes anything from using images in your prompts to weighing parts of your prompt differently.
    高级提示具有不同的激活方法。这是一个广泛的类别,包括从在提示中使用图像到以不同的方式权衡提示部分的任何内容。

Parameters 参数

Parameters are the things you write inside your prompts. After the 2 dashes "--", you write the parameter name, followed by an additional variable if needed. Parameter names usually have long forms and abbreviated forms.
参数是您在提示中编写的内容。在 2 个破折号“--”之后,输入参数名称,如果需要,后跟一个附加变量。参数名称通常具有长形式和缩写形式。

Here's a list of all the Midjourney parameters that work for the latest version.
以下是适用于最新版本的所有 Midjourney 参数的列表。

Aspect Ratio 纵横比

--aspect <width:height>
or --ar <width:height> --ar <width:height>

Change the aspect ratio of a generation. The default is 1:1 (square aspect ratio).
更改一代的纵横比。默认值为 1:1 (square 纵横比)。

--ar 16:9 ——亚运本营16:9
--ar 1:1 (default) --ar 1:1(默认)
--ar 9:16 --AR 9:16
dungeons and dragons, female knight, of the rolling plains, full body, dark azure, victorian genre paintings, serene face, realistic depiction of light, golden light --seed 5 --ar 9:16

Chaos 混沌

--chaos <number 0-100>
or --c <number 0-100> --c <number 0-100>

Changed how varied and unpredictable your results are. The default is 0.
更改了结果的多样性和不可预测性。默认值为 0

--chaos 0 (default) --chaos 0 (默认)
--chaos 100 --混沌 100
Auralee Minimalist fashion week, walking down the runway in a valley of daisies, mount fuji in the background,in the style of shoegaze, 2001 Sony HDW F900 film, Shunji Iwai, Rinko Kawauchi --seed 1001 --chaos 100

Midjouney has relaxed mode, fast mode and turbo mode. These generate your images at different speeds, and consume different numbers of fast hours.
Midjouney 具有放松模式、快速模式和涡轮模式。它们以不同的速度生成图像,并消耗不同的快速小时数。

The --fast command forces fast mode regardless of what setting you're on.
无论您使用什么设置,该 --fast 命令都会强制执行快速模式。

Image Weight 图像重量

--iw <0–2>

Sets the strength of the image prompt relative to text prompt, for when you're doing image-to-image generations. The default value is 1. Setting this to 0 is the same as not using an image at all.
设置图像提示相对于文本提示的强度,以便在进行图像到图像生成时使用。默认值为 1。将其设置为 0 与根本不使用图像相同。

Input image: 输入图像:

Generations: 代:

--iw 1
--iw 2
https://s.mj.run/2cRJOYbMI-o pixel art anime in small apartment hazy nostalgia, faded pastel --seed 108929 --iw 2

No

--no <anything you don't want>

Negative prompt, write what you don't want after. --no people removes people from a scene.
否定提示,写出你不想要的东西。 --no people 从场景中移除人物。

--no is a shortcut for a negative prompt weight of 0.5.
--no 是负提示权重 0.5 的快捷方式。

--no frame furniture wall
--无框家具墙面
modern abstract painting --seed 1 --no frame furniture wall

Quality 质量

--quality <.25, .5, or 1>, or --q <.25, .5, or 1>

How much rendering quality time you want to spend. Higher values use more GPU minutes; lower values use less. If you specify a value other than 0.25, 0.5, or 1 Midjourney will round to the closest one.
您希望花费多少渲染质量时间。值越高,占用的 GPU 分钟数越多;较低的值使用较少的值。如果指定的值不是 0.25、0.5 或 1,Midjourney 将四舍五入到最接近的值。

The default value is 1.
默认值为 1。

--q 0.25 --问 0.25
--q 0.5 --问 0.5
--q 1 --问 1
elf knight portrait, by alan m smith, in the style of light red and dark indigo, gigantic scale, handsome, adventurecore, die brücke, white and amber --ar 3:2 --seed 19340 --q 1

Midjouney has relaxed mode, fast mode and turbo mode. These generate your images at different speeds, and consume different numbers of fast hours.
Midjouney 具有放松模式、快速模式和涡轮模式。它们以不同的速度生成图像,并消耗不同的快速小时数。

The --relax command forces relax mode regardless of what setting you're on.
无论您使用哪种设置,该 --relax 命令都会强制放松模式。

Repeat 重复

--repeat <1–40> or --r <1–40> 

Create multiple Jobs (generations) from a single prompt. Great for when you want to test a prompt and get many results at once.
从单个提示创建多个作业(代)。非常适合您想要测试提示并一次获得许多结果的情况。

modern knight warrior with with flag and gigantic blade, frazetta --ar 2:3

Seed 种子

--seed <integer between 0–4294967295> 

Using the same seed number and prompt will produce similar ending images.
使用相同的种子编号和提示将产生相似的结束图像。

If you do not specify the seed, it will be generated randomly.
如果不指定种子,它将随机生成。

light watercolor, girl and robot on beach, white background, few details, dreamy Studio Ghibli --seed 101
light watercolor, girl and pink robot on beach, white background, few details, dreamy Studio Ghibli --seed 101

Stop 

--stop <integer between 10–100>

Use the --stop parameter to finish a Job midway through the generation process.
使用该 --stop 参数在生成过程的中途完成作业。

--stop 25 --停止 25
--stop 50
--stop 75 --停止 75
--stop 100 (default) --stop 100(默认)
Back view of knight of darkness looking at mountain, terrain, black mail armor, Philippe Druillet, Steve Youll, Miyazaki, --ar 2:3 --seed 13 --stop 50

Style 风格

--style <name of style>

Not to be confused with --stylize (which controls the strength of Midjourney's default style).
不要混淆 --stylize (它控制着 Midjourney 默认风格的强度)。

The Midjourney team has created multiple styles of same base models. You can think of them as "mini-models".
Midjourney 团队创建了多种样式的相同基本模型。你可以把它们看作是“迷你模型”。

--style <raw> can be used with Midjourney V5.1 and V5.2. Raw mode is less opinionated, so you may get more interesting results.
--style <raw> 可与 Midjourney V5.1 和 V5.2 一起使用。原始模式不那么固执己见,因此您可能会获得更有趣的结果。

--style <4a, 4b, or 4c> Available for Midjourney V4. Each style has a slightly different aesthetic.
--style <4a, 4b, or 4c> 适用于 Midjourney V4。每种风格的审美略有不同。

--style <cute, expressive, original, or scenic> are available for Niji V5.
--style <cute, expressive, original, or scenic> 适用于 Niji V5。

Stylize 风格化

--stylize <number>, or --s <number>

--stylize <number>, or --s <number> parameter influences how strongly Midjourney's default aesthetic style is applied to Jobs.
--stylize <number>--s <number> 参数会影响 Midjourney 的默认美学风格应用于 Jobs 的强度。

Generates images that can be used as repeating tiles to create seamless patterns.
生成可用作重复图块的图像,以创建无缝图案。

peonies and buds, Baroque Jean-Honoré Fragonard style, seamless wallpaper, pastel colors on a teal blue background, large repeat --tile --s 200

You can use third party websites to create repeating patterns:
您可以使用第三方网站创建重复模式:

The --turbo command forces turbo mode regardless of what setting you're on.
无论您处于何种设置,该 --turbo 命令都会强制启动涡轮增压模式。

Version 版本

--version <version number> or --v <version number>.

Uses a different version of Midjourney.
使用不同版本的 Midjourney。

Compare these versions of Midjourney:
比较这些版本的 Midjourney:

Weird 奇怪

--weird <number 0–3000>

Explore unusual aesthetics and subjects.
探索不寻常的美学和主题。

Different from --chaos.
不同于 --chaos .

No need to overdo this one, a little weirdness goes a long way!
这个不用过分,有点怪异大有裨益!

--weird 0 (default) --weird 0 (默认)
--weird 250 --怪异 250
--weird 500 --怪异500
--weird 750 --怪异的750
--weird 1000 --怪异1000
--weird 2000 --怪异的2000
--weird 3000 --怪异3000
man with fish head --seed 130234694124 --weird 1000

Advanced Prompts 高级提示

Advanced prompts are like parameters, but there isn't a single way to use all of them.
高级提示类似于参数,但没有一种方法可以同时使用所有参数。

For these, you'll just have to remember how to use them or refer back to the documentation if you forget.
对于这些,您只需要记住如何使用它们,或者如果您忘记了,请返回文档。

Image Prompts (img2img) 图像提示 (img2img)

<link to image>

One of Midjourney's most powerful and most underrated features.

Use the content and style of existing images to generate a new image. You do this by including a link to the image in your prompt and writing the rest of the prompt as you normally would.

original image
result
<link to image> oil portrait by john singer sargent, painterly, oil on canvas

Remix lets you change your prompt when you click on the variation buttons. This mode is for you if you want high levels of customizability after you've already prompted.

Activate Remix mode with the /prefer remix command or by using the /settings command and toggling the 🎛️ Remix Mode button.

You can use new parameters when remixing; that means you can change the Midjourney version when remixing as well!

Original generation
isometric clean pixel art image of exterior town center, style of  tekkonkinkreet --v 4
Remixed variations with new prompt
Isometric clean pixel art image of building in tree , style of tekkonkinkreet --v 5.2

Multi Prompts & Prompt Weights

<concept 1>::<concept 1 weight>
<concept 2>::<concept 2 weight>

Adding a :: between phrases is a hard break: this tells Midjourney "these are separate concepts".

You can add a number immediately after the double colon to assign the weight (relative importance) to that part of the prompt (if you don't add a number the weight is 1.

wood::1 teapot::4
wood::4 teapot::1	

Permutation Prompts

{<idea 1>, <idea 2>}

Permutation Prompts allow you to quickly generate variations of a prompt with a single /imagine command.

Put lists of ideas separated with commas, within curly braces {} in your prompt

Example:
/imagine a {red, green, yellow} bird will produce 3 generations, and is the same as running:

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

{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

Zoom

🔎 Zoom Out 2X 🔎 Zoom Out 1.5X buttons will appear after upscaling an image.

Use them to zoom out and have Midjourney fill in the image.

skier on slope

You can also add a new prompt with the Custom Zoom button.

skier on slope
eaten by shark

Commands

Commands are used to change Midjourney settings and also access useful Midjourney tools. Check individual commands for more in-depth guides.

  • /ask: Get an answer to a question.
  • /blend: Easily blend two images together.
  • /daily_theme: Toggle notification pings for the #daily-theme channel update
  • /docs: Use in the official Midjourney Discord server to quickly generate a link to topics covered in this user guide!
  • /describe: Writes four example prompts based on an image you upload.
  • /faq: Use in the official Midjourney Discord server to quickly generate a link to popular prompt craft channel FAQs.
  • /fast: Switch to Fast mode.
  • /help: Shows helpful basic information and tips about the Midjourney Bot.
  • /imagine: Generate an image using a prompt
  • /info: View information about your account and any queued or running jobs.
  • /shorten: Analyzes the most important tokens in a prompt and gives you ideas to shorten them.
  • /stealth: For Pro Plan Subscribers: switch to Stealth Mode, making all generations from this point private.
  • /public: For Pro Plan Subscribers: switch to Public Mode, making all generations from this point on public.
  • /subscribe: Generate a personal link for a user's account page.
  • /settings: View and adjust the Midjourney Bot's settings
  • /prefer option: Create or manage a custom option.
  • /prefer option list: View your current custom options.
  • /prefer suffix: Specify a suffix to add to the end of every prompt.
  • /show: Use an images Job ID to regenerate the Job within Discord.
  • /relax: Switch to Relax mode.
  • /remix: Toggle Remix mode.

FAQ

What's the difference between commands and parameters in Midjourney?

Midjourney parameters start with double dashes "--" and are used to modify the generated image.
Midjourney commands on the other hand, start with slash "/" and are used to change high-level Midjourney settings.

That's the article! Also check out:

FREE RESOURCE
The Big Book of Prompts: Midjourney V5 Lost Worlds

Endless hours and thousands of prompts of experimentation later... I’m happy to release the Midjourney V5 book:

  • 94-pages, 200+ prompts, and time saving techniques
  • Focus on fantasy and worldbuilding
  • Create high quality assets to use in games, concept art, and hobbies

    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

      3 thoughts on “All Midjourney commands in a cheat sheet, with examples”

      1. In the template on “Multi Prompts & Image Weights” the double colon should be between the concept and the weight, not between each prompt like you have it now.
        The example is fine, just the template part is wrong.

        Reply

      Leave a Comment