2023-05-03|閱讀時間 ‧ 約 8 分鐘

Midjourney技巧教學-第六課:高級提示(Advanced Prompts)

這次要講的是各式高級提示中,會運用到的各種進階提示,例如權重參數等等。
這會比較複雜,要花比較多時間理解,大家記得多看幾遍喔。

一、圖像權重參數(Image Weight Parameter)

使用圖像權重參數--iw調整提示的圖像與文本部分的重要性。
較高的--iw值意味著圖像提示將對完成的作業產生更大的影響。
(也就是說--iw值越高,圖片的提示越重要,反之文字就越不重要)
不同的Midjourney 版本模型具有不同的圖像權重範圍。
例如:版本五的MJ --iw 默認是1,範圍從0.5~2皆可。
我們來看看提示範例:/imagine prompt flowers.jpg birthday cake --iw .5
假設我今天上傳一張花朵的圖(flowers.jpg),並且文字提示為生日蛋糕(birthday cake),在不同的權重底下呈現的效果會不一樣。
可以看出,當--iw到達1.5~2的時候,文字幾乎不太重要了(根本看不出生日蛋糕)。

二、多重提示(Multi-Prompts)

可以讓 Midjourney Bot 單獨考慮兩個或多個單獨的概念作為::分隔符。
分隔提示允許您為提示的各個部分分配相對重要性。

多重提示基礎
在提示中添加雙冒號::向 Midjourney Bot 表明它應該分別考慮提示的每個部分。
在下面的示例中,對於提示,hot dog所有單詞都被考慮在一起,Midjourney Bot 生成美味熱狗的圖像。
但如果將提示分成兩部分,hot:: dog則將兩個概念分開考慮,從而創建很熱的狗的圖片。
備註:
1.雙冒號之間沒有空格::
2.各版本皆適用
3.任何參數都需在提示的最後

提示權重
當使用雙冒號::將提示分成不同的部分時,您可以在雙冒號後立即添加一個數字,以分配提示的該部分的相對重要性。
在下面的示例中,提示hot:: dog生成了一隻熱狗。將提示更改為hot::2 dog
的話,「熱」的重要性是「狗」的兩倍,從而產生了一隻非常熱的狗的圖像!
備註:
[模型版本] 1, 2,3只接受整數作為權重
[模型版本]4可以接受小數位
非指定權重默認為 1。

負提示權重
可以將負權重添加到提示中以刪除不需要的元素。例如::-.5

三、排列組合提示(Permutation Prompts)

排列組合提示允許您使用單個命令快速生成多個提示的圖片。
通過在提示中的{花括號}以及內包含的逗號 , ,分隔不同的選項。
排列提示僅適用於使用快速模式的Pro 訂閱者

排列提示基礎
在大括號 {} 內分隔您的選項列表,以快速創建和處理多個提示。
提示示例: /imagine prompt a {red, green, yellow} bird創建並處理三個作業。
/imagine prompt a red bird /imagine prompt a green bird /imagine prompt a yellow bird

排列提示示例

提示文本
該提示/imagine prompt a naturalist illustration of a {pineapple, blueberry, rambutan, banana} bird將創建並處理四個作業:

提示參數變化
提示/imagine prompt a naturalist illustration of a fruit salad bird --ar {3:2, 1:1, 2:3, 1:2}將創建和處理四個具有不同縱橫比的作業:
該提示將使用不同的 Midjourney模型版本/imagine prompt a naturalist illustration of a fruit salad bird --{v 5, niji, test}創建和處理三個作業:

多重排列組合
可以在單個提示中使用多組括號中的選項。 /imagine prompt a {red, green} bird in the {jungle, desert}創建並處理四個作業。
/imagine prompt a red bird in the jungle /imagine prompt a red bird in the desert /imagine prompt a green bird in the jungle /imagine prompt a green bird in the desert
也可以在單個提示中將括號內的選項集嵌套在其他括號內:
例子:/imagine prompt A {sculpture, painting} of a {seagull {on a pier, on a beach}, poodle {on a sofa, in a truck}}.
/imagine prompt A sculpture of a seagull on a pier. /imagine prompt A sculpture of a seagull on a beach. /imagine prompt A sculpture of a poodle on a sofa. /imagine prompt A sculpture of a poodle in a truck. /imagine prompt A painting of a seagull on a pier. /imagine prompt A painting of a seagull on a beach. /imagine prompt A painting of a poodle on a sofa. /imagine prompt A painting of a poodle in a truck.
這次就解說到這裡,高級提示有點複雜,建議自己用過會比較有概念喔~
如果有問題都歡迎留言,我都會一一回覆。

之前的教學:
Midjourney技巧教學-第五課:參數(Parameter List)

👉喜歡文章請按下愛心❤️
👉想學更多請按下追蹤】✅
👉文章若有幫助也歡迎贊助】【訂閱】☕
這些都將成為我持續前行的動力🚀

感謝牆📣(之後訂閱專題者將公布在此)
感謝 Sunny Liu武曲天府 訂閱,您的支持是我的最大的動力~

分享至
成為作者繼續創作的動力吧!
介紹新科技如何應用在教育、心理、文字工作等領域的專欄,例如Chat CPT、Midjourney、inVideo等等。專欄的內容可能會包括各式軟體的應用、心理學研究與科技的結合、部落格的創作與行銷技巧等。通過這個專欄,讀者可以更深入地了解科技在這些領域的應用,讓科技小白也能利用各種軟體工具來創造更多的價值和成果。
從 Google News 追蹤更多 vocus 的最新精選內容從 Google News 追蹤更多 vocus 的最新精選內容

發表回應

成為會員 後即可發表留言