首页 > 业界 > 关键词  > midjourney最新资讯  > 正文

midjourney教程:如何设置Midjourney 提示的种子并使用种子命令改善结果

2023-03-24 11:21 · 稿源:站长之家

注:本文案例图片均由midjourney生成

昨天,站长之家分享了一篇《如何在midjourney中使用提示权重/负面提示/风格化值》的文章,文中的案例在使用提示权重时还用到了种子

有的用户可能会好奇,什么是种子。简单来说就是你希望固定不变的一个值。我们都知道midjourney生成的结果是随机的,同一个提示,多次生成的结果都是不同的。

如果你想要在第一次生成的结果上面微调,那么就需要用到种子。

那么,问题来了,如何找到Midjourney图像的种子?

假设您喜欢Midjourney生成的图像,但想对原始提示做一些小的更改。

了解图像种子将使您能够做到这一点:重新创建一个图像,但使用修改后的提示或修改后的设置。

要找到任何图像的种子,请使用 Discord 中的信封表情符号 (☉️) 对其做出反应(复制并粘贴表情符号,或搜索“信封”)。这适用于频道和私人聊天。

了解你 Midjourney 不会给你相同的图像。

Midjourney 机器人将向您发送作业 ID和图像的种子。

现在你知道了种子,你可以尝试改变周围的事物。我将保持种子不变,但对提示进行更改:

light watercolor, children playing at the beach, cat, bright, white background, few details, dreamy, Studio Ghibli --seed3650826227

light watercolor, children playing at the beach, mickey mouse float in air, bright, white background, few details, dreamy, Studio Ghibli --seed3650826227

light watercolor, children playing at the beach, tank in background, bright, white background, few details, dreamy, Studio Ghibli --seed3650826227

值得注意的是,上述方法不适用于其他人的图像。Midjourney 只会告诉您该图像的作业 ID,而不是种子。

所以,如果您想要其他人的种子,最好是向原作者询问。虽然您找不到种子,但您可以在 Midjourney Gallery 中查找Discord 用户的确切提示。

种子的使用方法

让我们看一些例子。我将在提示末尾使用“--seed ”命令设置种子,然后是数字101(我选择这个数字的原因不言自明——请记住它们是完全随机的,没有任何意义)。

修改设置

在这里,我使用相同的提示和相同的种子,但纵横比不同。查看相应象限之间的相似之处:

原来的

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

横向纵横比

light watercolor, girl and robot on beach, white background, few details, dreamy Studio Ghibli --seed101--ar3:2

这是另一个纵横比。再次注意相应象限之间的相似之处:

原来的

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

纵向纵横比

light watercolor, girl and robot on beach, white background, few details, dreamy Studio Ghibli --seed101--ar2:3

–风格化命令

这是我使用stylize 命令。差异是存在的,但它们非常小。要充分利用风格化,

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

light watercolor, girl and robot on beach, white background, few details, dreamy Studio Ghibli --seed101--stylize1000

修改提示

如果您修改提示,您会在生成中引入新变量。您修改提示的幅度越大,引入的随机性就越大。让我们看看更小和更大提示修改的结果:

使机器人粉红色

第一次这样做时,我对锁定种子值给我带来的一致性感到惊讶。

在此处查看两个象限中的第二张图片:

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

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

交换主题

我喜欢构图和颜色如何保持不变,即使对主题进行了更大的修改:

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

light watercolor, boy and robot on beach, white background, few details, dreamy Studio Ghibli --seed101

light watercolor, girl and gundam on beach, white background, few details, dreamy Studio Ghibli --seed101

新环境

绝对是一个更大的变化。新一代看起来与第一代截然不同:

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

light watercolor, girl and robot on lake shore, white background, few details, dreamy Studio Ghibli --seed101

light watercolor, girl and robot on lunar surface, white background, few details, dreamy Studio Ghibli --seed101

改变艺术风格

这是一个更为剧烈的变化。尽管如此,您仍然可以看到保留了哪些元素

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

light watercolor, girl and robot on beach, white background, few details, dreamy by John Singer Sargent --seed101

改变媒介

另一个有趣的是:我很喜欢水粉风格。您可以看到它对 Midjourney 生成主题的方式也有影响:

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

gouache, girl and robot on beach, white background, few details, dreamy Studio Ghibli --seed101

重新排序提示

您知道提示词的排序很重要吗?前面的词优先于后面的词。让我们看看当我们在重新排序提示时保持种子相同时会发生什么:

使用“ --sameseed”

我提到一个种子对应一个4象限图像集。

更近的种子会产生更近的图像吗?

例如:与使用创建的图像相比,使用创建的图像--seed10看起来--seed11更相似吗--seed1000000?

事实上并没有!种子只是为图像生成获取相同起始数据的一种方式,但是两个不同的种子将具有完全不同的起始数据,无论它们在数字上有多接近。

举报

  • 相关推荐
  • 大家在看

今日大家都在搜的词:

热文

  • 3 天
  • 7天