如何一步一步的優(yōu)化AI繪圖效果?
一、前期準(zhǔn)備
1.1?AI?繪圖軟件準(zhǔn)備
首先,需要下載一個(gè)使用起來(lái)比較方便的?AI?繪圖軟件方便我們進(jìn)行圖片生成。這里給大家推薦兩款適合我們學(xué)習(xí)使用的免費(fèi)插件:
JourneyDraw:Edge/Chrome插件商店下免費(fèi)載
DiffusionDraw:Edge/Chrome插件商店下免費(fèi)載
1.2?提示詞?-?基礎(chǔ)知識(shí)
這里建議剛剛接觸?AI?繪圖的同學(xué)們可以學(xué)習(xí)一下?AI?提示詞相關(guān)的知識(shí)。因?yàn)槲覀內(nèi)绻谝淮谓佑|提示詞這個(gè)領(lǐng)域,其實(shí)就像學(xué)習(xí)寫作文。如果能夠掌握一套寫作技巧對(duì)于后續(xù)各種類型的文章的創(chuàng)作都會(huì)很有幫助。這種模板或者說(shuō)套路不能給我們很高的上限,但是能夠提升我們初學(xué)者的下限。
二、AI?繪圖的優(yōu)化流程
2.1?生成一張基礎(chǔ)圖像
首先,這張基礎(chǔ)的圖片我想象的場(chǎng)景是:一位女士
提示語(yǔ):a woman


我們可以看到,由于我們的提示語(yǔ)非常寬泛,所以?AI?生成的人物圖像其實(shí)是很隨意的,沒(méi)有任何規(guī)律可言,因此我們首先要做的是優(yōu)化?a?women?這個(gè)詞的主體。
2.2?優(yōu)化主體
在生成畫面時(shí),準(zhǔn)確描述主體是必要的,以確保模型能理解我們的需求。比如,要生成一個(gè)女人,簡(jiǎn)單寫"a?women"是不夠的。我們需要提供外貌、服裝、動(dòng)作等詳細(xì)細(xì)節(jié),如頭發(fā)長(zhǎng)短、著裝風(fēng)格、動(dòng)作姿態(tài)等。只有這樣,模型才能準(zhǔn)確理解我們的要求,并生成出符合期望的畫面。
那么我們就來(lái)對(duì)直接的提示語(yǔ)進(jìn)行優(yōu)化,我們改成這樣的一個(gè)場(chǎng)景:
中文提示語(yǔ):一個(gè)可愛的女人,短發(fā), 短馬尾,彩色澄澈的眼眸,順滑的頭發(fā),精致完美的五官,最美的大眼睛,長(zhǎng)長(zhǎng)的睫毛,眼睛甜美有臥蠶,皮膚白皙,微笑
轉(zhuǎn)換成英文: A lovely woman, short ponytail, colorful and clear eyes, smooth hair, exquisite and perfect facial features, the most beautiful big eyes, long eyelashes, sweet and silky eyes, fair skin, and a smile


現(xiàn)在我們可以發(fā)現(xiàn),AI?生成的圖像的內(nèi)容已經(jīng)被我的描述限定了生成范圍,所以關(guān)于這個(gè)女性圖像的生成開始變得有規(guī)律了??墒俏覀冞€是可以發(fā)現(xiàn)?AI?生成的圖像還是有些?AI?痕跡很明顯的情況需要我們繼續(xù)調(diào)整。

那么如何讓?AI?痕跡不那么明顯呢?
這里建議嘗試一些和真實(shí)或精確有關(guān)的詞語(yǔ),比如:現(xiàn)實(shí)、精確等等。
下面我在描述詞中補(bǔ)充幾個(gè)類似的詞:精確完美的人體結(jié)構(gòu)、現(xiàn)實(shí)、最高精度
中文提示語(yǔ):一個(gè)可愛的女人,短發(fā), 短馬尾,彩色澄澈的眼眸,順滑的頭發(fā),精致完美的五官,最美的大眼睛,長(zhǎng)長(zhǎng)的睫毛,眼睛甜美有臥蠶,皮膚白皙,微笑,精確完美的人體結(jié)構(gòu),現(xiàn)實(shí),最高精度?
轉(zhuǎn)換成英文: A lovely woman, short ponytail, colorful and clear eyes, smooth hair, exquisite and perfect facial features, the most beautiful big eyes, long eyelashes, sweet and silky eyes, fair skin, smile, precise and perfect human body structure, reality, and the highest precision


