3 如何在MJ里使用負(fù)向提示詞(示例)
您可以使用負(fù)面提示來指定您在Midjourney生成中不想要的內(nèi)容。以下是一個使用負(fù)面提示的示例:
當(dāng)您在提示中使用“繪畫”一詞時,您將獲得掛在墻上的繪畫照片,有時還帶有框架和家具。假設(shè)您只想要繪畫本身。您將使用負(fù)面提示來擺脫所有額外的細(xì)節(jié):
Original | w/ Negative Prompts |
modern abstract painting --seed 1 | modern abstract painting --seed 1 --no frame furniture wall |
提示:將所有負(fù)向提示都放在--no之后,沒有必要為每個單獨(dú)的事物都寫一個 --no
有效的負(fù)面提示示例
使用負(fù)向提示來擺脫手
Midjourney不能很好地處理手(尚未)。如果您得到了太多奇怪的手,為什么不隱藏它們呢?”
(譯者注:現(xiàn)在v5 已經(jīng)改善了對手的處理,這里更多是從例子里感受到負(fù)向提示的用法)
Original | w/ Negative Prompts |
blonde girl leaning on table and smiling at camera, detailed facial features, detailed eyes, polaroid, 1990 | blonde girl leaning on table and smiling at camera, detailed facial features, detailed eyes, polaroid, 1990 --no hands |
使用負(fù)向提示詞去除文字
文本是Midjourney不擅長的另一件事。您可以使用負(fù)面提示來擺脫文本。
(譯者注:MJ已經(jīng)發(fā)布關(guān)于改善文字的計劃)
負(fù)向詞越明確,效果越好。我使用了“--no text font letters”,這比僅使用“-no text”要好得多
Original | w/ Negative Prompts |
chicken logo, style of Milton Glaser | chicken logo, style of Milton Glaser --no text font letters |
您可以在此示例中看到,負(fù)向提示不僅消除了文本,而且還使圖像更接近我想要的風(fēng)格(紐約地鐵地圖設(shè)計師Milton Glaser)。當(dāng)Midjourney不必專注于組合帶有文本的標(biāo)志時,它能夠更好地模擬風(fēng)格。
您可以在此處觀察到類似的效果:
Original | w/ Negative Prompts |
chicken logo, style of Egon Schiele | chicken logo, style of Egon Schiele --no text font letters |
當(dāng)負(fù)面提示不包含文本時,最終結(jié)果更接近藝術(shù)家的實(shí)際風(fēng)格。
這是一個轉(zhuǎn)化的好方法:
使用負(fù)面提示來獲得您想要的風(fēng)格
這是我嘗試的提示。雖然原始結(jié)果很漂亮,但它們根本不是我想要的。
Original | w/ Negative Prompts |
anime stormtrooper by studio ghibli | anime stormtrooper by studio ghibli --no 3d render realistic |
我的假設(shè)是訓(xùn)練數(shù)據(jù)中有太多的3D和逼真的突擊隊(duì)?wèi)?zhàn)士。它完全壓倒了提示的其余部分!
通過指定我在負(fù)面提示中不想要3D,我能夠獲得更接近我想要的結(jié)果。
在保持相同seed的情況下添加負(fù)提示
假設(shè)您已經(jīng)有了一張喜歡的圖片。 您想向其添加負(fù)提示。 但是,您不想 re-roll (新生成一組圖),因?yàn)槟菚?chuàng)建不同的圖像。
只要您知道 Seed,就可以使用負(fù)提示重新創(chuàng)建相同的圖像。
每個圖像都有一個 Seed,具有相同seed的圖像彼此相似。
找到 Seed后,您可以做很酷的事情,例如這樣
Original | w/ Negative Prompts |
light watercolor, interior of a cozy cafe, bright, white background, few details, dreamy, Studio Ghibli --seed 3817455947 | light watercolor, interior of a cozy cafe, bright, white background, few details, dreamy, Studio Ghibli --seed 3817455947 --no people person |
備選方法:使用負(fù)圖像權(quán)重
除了使用負(fù)提示之外,您還可以使用負(fù)權(quán)重來指定您在生成中不想要的內(nèi)容。
有關(guān)權(quán)重的更多信息:
權(quán)重用于強(qiáng)調(diào)和減弱提示的不同部分。具有正權(quán)重的單詞會被強(qiáng)調(diào),而具有負(fù)權(quán)重的單詞會被減弱。
我更喜歡使用權(quán)重而不是“-no”命令,因?yàn)樗鼈兛梢跃?xì)控制提示的每個部分。以下是我如何使用權(quán)重編寫上面的示例:
anime by studio ghibli::1.4 stormtrooper::1.2 3d render realistic::-1.5
在提示的每個部分后面跟隨 ::數(shù)字。
anime by studio ghibli::1.4 stormtrooper::1.2 | anime by studio ghibli::1.5 stormtrooper::1 |
-END-