# Seeds 种子

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

`--seed` 接受整数 0–4294967295。\
`--seed`值仅影响初始图像网格。\
`--seed`值[模型版本](https://docs.midjourney.com/models) `1`、`2`、`3`、`test`和`testp`是不确定的，将产生相似但不相同的图像。[在模型版本](https://docs.midjourney.com/models)\
`4和niji`中使用相同的提示+种子+参数 ，将生成相同的图像。&#x20;

***

### Seed参数 <a href="#seed-parameter" id="seed-parameter"></a>

如果未指定种子，Midjourney 将使用随机生成的种子编号，每次使用提示时都会生成多种选项。

#### 作品使用随机种子运行 3 次： <a href="#jobs-run-three-times-with-random-seeds" id="jobs-run-three-times-with-random-seeds"></a>

#### 作业使用随机种子运行 3 次： <a href="#jobs-run-three-times-with-random-seeds" id="jobs-run-three-times-with-random-seeds"></a>

prompt示例：`/imagine prompt` `celadon owl pitcher`

#### 作业使用随机种子运行提示示例：`/imagine prompt` `celadon owl pit`![使用随机种子在 midjourney V4 中制作的图像网格示例](https://cdn.document360.io/3040c2b6-fead-4744-a3a9-d56d621c6c7e/Images/Documentation/MJ_SeedRandom13.png)![使用随机种子在 midjourney V4 中制作的图像网格示例](https://cdn.document360.io/3040c2b6-fead-4744-a3a9-d56d621c6c7e/Images/Documentation/MJ_SeedRandom1.png)![使用随机种子在 midjourney V4 中制作的图像网格示例](https://cdn.document360.io/3040c2b6-fead-4744-a3a9-d56d621c6c7e/Images/Documentation/MJ_SeedRandom2.png)  <a href="#jobs-run-three-times-with-random-seeds" id="jobs-run-three-times-with-random-seeds"></a>

#### 作业运行两次`--seed 123`： <a href="#jobs-run-two-times-with-seed-123" id="jobs-run-two-times-with-seed-123"></a>

prompt示例：`/imagine prompt` `celadon owl pitcher --seed 123`

![使用随机种子在 midjourney V4 中制作的图像网格示例](https://cdn.document360.io/3040c2b6-fead-4744-a3a9-d56d621c6c7e/Images/Documentation/MJ_Seed-123_V4_.png)

![使用随机种子在 midjourney V4 中制作的图像网格示例](https://cdn.document360.io/3040c2b6-fead-4744-a3a9-d56d621c6c7e/Images/Documentation/MJ_Seed-123_V4_.png)

<br>

#### `--seed 123`使用 Midjourney 模型版本 3运行 3 次作业： <a href="#jobs-run-three-times-with-seed-123-using-midjourney-model-version-3" id="jobs-run-three-times-with-seed-123-using-midjourney-model-version-3"></a>

prompt示例：`/imagine prompt` `celadon owl pitcher --seed 123 --v 3`

即使种子数相同，早期的 Midjourney[模型版本](https://docs.midjourney.com/v1/docs/models)也是不确定的，因此生成的图像看起来会有所不同。

![使用随机种子在 midjourney V4 中制作的图像网格示例](https://cdn.document360.io/3040c2b6-fead-4744-a3a9-d56d621c6c7e/Images/Documentation/MJ_Seed-123_V3-1_.png)

![使用随机种子在 midjourney V4 中制作的图像网格示例](https://cdn.document360.io/3040c2b6-fead-4744-a3a9-d56d621c6c7e/Images/Documentation/MJ_Seed-123_V3-2.png)

![使用随机种子在 midjourney V4 中制作的图像网格示例](https://cdn.document360.io/3040c2b6-fead-4744-a3a9-d56d621c6c7e/Images/Documentation/MJ_Seed-123_V3-2.png)

![使用随机种子在 midjourney V4 中制作的图像网格示例](https://cdn.document360.io/3040c2b6-fead-4744-a3a9-d56d621c6c7e/Images/Documentation/MJ_Seed-123_V3-2.png)

***

### Sameseed参数 <a href="#sameseed-parameter" id="sameseed-parameter"></a>

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

`--sameseed`接受整数 0–4294967295。\
`--sameseed`仅在模型版本 1、2、3、test和testp中生效

**早期的视觉噪音来自**\
\&#xNAN;**`--sameseed`**

![用于使用 Midjourney 参数 sameseed 生成图像的早期噪声场示例图像](https://cdn.document360.io/3040c2b6-fead-4744-a3a9-d56d621c6c7e/Images/Documentation/MJ_Sameseed_Stop10.png)

`--sameseed 12345`

**完成的工作用**\
\&#xNAN;**`--sameseed`**

![具有 Midjourney 参数 sameseed 的示例图像 images](https://cdn.document360.io/3040c2b6-fead-4744-a3a9-d56d621c6c7e/Images/Documentation/MJ_Sameseed.png)

`--sameseed 12345`

**没有早期视觉噪声**\
\&#xNAN;**`--sameseed`**

![用于使用 Midjourney 生成图像的早期噪声场示例图像](https://cdn.document360.io/3040c2b6-fead-4744-a3a9-d56d621c6c7e/Images/Documentation/MJ_seed_Stop10.png)

`--seed 12345`

**完成的工作没有**\
\&#xNAN;**`--sameseed`**

![使用 Midjourney 制作的示例图片](https://cdn.document360.io/3040c2b6-fead-4744-a3a9-d56d621c6c7e/Images/Documentation/MJ_seed.png)

`--seed 12345`

***

### 如何查找到作品的种子编号 <a href="#how-to-find-a-jobs-seed-number" id="how-to-find-a-jobs-seed-number"></a>

#### 使用 Discord 表情符号反应 <a href="#use-a-discord-emoji-reaction" id="use-a-discord-emoji-reaction"></a>

通过对工作使用✉️信封表情符号做出反应，在Discord中找到工作的种子编号。

![动画 Gif 展示了如何在 Discord 中使用带有信封的 Emoji React 来查找工作的种子编号](https://cdn.document360.io/3040c2b6-fead-4744-a3a9-d56d621c6c7e/Images/Documentation/MJ_JobID_EmojiReact.gif)

<br>

#### 使用 Show 命令恢复之前的作品 <a href="#use-the-show-command-to-bring-back-old-jobs" id="use-the-show-command-to-bring-back-old-jobs"></a>

要获取过去图像的种子编号，[请复制作业 ID](https://docs.midjourney.com/docs/show-job)并使用`/show <Job ID #>`具有该 ID 的命令来恢复作业。然后，您可以使用 ✉️ 信封表情符号对新生成的内容做出反应。

***

### 如何更改种子编号 <a href="#how-to-change-seed-numbers" id="how-to-change-seed-numbers"></a>

#### 使用 `--seed`或`--sameseed`参数 <a href="#use-the-seed-or-sameseedparameter" id="use-the-seed-or-sameseedparameter"></a>

添加`--seed <value>`或`--sameseed <value>`到提示的末尾。


---

# 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/seeds-zhong-zi.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.