新的圖片中的?AI?痕跡降低了不少,但是出現(xiàn)了新的問(wèn)題,我寫的短馬尾呢?這就需要用到下面的技巧了
2.2?關(guān)鍵詞權(quán)重設(shè)置
我們可以看到當(dāng)我們的關(guān)鍵詞變多之后有些關(guān)鍵詞可能就被?AI?引擎忽略了,這個(gè)時(shí)候我們就需要對(duì)關(guān)鍵詞的權(quán)重進(jìn)行調(diào)整,以實(shí)現(xiàn)我們預(yù)期的效果。
語(yǔ)法很簡(jiǎn)單,就是?(關(guān)鍵詞:權(quán)重)。其中權(quán)重默認(rèn)為?1。
中文提示語(yǔ):一個(gè)可愛的女人,短發(fā), (短馬尾:1.1),彩色澄澈的眼眸,順滑的頭發(fā),精致完美的五官,最美的大眼睛,長(zhǎng)長(zhǎng)的睫毛,眼睛甜美有臥蠶,皮膚白皙,微笑,精確完美的人體結(jié)構(gòu),現(xiàn)實(shí),最高精度
轉(zhuǎn)換成英文: A lovely woman, (short ponytail:1.1), colorful and clear eyes, smooth hair, exquisite and perfect facial features, the most beautiful big eyes, long eyelashes, sweet and silky eyes, fair skin, smile, precise and perfect human body structure, reality, and the highest precision
2.3?其他優(yōu)化
之后我們還有一些可以優(yōu)化的小的細(xì)節(jié),這里逐步說(shuō)一下:
2.3.1 畫質(zhì)優(yōu)化
優(yōu)化畫質(zhì)可以考慮添加一些與畫質(zhì)相關(guān)的描述詞:
?(高細(xì)節(jié):1.6),(8K分辨率:1.1),超高分辨率,(站立著:1.1),極致畫質(zhì)
(High Detail: 1.6), (8K Resolution: 1.1), Ultra High Resolution, (Standing: 1.1), Ultimate Image Quality A lovely woman, (short ponytail:1.2), colorful and clear eyes, smooth hair, exquisite and perfect facial features, the most beautiful big eyes, long eyelashes, sweet and silky eyes, fair skin, smile, precise and perfect human body structure, reality, and the highest precisionA lovely woman, (short ponytail:1.2), colorful and clear eyes, smooth hair, exquisite and perfect facial features, the most beautiful big eyes, long eyelashes, sweet and silky eyes, fair skin, smile,(High Detail: 1.6), (8K Resolution: 1.1), Ultra High Resolution, (Standing: 1.1), Ultimate Image Quality,reality, and the highest precision


2.3.2 人物姿態(tài)調(diào)整
比如說(shuō):我的圖片想要?jiǎng)討B(tài)角度看到人物的全身
添加描述:
dynamic angle, can see the whole body
全部描述:A lovely woman, (short ponytail:1.2), colorful and clear eyes, smooth hair, exquisite and perfect facial features, the most beautiful big eyes, long eyelashes, sweet and silky eyes, fair skin, smile, precise and perfect human body structure, reality, and the highest precisionA lovely woman, (short ponytail:1.2), colorful and clear eyes, smooth hair, exquisite and perfect facial features, the most beautiful big eyes, long eyelashes, sweet and silky eyes, fair skin, smile,(High Detail: 1.6), (8K Resolution: 1.1), Ultra High Resolution, (Standing: 1.1), Ultimate Image Quality,reality, and the highest precision, (dynamic angle: 1.2),(can see the whole body:1.6)


更多高質(zhì)量干貨文章,請(qǐng)關(guān)注我的微信公眾號(hào):AI愛煤客