造夢(mèng)師手記:我有個(gè)朋友,想用Stable Diffusion一鍵穿脫衣


很多小伙伴,在進(jìn)行AI繪圖的時(shí)候,經(jīng)常會(huì)遇到一種情況:整個(gè)畫(huà)面比較完美,但衣服有點(diǎn)問(wèn)題,或者是穿的過(guò)多了點(diǎn),或者是穿的過(guò)少了點(diǎn)。
有沒(méi)有辦法,只調(diào)整穿的衣服呢?

答案是可以的。

C站有人做了一個(gè)非常好用的lora,用于增減衣服,叫Clothing+-
和大部分lora的用法不同,這個(gè)lora的權(quán)重可以設(shè)置從-1到1,其中設(shè)置為1極大概率為不可描述,設(shè)置為-1則全身覆蓋衣服。
一般情況下,-0.5左右是比較合適的狀態(tài)。
建議Clothing+-和ControlNet結(jié)合使用,可以在同一個(gè)角色的情況下,生成不同穿著衣服的畫(huà)面。
讓我們?cè)囈幌隆?/p>
用2.5D的模型:curiousmerge25D_v50V4V2
提示詞:
(masterpiece:1.4, best quality), (intricate details), unity 8k wallpaper, ultra detailed, beautiful and aesthetic, perfect lighting, (1girl), (blue hair, blue eyes, medium breasts),, dynamic pose, dynamic angle, lipstick, slim, slim body, medium breasts, , detailed background, realistic, solo, perfect detailed face, detailed eyes, highly detailed, blush, hair ornament, rolling_eyes, cross-eyed,
負(fù)面提示詞:
nsfw,logo,text,badhandv4,EasyNegative,ng_deepnegative_v1_75t,rev2-badprompt,verybadimagenegative_v1.3,negative_hand-neg,mutated hands and fingers,poorly drawn face,extra limb,missing limb,disconnected limbs,malformed hands,ugly,FastNegativeV2

要牢記住正負(fù)數(shù),正數(shù)是減衣服,負(fù)數(shù)是加衣服,所以我們用負(fù)數(shù)。
直接用-1看一下效果。
為了維持角色外觀基本不變,我使用了ControlNet插件的canny。

(masterpiece:1.4, best quality), (intricate details), unity 8k wallpaper, ultra detailed, beautiful and aesthetic, perfect lighting, (1girl), (blue hair, blue eyes, medium breasts),, dynamic pose, dynamic angle, lipstick, slim, slim body, medium breasts, , detailed background, realistic, solo, perfect detailed face, detailed eyes, highly detailed, blush, hair ornament, rolling_eyes, cross-eyed,<lora:Clothing+-:-1>

基本上該遮住的地方,都遮住了,符合我們想象中的效果(真的這么想嗎?)
把權(quán)重調(diào)整到-0.8:

繼續(xù)把權(quán)重調(diào)整到-0.5

把權(quán)重調(diào)整到0.2,注意,正數(shù)是減衣服!小心!

我又陸續(xù)試了下,從0.5、0.8,一直到1,但能貼出來(lái)的到此為止了,再這么下去,我有個(gè)朋友就要入刑了!
lora下載地址:
https://www.123pan.com/s/ueDeVv-Zx0I.html 提取碼:lgyh