注:本文案例圖片均由midjourney生成
昨天,站長之家分享了一篇《如何在midjourney中使用提示權(quán)重/負(fù)面提示/風(fēng)格化值》的文章,文中的案例在使用提示權(quán)重時(shí)還用到了種子。
有的用戶可能會(huì)好奇,什么是種子。簡單來說就是你希望固定不變的一個(gè)值。我們都知道m(xù)idjourney生成的結(jié)果是隨機(jī)的,同一個(gè)提示,多次生成的結(jié)果都是不同的。
如果你想要在第一次生成的結(jié)果上面微調(diào),那么就需要用到種子。
那么,問題來了,如何找到Midjourney圖像的種子?
假設(shè)您喜歡Midjourney生成的圖像,但想對原始提示做一些小的更改。
了解圖像種子將使您能夠做到這一點(diǎn):重新創(chuàng)建一個(gè)圖像,但使用修改后的提示或修改后的設(shè)置。
要找到任何圖像的種子,請使用 Discord 中的信封表情符號(hào) (☉?) 對其做出反應(yīng)(復(fù)制并粘貼表情符號(hào),或搜索“信封”)。這適用于頻道和私人聊天。
了解你 Midjourney 不會(huì)給你相同的圖像。
Midjourney 機(jī)器人將向您發(fā)送作業(yè) ID和圖像的種子。
現(xiàn)在你知道了種子,你可以嘗試改變周圍的事物。我將保持種子不變,但對提示進(jìn)行更改:
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 只會(huì)告訴您該圖像的作業(yè) ID,而不是種子。
所以,如果您想要其他人的種子,最好是向原作者詢問。雖然您找不到種子,但您可以在 Midjourney Gallery 中查找Discord 用戶的確切提示。
種子的使用方法
讓我們看一些例子。我將在提示末尾使用“--seed ”命令設(shè)置種子,然后是數(shù)字101(我選擇這個(gè)數(shù)字的原因不言自明——請記住它們是完全隨機(jī)的,沒有任何意義)。
修改設(shè)置
在這里,我使用相同的提示和相同的種子,但縱橫比不同。查看相應(yīng)象限之間的相似之處:
原來的
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
這是另一個(gè)縱橫比。再次注意相應(yīng)象限之間的相似之處:
原來的
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
–風(fēng)格化命令
這是我使用stylize 命令。差異是存在的,但它們非常小。要充分利用風(fēng)格化,
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
修改提示
如果您修改提示,您會(huì)在生成中引入新變量。您修改提示的幅度越大,引入的隨機(jī)性就越大。讓我們看看更小和更大提示修改的結(jié)果:
使機(jī)器人粉紅色
我第一次這樣做時(shí),我對鎖定種子值給我?guī)淼囊恢滦愿械襟@訝。
在此處查看兩個(gè)象限中的第二張圖片:
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
交換主題
我喜歡構(gòu)圖和顏色如何保持不變,即使對主題進(jìn)行了更大的修改:
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
新環(huán)境
這絕對是一個(gè)更大的變化。新一代看起來與第一代截然不同:
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
改變藝術(shù)風(fēng)格
這是一個(gè)更為劇烈的變化。盡管如此,您仍然可以看到保留了哪些元素
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
改變媒介
另一個(gè)有趣的是:我很喜歡水粉風(fēng)格。您可以看到它對 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
重新排序提示
您知道提示詞的排序很重要嗎?前面的詞優(yōu)先于后面的詞。讓我們看看當(dāng)我們在重新排序提示時(shí)保持種子相同時(shí)會(huì)發(fā)生什么:
使用“ --sameseed”
我提到一個(gè)種子對應(yīng)一個(gè)4象限圖像集。
更近的種子會(huì)產(chǎn)生更近的圖像嗎?
例如:與使用創(chuàng)建的圖像相比,使用創(chuàng)建的圖像--seed10看起來--seed11更相似嗎--seed1000000?
事實(shí)上并沒有!種子只是為圖像生成獲取相同起始數(shù)據(jù)的一種方式,但是兩個(gè)不同的種子將具有完全不同的起始數(shù)據(jù),無論它們在數(shù)字上有多接近。
(舉報(bào))