当前位置:首页|资讯|AI绘画|百度

【AI绘画】关于生成P5画风,你需要知道的一切

作者:Chuck_2023发布时间:2023-04-21

前言

今天给大家带来的测试是P5画风lora。

p5全名女神异闻录5,游戏以黑红白撞色为主色调,并将其贯彻到游戏的所有设计中,极具张力的画面效果与背后的朋克精神,令人印象深刻。

下载链接

CKPT大模型

链接:https://pan.baidu.com/s/1FH1pOLthDAn0xQxMbx9viA?pwd=hy86

提取码:hy86

lora模型

链接:https://pan.baidu.com/s/14VDlGXnhan-Cd6rWviIcUg?pwd=40z4

提取码:40z4

交流群

测试将使用到的模型

(A)abyssorangemix2SFW

(B)chilloutmix

(C)kawaiidifusionSD15

(D)revAnimated

(E)refslaveV1_v1

暂无预览

实际使用案例

大模型:refslaveV1_v1

lorapersona5Style

权重:0.65

Steps: 20, Sampler: DPM++ SDE Karras, CFG scale: 10, Seed: 472999804, Size: 632x920,

正:

masterpiece, best shadow,([red | black| white background:1.5),black outline,beautiful detailed face, beautiful detailed eyes, High contrast, an extremely delicate and beautiful , girl: 1.5, solo, black skirt, blue eyes, electric guitar, guitar, headphones, holding, holding plectrum, instrument, long hair, music, one side up, pink hair, playing guiter, pleated skirt, black shirt, cowboy shot, best quality,负:Negative prompt: EasyNegative,text,username,logo,(low quality, worst quality:1.4), (bad anatomy), (inaccurate limb:1.2), bad composition, inaccurate eyes, extra digit, fewer digits, (extra arms:1.2)

大模型:abyssorangemix2SFW

lorapersona5Style

权重:0.6

Steps: 20, Sampler: DPM++ SDE Karras, CFG scale: 7, Seed: 2484280854, Size: 823x823

正:

masterpiece, best shadow,([red|black|white] background), from above,simple background,(finely detailed beautiful eyes: 1.2), (((extremely detailed))), 1girl, huge breasts, shirt, grey eyes, solo, skirt, long hair, white shirt, necktie, looking at viewer, black skirt, indoors, high heels, grey hair, black necktie, office lady, sitting, breasts, office chair, chair, collared shirt, drill hair, pencil skirt, black footwear, brown pantyhose, legs, monitor, long sleeves, hair between eyes, twin drills, window, ponytail, plant, high-waist skirt, crossed legs, illustration负: EasyNegative,text,username,logo,(low quality, worst quality:1.4), (bad anatomy), (inaccurate limb:1.2), bad composition, inaccurate eyes, extra digit, fewer digits, (extra arms:1.2)

大模型:abyssorangemix2SFW

lorapersona5Style

Steps: 20, Sampler: DPM++ SDE Karras, CFG scale: 7, Seed: 915509500, Size: 823x823

正:

masterpiece, best shadow,([red|black|white] background), from above,simple background,solo, 1boy,gloves, male focus, fingerless gloves, red jacket, jacket, shirt, white shirt, adjusting gloves, black gloves, pants, black hair, red eyes, open clothes, black pants, short hair, adjusting clothes, closed mouth, standing, bangs, open jacket, belt, multicolored hair, collarbone, collared shirt, long sleeves, cowboy shot负:

EasyNegative,text,username,logo,(low quality, worst quality:1.4), (bad anatomy), (inaccurate limb:1.2), bad composition, inaccurate eyes, extra digit, fewer digits, (extra arms:1.2)

大模型:abyssorangemix2SFW

lorapersona5Style

Steps: 20, Sampler: DPM++ SDE Karras, CFG scale: 7, Seed: 915509500, Size: 823x823

正:

masterpiece, best shadow,([red|black|white] background), from above,simple background,solo, from side, short hair, blue iris, white shirt, 1 boy, jacket, male focus, red hair, white jacket, black pants, open jacket, blue vest, phone负:

EasyNegative,text,username,logo,(low quality, worst quality:1.4), (bad anatomy), (inaccurate limb:1.2), bad composition, inaccurate eyes, extra digit, fewer digits, (extra arms:1.2)

大模型测试

基础信息

Steps: 20, Sampler: DPM++ SDE Karras, CFG scale: 7, Seed: 4087651970, Size: 512x512

正:

masterpiece, best quality ,1girl, solo,shuujin academy school uniform, school uniform, solo, red background, black background, black hair, monochrome, hands in pockets, jacket, upper body

负:

EasyNegative,text,username,logo,(low quality, worst quality:1.4), (bad anatomy), (inaccurate limb:1.2), bad composition, inaccurate eyes, extra digit, fewer digits, (extra arms:1.2)

对比图

阶段结论

官方给出的建议权重为0.5到0.8的权重,但按照测试结果来看,0.4~0.6效果更好,甚至可以兼容本来不太兼容的真人风格大模型。

低权重情况下,兼容性很好。权重超过0.7的时候只有少数大模型能保持画面稳定,超过0.9则连官方推荐的模型都无法维持画面稳定。

为了测试lora性能,所以依然选用官方推荐的大模型(E)

画风测试 单色/背景

单色背景/人

基础信息

Steps: 20, Sampler: DPM++ SDE Karras, CFG scale: 7, Seed: 2281022324, Size: 512x512

正:

masterpiece, best quality ,

1girl, solo,

shuujin academy school uniform, school uniform, solo,black hair, hands in pockets, jacket, upper body,

monochrome, [red| black]background,

负:

EasyNegative,text,username,logo,(low quality, worst quality:1.4), (bad anatomy), (inaccurate limb:1.2), bad composition, inaccurate eyes, extra digit, fewer digits, (extra arms:1.2)

对比图

单色背景

基础信息

Steps: 20, Sampler: DPM++ SDE Karras, CFG scale: 7, Seed: 3285141946, Size: 512x512

正:

masterpiece, best quality ,

1girl, solo,

shuujin academy school uniform, school uniform, solo, black hair, hands in pockets, jacket, upper body,

[red| black]background,

负:

EasyNegative,text,username,logo,(low quality, worst quality:1.4), (bad anatomy), (inaccurate limb:1.2), bad composition, inaccurate eyes, extra digit, fewer digits, (extra arms:1.2)

对比图

细致背景

Steps: 20, Sampler: DPM++ SDE Karras, CFG scale: 7, Seed: 463501309, Size: 512x512

正:

masterpiece, best quality ,

1girl, solo,

shuujin academy school uniform, school uniform, solo, black hair, hands in pockets, jacket, upper body,

detailed and intricate, city , night , city light , strong rim light,Contre-Jour

负:

EasyNegative,text,username,logo,(low quality, worst quality:1.4), (bad anatomy), (inaccurate limb:1.2), bad composition, inaccurate eyes, extra digit, fewer digits, (extra arms:1.2)

对比图:

阶段结论

各方面效果都还行

纯色背景且人物黑白的情况下,权重仅与画风的相似程度相关

纯色背景但人物彩色的情况下,权重越高,人物的姿态与细节越接近p5

细致背景情况下,0.6~0.7是一个微妙的平衡点,超过平衡点背景会像纯色转变。不过结合下面的测试可以看出,不设定背景色调要求的时候,他会提炼主要元素色系,适配一套看起来合适的背景。

控制画风需要用到的Tag

画面单色Tagmonochrome

简单背景tagsimple background

红黑配色背景tag[red|black]background

兼容性测试 男/女/服装

人物兼容性测试——原神钟离

基本信息

lorazhongliLoraCollection_zhongliHard

lorapersona5Style

Steps: 20, Sampler: DPM++ SDE Karras, CFG scale: 7, Seed: 2606890294, Size: 512x512

正:

masterpiece, best quality ,1man, solo,character \(series\),zhongli \(genshin impact\),<lora:zhongliLoraCollection_zhongliHard:NUM>

负:

EasyNegative,text,username,logo,(low quality, worst quality:1.4), (bad anatomy), (inaccurate limb:1.2), bad composition, inaccurate eyes, extra digit, fewer digits, (extra arms:1.2)

对比图

人物兼容性测试——原神可莉

基础信息

lorakleeGenshinImpact

lorapersona5Style

Steps: 20, Sampler: DPM++ SDE Karras, CFG scale: 7, Seed: 882574321, Size: 512x512

正:

masterpiece, best quality ,1girl, solo,<lora:kleeGenshinImpact_kleeGenshinImpact:NUM>,blond hair, red dress,stuffed animal, backpack pendant, hat , Backpack, stuffed animal, backpack pendant, hat ,klee \(genshin impact\) \(cosplay\), (little girl:1.2)负:

EasyNegative,text,username,logo,(low quality, worst quality:1.4), (bad anatomy), (inaccurate limb:1.2), bad composition, inaccurate eyes, extra digit, fewer digits, (extra arms:1.2)

对比图

服装兼容性测试——汉服

基础数据

lora:hanfu_v29

lorapersona5Style

Steps: 20, Sampler: DPM++ SDE Karras, CFG scale: 7, Seed: 191318756, Size: 512x512

正:

masterpiece, best quality ,1girl, solo,hanfu,song,strong rim light,upper bodywind, autumn, maple leaf, falling leaves, blurry background, day, ginkgo leaf, depth of field,负:

EasyNegative,text,username,logo,(low quality, worst quality:1.4), (bad anatomy), (inaccurate limb:1.2), bad composition, inaccurate eyes, extra digit, fewer digits, (extra arms:1.2)

对比图

阶段结论

兼容性测试中的表现非常好,有两个明显的权重区间,0.5与0.7,权重超过0.5时,画面会开始显现经典的p5人物白色边框,色调也会一定程度偏向P5原始风格,在这一阶段下对人物本身的还原程度还是比较高的。权重超过0.7时,画面则开始显露P5经典的漫画效果与文字。

不过这个情况没有在汉服lora的测试中体现,因为汉服lora测试没有指向特定某个人,猜测可能指向性的生成某个人物专属的画面时,才会有这样的转变。

另外,在兼容性测试中,意外发现,低权重情况下它会按照人物的颜色主题设计单色背景,在一些情况下意外的有趣。

风格迁移测试 图生图

特写

基础信息

lorapersona5Style

Steps: 20, Sampler: DPM++ SDE Karras, CFG scale: 7, Seed: 1301814522, Size: 512x512

正:

masterpiece, best quality ,1girl, solo,blonde hair, wavy hair, close-up, face,负:

Negative prompt: EasyNegative,text,username,logo,(low quality, worst quality:1.4), (bad anatomy), (inaccurate limb:1.2), bad composition, inaccurate eyes, extra digit, fewer digits, (extra arms:1.2)

半身

基础信息

lorapersona5Style

Steps: 20, Sampler: DPM++ SDE Karras, CFG scale: 7, Seed: 415137875, Size: 640x883

正:

masterpiece, best quality ,1girl, solo,wheat field, standing , long hair , [blue|white]dress , holding wheat, hand in own hair, looking at down,sideways, upper body,负:

EasyNegative,text,username,logo,(low quality, worst quality:1.4), (bad anatomy), (inaccurate limb:1.2), bad composition, inaccurate eyes, extra digit, fewer digits, (extra arms:1.2)

全身

基础信息

lorapersona5Style

Steps: 20, Sampler: DPM++ SDE Karras, CFG scale: 7, Seed: 2155301319, Size: 588x893,

正:

masterpiece, best quality ,1girl, solo,simple background, white background, long fall boots, red dress, long hair,负:

EasyNegative,text,username,logo,(low quality, worst quality:1.4), (bad anatomy), (inaccurate limb:1.2), bad composition, inaccurate eyes, extra digit, fewer digits, (extra arms:1.2)

阶段结论

图生图测试的效果让人感觉有点鸡肋,低权重与重绘的情况下还原度高,但没有明确的p5画风质感,高权重与重绘的情况下则与原始人物外形完全脱离。我扩大了测试范围,依然效果不理想。所以不太建议在图生图模式使用这个lora,如果一定要使用,可以加上一些背景提示词帮助lora进行更大幅度的改变,可能会有比较好的效果。






Copyright © 2024 aigcdaily.cn  北京智识时代科技有限公司  版权所有  京ICP备2023006237号-1