造夢師手記:華夏之美,SDXL時(shí)代的第一個(gè)國風(fēng)模型和漢服LoRA


“中國有禮儀之大,故稱夏;有服章之美,謂之華?!?——《春秋左傳正義》。
漢服源自于漢族,漢族源自于于漢朝,漢朝源自于漢中,劉邦發(fā)家的地方。據(jù)說,漢中這個(gè)地名,則來自于銀河:古人稱銀河璀璨為天漢燦爛。
這是一個(gè)自古以來就追尋星辰大海的民族。
在漢朝之前,中國人自稱華夏,華夏的華,就是服章之美。
漢服,是最古老也是最美麗的華夏文化。
SDXL發(fā)布后,一直備受歡迎的國風(fēng)模型迅速更新,發(fā)布了XL版專用模型,而最受歡迎的漢服LoRA也跟進(jìn),在國風(fēng)模型的基礎(chǔ)上更新了XL版專用的漢服LoRA。
和SD1.5版的漢服LoRA相比,SDXL版的漢服LoRA最大的特點(diǎn),是清晰度大大提升,尤其是基本不會(huì)出現(xiàn)過擬合等情況,背景也更加豐富(新的XL模型素材更充實(shí)了)。
尤其是XL對自然語言的理解更加容易,創(chuàng)作者能很容易的用比較口語化的表述來讓AI實(shí)現(xiàn)自己的想法。
1、在星光下的漢服女孩
模型:4Guofeng4XL_v10RealBeta
提示詞:
star,starlight,forest,1girl, on ?stomach,grass,mushroom,squirmle,nights,surrounded by shining stars,best quality,masterpiece,illustratio,1girl, hanfu, tang style outfits <lora:hanfuTang_v40_M_SDXL:0.6>,

PS,SDXL畫手還是差點(diǎn)事... ...
換一下其他模型
dreamshaperXL:

模型:counterfeitxl

其實(shí)這個(gè)提示詞本來沒有on stomach,跑出來的都是站立的漢服女孩,因?yàn)橛心⒐铰?,煉丹群的群友們戲稱,紅傘傘、白桿桿、躺板板。

于是就放上了躺下的提示詞,結(jié)果只有counterfeitxl領(lǐng)會(huì)的比較深,其余的模型都是坐著。
2、漢服之美,要從娃娃做起
模型:SDXL base
提示詞:
a georgia baby girl, (3 year old:1.8), solo, (full body:1.5), (translucent skin:1.1), (snow white skin:1.1), model posture, hanfu,
ming style, white short shirt, green bow tie, the hem is tied in the skirt, mamian skirt, (light green short skirt:1.2), not knee-length skirt, embroidery, woven gold, makeup flower, white Mary Jane shoes,
(white background:1.2), simple background, photo taken with fujifilm superia, style by Andreas Achenbach,
in the style of hyper-realistic portraiture, machine age aesthetics, chinapunk, decadent beauty, close up, majismo,
dslr, 8k, 4k, ultrarealistic, realistic, natural skin, textured skin <lora:hanfuTang_v40_M_SDXL:0.6>,

3、嘗試一下自然語言
先構(gòu)思一段中文:一個(gè)3歲的女孩穿著漢服,走在竹林里。
然后用提示詞翻譯器翻譯成英文:A 3-year-old girl wearing Hanfu is walking in the bamboo forest

這個(gè)工具基于百度翻譯提供的API接口,詳細(xì)介紹材料在這里:
路過銀河:AI學(xué)習(xí)筆記|用開源Stable Diffusion 打造自己的中文版文心一言8 贊同 · 1 評論文章

安裝地址:https://github.com/butaixianran/Stable-Diffusion-Webui-Prompt-Translator
選擇了dreamshaper作者制作的一個(gè)XL版的動(dòng)漫模型:animeArtDiffusionXL_alpha3

讓人讓人驚訝的是,由于SDXL數(shù)據(jù)集非常強(qiáng)大,基于它的模型并沒有非常明顯的短板,哪怕是“動(dòng)漫”模型,也能還原出接近真實(shí)照片的效果。
這意味著,模型創(chuàng)作者根本不需要刻意的區(qū)分動(dòng)漫、真人、2.5D等風(fēng)格,可以任意揮灑想象力。
4、除了漢服,還可以生成世界萬物,去看看外面的世界
模型:4Guofeng4XL_v10RealBeta
提示詞:
abstract dream, space, intricate, grand scale, alone, cinematic film still, insane detail, sharp focus, depth of field, realistic lighting, (realistic perspective), complex, (multiple subjects), 4k HDR

5、星漢燦爛
模型:animeArtDiffusionXL_alpha3
提示詞:
abstract dream, space, intricate, grand scale, alone, cinematic film still, insane detail, sharp focus, depth of field, realistic lighting, (realistic perspective), complex, (multiple subjects), 4k HDR,
?hanfu,<lora:hanfuTang_v40_M_SDXL:0.6>

6、模型下載:
國風(fēng)XL
https://tusi.art/models/619988669614486989
漢服LoRA XL
https://tusi.art/models/620628765770266864