新方案】雙人貼貼的tags整理

好看誘人的貼貼圖是大家都喜歡的。
如何利用novelai來(lái)生成貼貼圖呢,這里大概總結(jié)一下一些可行的方法
一、簡(jiǎn)單高效,分別描述
利用之前專(zhuān)欄里提到的分段原理【AI繪畫(huà)】完整tags書(shū)寫(xiě)思路,從人工智能理論來(lái)了解如何繪畫(huà) - 嗶哩嗶哩 (bilibili.com),我們把人物不同的地方分開(kāi)描寫(xiě),兩個(gè)人物之間插入背景動(dòng)作等其他描述。
公式:
2girls, yuri,side by side,chest to chest, 兩人相同類(lèi)描寫(xiě),
(girlA: xxx,xxx),動(dòng)作1,背景1,背景2,
(girlB: xxx,xxx),全身描寫(xiě),兩人相同類(lèi)描寫(xiě),背景細(xì)節(jié)
舉例:
(2girls:1.3),Yuri, chest to chest, [[:?,:0.5]::0.8]?twincest, twinset,[smile],
(girl1: blonde long hair and green eyes), nature, flowers meadows, sunlight, Venetian, Port, boats,?
(girl2: red short hair and red eyes), detailed beautiful face, delicate beautiful eyes,upper body, thigh, cowboy shot, cinematic lighting, (beautiful sky and cloud:1.2), sea, floating petals, sparkle

這種方法最簡(jiǎn)單,效果也很好,因?yàn)槲覀兠枋錾?,基本上要綁定的元素就是頭發(fā)和眼睛的顏色。這種寫(xiě)法把同類(lèi)項(xiàng)都寫(xiě)一起來(lái),減少分別描述的量。頭發(fā)和眼睛都綁定基本上穩(wěn)定。
二、分步繪制,語(yǔ)法堆砌
分步繪制一出來(lái)就被應(yīng)用于畫(huà)貼貼了[AI繪畫(huà)]如何畫(huà)兩人貼貼,雙子貼貼tags解讀 - 嗶哩嗶哩 (bilibili.com)
這個(gè)方法主要是利用分步或者循環(huán)迭代的方法,讓ai在同一時(shí)間只讀取一個(gè)人物的信息。但是這個(gè)方法還是有很高的元素混亂概率。ai不能很好確認(rèn)分開(kāi)的描述對(duì)應(yīng)具體的哪個(gè)人物。
公式:
(2girls side by side),yuri,
[(girlA has 某一主體描述:如頭發(fā)) |?(girlB has 某一主體描述:如頭發(fā)):(girlA has 該主體的裝飾) |?(girlB 該主體的裝飾):0.7],?
[(girlA has?另一主體描述:如衣服)?|?(girlB has 另一主體描述:如衣服):(girlA has?該主體的裝飾)?|?(girlB has?該主體的裝飾):0.7],?
舉例:
(2girls side by side),yuri,
(girlA is white single ponytai curly hair and earings and red eyes and white hanfu |?
girlB is blonde long straight hair and headdress flower and red eyes and red qipao dress),
或者是
[(girlA has blonde long straight hair) | (girlB has white single ponytail curly hair):(girlA has headdress flower) | (girlB has star earrings):0.7],?
[(girlA has red qipao dress) | (girlB has white hanfu):(girlA has silver patterns and lace) | (girlB?has bare back):0.7],
這里是先畫(huà)了人身上大塊的色塊,比如頭發(fā),我在頭50步把頭發(fā)已經(jīng)基本畫(huà)好了,然后再在頭發(fā)都基礎(chǔ)上添加小的發(fā)飾。
另一邊,我先畫(huà)了紅色旗袍和白色漢服,然后再添加衣服上的細(xì)節(jié)裝飾。
整個(gè)過(guò)程中,都使用了girlA 和girlB來(lái)區(qū)分兩個(gè)girl,同時(shí)使用循環(huán)迭代,讓每一步中,只有一個(gè)女孩的描述存在。盡力避免兩人的描述同時(shí)出現(xiàn),導(dǎo)致混淆。

