# 参数表

**参数是添加到提示中的选项，可更改图像的生成方式。参数可以更改图像的**[**纵横比、在 Midjourney**](https://docs.midjourney.com/aspect-ratios)[**模型版本**](https://docs.midjourney.com/models)**之间切换、更改使用的**[**Upscaler**](https://docs.midjourney.com/upscalers)**等等。**

参数总是添加到提示的末尾。您可以向每个提示添加多个参数。

![如何使用 Midjourney 参数的示例。](https://cdn.document360.io/3040c2b6-fead-4744-a3a9-d56d621c6c7e/Images/Documentation/MJ_Parameters_example.png)

<br>

使用苹果设备？

许多 Apple 设备会自动将双连字符 (--) 更改为破折号 (—)。Midjourney 两者都接受！

***

### 基本参数 <a href="#basic-parameters" id="basic-parameters"></a>

#### 图片比例 [Aspect Ratios](https://docs.midjourney.com/aspect-ratios) <a href="#aspect-ratios" id="aspect-ratios"></a>

`--aspect`，或`--ar`更改一代的图片比例。

#### [混乱](https://docs.midjourney.com/chaos) [Aspect Ratios](https://docs.midjourney.com/aspect-ratios) <a href="#chaos" id="chaos"></a>

`--chaos <number 0–100>`改变结果的多样性。较高的值会产生更多不寻常和意外的世代。

#### 不出现 [No](https://docs.midjourney.com/multi-prompts) <a href="#no" id="no"></a>

`--no`负面提示，`--no plants`会尝试从图像中移除植物。

#### [质量](https://docs.midjourney.com/quality) [Quality](https://docs.midjourney.com/quality) <a href="#quality" id="quality"></a>

`--quality <.25, .5, 1, or 2>`，或`--q <.25, .5, 1, or 2>`您要花费多少渲染质量时间。默认值为 1。值越高成本越高，值越低成本越低。

#### [种子](https://docs.midjourney.com/seeds) [Seed](https://docs.midjourney.com/seeds) <a href="#seed" id="seed"></a>

`--seed <integer between 0–4294967295>`Midjourney 机器人使用种子编号创建视觉噪声场，如电视静态，作为生成初始图像网格的起点。种子编号是为每个图像随机生成的，但可以使用 --seed 或 --sameseed 参数指定。使用相同的种子编号和提示将产生相似的结束图像。

#### [停止](https://docs.midjourney.com/stop) [Stop](https://docs.midjourney.com/stop) <a href="#stop" id="stop"></a>

`--stop <integer between 10–100>`使用`--stop`参数在流程中途完成作业。以较早的百分比停止作业会产生更模糊、更不详细的结果。

#### [风格](https://docs.midjourney.com/models) [Style](https://docs.midjourney.com/models) <a href="#style" id="style"></a>

`--style <4a, 4b or 4c>`在 Midjourney[模型版本](https://docs.midjourney.com/v1/docs/models)4的版本之间切换

#### 风格化 [Stylize](https://docs.midjourney.com/stylize) <a href="#stylize" id="stylize"></a>

`--stylize <number>`，或`--s <number>` 参数会影响 Midjourney 的默认美学风格应用于 Jobs 的强度。

#### &#x20;[Uplight](https://docs.midjourney.com/upscalers) <a href="#uplight" id="uplight"></a>

`--uplight`选择 U 按钮时使用替代的“轻型”升频器。结果更接近原始网格图像。放大后的图像细节更少，更平滑。

#### [Upbeta](https://docs.midjourney.com/upscalers) <a href="#upbeta" id="upbeta"></a>

`--upbeta`选择 U 按钮时使用替代的 beta 升频器。结果更接近原始网格图像。放大后的图像添加的细节明显更少。

#### 默认值（模型版本 4） <a href="#default-values-model-version-4" id="default-values-model-version-4"></a>

|                | 纵横比     | 混乱    | 质量           | 种子              | 停止     | 风格         | 风格化    |
| -------------- | ------- | ----- | ------------ | --------------- | ------ | ---------- | ------ |
| <p>默认值<br></p> | 1:1     | 0     | 1个           | 随机的             | 100    | 4c         | 100    |
| <p>范围<br></p>  | 1:2–2:1 | 0–100 | .25 .5 1 或 2 | 整数 0–4294967295 | 10–100 | 4a、4b 或 4c | 0–1000 |

<br>

### 模型版本参数 <a href="#model-version-parameters" id="model-version-parameters"></a>

Midjourney 定期发布新模型版本以提高效率、一致性和质量。不同的模型擅长处理不同类型的图像。

#### [Niji](https://docs.midjourney.com/models) <a href="#niji" id="niji"></a>

`--niji`另一种模型专注于动漫风格的图像。

#### [高清](https://docs.midjourney.com/models) [High Definition](https://docs.midjourney.com/models) <a href="#high-definition" id="high-definition"></a>

`--hd`使用早期的替代[模型](https://docs.midjourney.com/models)来生成更大、更不一致的图像。该算法可能适用于抽象和风景图像。

#### [测试](https://docs.midjourney.com/models) [Test](https://docs.midjourney.com/models) <a href="#test" id="test"></a>

`--test`使用 Midjourney 特殊测试模型。

#### [测试](https://docs.midjourney.com/models) [Testp](https://docs.midjourney.com/models) <a href="#testp" id="testp"></a>

`--testp`使用 Midjourney 特殊的以摄影为重点的测试模型。

#### [版本](https://docs.midjourney.com/models) [Version](https://docs.midjourney.com/models) <a href="#version" id="version"></a>

`--version <1, 2, or 3>`或者`--v <1 2, or 3>` 使用早期版本的 Midjourney 算法。当前算法 (V4) 是默认设置。

<br>

### 升频器参数 <a href="#upscaler-parameters" id="upscaler-parameters"></a>

Midjourney 首先为每个作业生成一个低分辨率图像选项网格。您可以在任何网格图像上使用 Midjourney upscaler 来增加尺寸并添加更多细节。有多种可用于放大图像的放大模型。

#### [Uplight](https://docs.midjourney.com/upscalers) <a href="#uplight1" id="uplight1"></a>

`-`-upl`ight`选择 U 按钮时使用替代的“轻型”升频器。结果更接近原始网格图像。放大后的图像细节更少，更平滑。

#### [Upbeta](https://docs.midjourney.com/upscalers) <a href="#upbeta1" id="upbeta1"></a>

`--upbeta`选择 U 按钮时使用替代的 beta 升频器。结果更接近原始网格图像。放大后的图像添加的细节明显更少。

#### [Upanime](https://docs.midjourney.com/upscalers) <a href="#upanime" id="upanime"></a>

选择 U 按钮时，请使用经过培训的替代升频器。这个升频器是专门为与 Midjourney 模型一起工作而创建的`--niji`。

<br>

### 其他参数 <a href="#other-parameters" id="other-parameters"></a>

这些参数仅适用于特定的早期 Midjourney 模型

#### [有创造力的](https://docs.midjourney.com/models) [Creative](https://docs.midjourney.com/models) <a href="#creative" id="creative"></a>

`--creative`修改`test`和`testp`模型更加多样化和创造性。

#### [图像权重](https://docs.midjourney.com/image-prompts) [Image Weight](https://docs.midjourney.com/image-prompts) <a href="#image-weight" id="image-weight"></a>

`--iw`设置相对于文本权重的图像提示权重。默认值为 --iw 0.25 。

#### [同种](https://docs.midjourney.com/seeds) [Sameseed](https://docs.midjourney.com/seeds) <a href="#sameseed" id="sameseed"></a>

`--sameseed`种子值创建一个大的随机噪声场，应用于初始网格中的所有图像。当指定 --sameseed 时，初始网格中的所有图像都使用相同的起始噪声，并将生成非常相似的生成图像。

#### [视频](https://docs.midjourney.com/video) [Video](https://docs.midjourney.com/video) <a href="#video" id="video"></a>

`--video`保存正在生成的初始图像网格的进度视频。表情符号使用 ✉️ 对完成的图像网格做出反应，以触发将视频发送到您的私信。`--video`放大图像时不起作用。

***

### 兼容性 <a href="#compatibility" id="compatibility"></a>

#### 模型版本和参数兼容性 <a href="#model-version-parameter-compatability" id="model-version-parameter-compatability"></a>

|                       | Affects initial generation | Affects variations + remix | Version 4                    | Version 3                         | Test / Testp                      | Niji       |
| --------------------- | -------------------------- | -------------------------- | ---------------------------- | --------------------------------- | --------------------------------- | ---------- |
| Max Aspect Ratio      | ✓                          | ✓                          | 1:2 or 2:1                   | 5:2 or 2:5                        | 3:2 or 2:3                        | 1:2 or 2:1 |
| Chaos                 | ✓                          |                            | ✓                            | ✓                                 | ✓                                 | ✓          |
| Image Weight          | ✓                          |                            |                              | ✓                                 | ✓                                 |            |
| No                    | ✓                          | ✓                          | ✓                            | ✓                                 | ✓                                 | ✓          |
| Quality               | ✓                          |                            | ✓                            | ✓                                 |                                   | ✓          |
| Seed                  | ✓                          |                            | ✓                            | ✓                                 | ✓                                 | ✓          |
| Sameseed              | ✓                          |                            |                              | ✓                                 |                                   |            |
| Stop                  | ✓                          | ✓                          | ✓                            | ✓                                 | ✓                                 | ✓          |
| Style                 |                            |                            | 4a and 4b                    |                                   |                                   |            |
| Stylize               | ✓                          |                            | <p>0–1000<br>default=100</p> | <p>625–60000<br>default=2500)</p> | <p>1250–5000<br>default=2500)</p> |            |
| Tile                  | ✓                          | ✓                          |                              | ✓                                 |                                   |            |
| Video                 | ✓                          |                            |                              | ✓                                 |                                   |            |
| Number of Grid Images | -                          | -                          | 4                            | 4                                 | 2 (1 when aspect ratio≠1:1)       |            |

#### 弃用的参数 <a href="#deprecated-parameters" id="deprecated-parameters"></a>

\--width 和 --w（替换为 --aspect）\
\--height 和 --h（替换为 --aspect）\
\--fast（替换为 --quality）\
\--vibe（现在称为 V1）\
\--hq\
\--newclip\
\--nostretch\
\--old\
\--beta


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://limi.gitbook.io/mj-doc/yong-hu-zhi-nan/can-shu/can-shu-biao.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