說(shuō)實(shí)話,效果一般般,寫(xiě)起來(lái)也復(fù)雜,讀著也頭痛2333
三、拋棄語(yǔ)法,兩段書(shū)寫(xiě)
{+{(The?two?loli?girls?hugged?and?kiss?each?other),(loli,(Blue?short?hair):1.5,Sapphire?eyes?,<white?hood>,?big?bow,?short?white?socks,?one-piece?skirt,?wide?lace?cuffs,?square?eardrops}//}?AND?{(loli,Hair?color?pink,?oblique?bangs,?covering?one?eye,?pupil?color?amber,?fairy?ears)//}
這個(gè)思路其實(shí)和第一個(gè)差不多,兩個(gè)人物同時(shí)書(shū)寫(xiě),中間用占位符分割一下。這個(gè)方法是認(rèn)為ai就是瓜的,根本不認(rèn)識(shí)girlA,girlB,多說(shuō)無(wú)用,我直接告訴你寫(xiě)兩段人物描寫(xiě)。這方法大致也有點(diǎn)用,但是缺少了點(diǎn)隔離,有時(shí)候還是混。不過(guò)已經(jīng)比花里胡哨好多了。

四、綜合利用?
花里胡哨1:
(2girls:1.3),Yuri, chest to chest, [[:?,:0.5]::0.8] twincest,
(girlA: green eyes), nature, flowers meadows, sunlight, Venetian, Port, boats,?
(girlB: (red eyes)), detailed beautiful face,delicate beautiful eyes, sea,
[(girlA: has blonde long straight hair) | (girlB: has red short hair):(girlA: has headdress flower) | (girlB: has star earrings):0.7], upper body, thigh, cowboy shot, cinematic lighting,
[(girlA: has red Lolita dress) | (girlB:has white hanfu dress):(girlA: has silver patterns and lace) | (girlB: has bareback):0.7],(beautiful sky and cloud:1.2), floating petals, sparkle

花里胡哨2:
(2girls:1.3),Yuri, chest to chest, [[:?,:0.5]::0.8] detailed beautiful face,delicate beautiful eyes,?
(girlA:blonde long straight hair and green eyes), [:(girlA: has headdress flower,):0.7] ai is sb ==///, [(girlA: has red gothic lolita,) :(girlA: has silver patterns and lace,):0.7] nature, flowers meadows, sunlight, (Venetian, Port, boats),?
(girlB:red short hair and red eyes),[:((girlB: has star earrings,):0.7] ai is sb ==///, [(girlB: has white dress,):(girlB: has bareback,):0.7] upper body, thigh, cowboy shot,?
cinematic lighting,(beautiful sky and cloud:1.2),sea, floating petals, sparkle

顏色太多了沒(méi)辦法綁定好,漢服還有自帶黑發(fā)污染。
綜合一句話就是:花里胡哨的不好用,簡(jiǎn)單直接到方法最好。寫(xiě)得越多越綁不好元素,不如簡(jiǎn)單規(guī)定頭發(fā)眼睛剩下讓ai自己發(fā)揮。
(2girls:1.2),Yuri, chest to chest, [[:?,:0.5]::0.8]
(girl1: blonde long straight hair and green eyes and red dress [:(and headdress flower,):0.7]) nature, flowers meadows, sunlight, (Venetian, Port, boats),?
(girl2: red short hair and red eyes and white dress [:(and star earring,):0.7]), [:(patterns and lace,):0.6] detailed beautiful face,delicate beautiful eyes, [smile], upper body, thigh, cowboy shot,?
cinematic lighting,(beautiful sky and cloud:1.2), sea, floating petals, sparkle

五、完美解決方法
還是上面那個(gè)tag,紅發(fā)紅眸白裙子,金發(fā)碧眼紅衣衫。
img2img能完美解決顏色的污染

這種修復(fù)大概給0.6就可以了

接下來(lái)展示下我自學(xué)十年,拿過(guò)全國(guó)幼兒園繪畫(huà)大賽優(yōu)勝獎(jiǎng)的手繪,隨便涂點(diǎn)色塊來(lái)img2img

這種那么復(fù)雜的推薦書(shū)0.8-1的Denoising

img2img才是永遠(yuǎn)都神







