当前位置: 华文头条 > 国风

AI绘画|Stable Diffusion实战——如何稳定绘制全身图(咒语)?

2023-12-08国风

众所周知,使用Stable Diffusion进行绘制全身图时,总是会脸崩。今天就分享一下来自模型geminixMix_V3大佬的干货,如何能稳定的绘制全身图。

提醒:不可说原因,部分配图已删除,请自行生图O(∩_∩)O

1.本文中使用geminixMix_V3模型在SD1.5的环境下生成,CKPT下载处放在最后.

2.贴上准备好的prompt,下面是已经帮大家分段好的提示词,

>>第一段是定义画面和图片品质

>>第二段式形容角色

>>第三段式定义环境场景

大家可以依照自己的需求做出调整,最好可以把从头到脚的配件都写进去Prompt,可以确保万无一失,尤其是鞋子.

3.参数设定:

Sampler: DPM++ SDE Karras,

Sampling Steps: 30,

尺寸: 576X1024,

CFG scale: 7,

种子:自定义或 -1,

Hires.fix打勾V,

放大算法: 个人最常用 Lanczos 可以多方尝试其他算法看效果

>>Hires steps: 0

>>Denoising: 0.3

>>Upscale by(放大倍数): 2.0

4.LoRA:

本分享使用2个LoRA:

>>GeminiX_201_NightPunkV1 权重 0.15

>>GeminiX_033_SofiaV1 权重 0.35

5.生成

按下生成后依照显卡等级(3080约200秒),就会生成一个全身靓妹图,prompt中的 full-body: 权重建议设定 1.4~1.5,这样才有大机率生成全身的人体下,还能LoRA保留角色脸部特整,这里附上 0.5/1.0/1.5/2.0 几种权重的差异.(2.0时LoRA脸部特征已经有点跑掉了)

6.设定细项解释

这个尺寸576X1024加上 2X 的Hires.fix,以及 full-body:1.4 的prompt,在全身的构图且无须其他插件下,让脸部可以清晰生成,并且LoRA特征不会跑掉.

7.下面是Prompt:

Prompt:

(photorealistic:1.4), (extremely intricate:1.2),(exquisitely detailed skin), cinematic light, ultra high res, 8k uhd, intricate details, Movie Light, film grain, dreamlike, perfect anatomy, best shadow, delicate, RAW, realistic, ((SFW:1.9)), ((school life)),

((1girl, solo)), Japanese girl, ((medium breasts:1)), ((full-body:1.4)), looking at viewer, jacket, white jacket, long sleeves, shirt, black eyes, sitting, closed mouth, bangs, lips,

chair, indoors, classroom, desk, school desk, school chair,

. Negative prompt:

(worst quality, normal quality, low quality:1.7), paintings, sketches, freckles, lowres, monochrome, grayscale, bad proportions, watermark, signature, text, curvy, plump, fat, muscular female, NSFW:2.0,

8.其他:

>>LoRA是使用geminixMix_V3训练的

>>其他的配图都会附上prompt.

>>GeminixMix CKPT:

>>LoRA下载处:

<(photorealistic:1.4), (extremely intricate:1.2)>,<(exquisitely detailed skin), cinematic light, ultra high res, 8k uhd, intricate details, Movie Light, film grain, dreamlike, perfect anatomy, best shadow, delicate, RAW>,
(1girl, solo)),Japanese girl,((medium breasts:1)),sneakers,shoes,((sports shirt)),sweatpants,hand on hip,brown eyes,socks,looking at viewer,standing,black hair,graffiti,pink footwear,ponytail,lips,((full-body:1.4)),((daytime, sunlight, sunshine)),(((Taipei 101, Taipei 101 background))),in the alley,alley,outdoors,detailed background,Modern metropolis,

<(photorealistic:1.4), (extremely intricate:1.2)>, <(exquisitely detailed skin), cinematic light, ultra high res, 8k uhd, intricate details, Movie Light, Oil Painting Texture, film grain, dreamlike, perfect anatomy, best shadow, delicate, RAW>, ((short hair, bob hair)), ((1girl, solo)), Japanese girl, ((large breasts:1.0)), ((sneakers, sports shirt, sweatpants)), pink footwear, ((full-body:1.4)), ((neon light)), ((cyberpunk cityscape, glowing neon sign)), ((sfw:1.99))), black black drinking glass, cup, sitting, spread legs, looking at viewer, bar (place), brown eyes, indoors, stool, alcohol, holding cup, holding, realistic, lips, short hair, wine glass, black hair, counter, bar stool, parted lips, neon lights, lace-trimmed cocktail glass, thighs

<(photorealistic:1.4), (extremely intricate:1.2)>, <(exquisitely detailed skin), cinematic light, ultra high res, 8k uhd, intricate details, Movie Light, Oil Painting Texture, film grain, dreamlike, perfect anatomy, best shadow, delicate, RAW>, ((short hair, bob hair)), ((1girl, solo)), Japanese girl, ((large breasts:1.0)), ((sneakers, sports shirt, sweatpants)), pink footwear, ((full-body:1.4)), ((neon light)), ((cyberpunk cityscape, glowing neon sign)), ((sfw:1.99))), ass, pool, looking at viewer, night, poolside, sitting, brown eyes, water, white outdoors, parted lips, lips, earrings, looking back, jewelry, smile, night sky, realistic, from behind

<(photorealistic:1.4), (extremely intricate:1.2)>, <(exquisitely detailed skin), cinematic light, ultra high res, 8k uhd, intricate details, Movie Light, Oil Painting Texture, film grain, dreamlike, perfect anatomy, best shadow, delicate, RAW>, ((short hair, bob hair)), ((1girl, solo)), Japanese girl, ((large breasts:1.0)), ((sneakers, sports shirt, sweatpants)), pink footwear, ((full-body:1.4)), ((neon light)), ((cyberpunk cityscape, glowing neon sign)), ((sfw:1.99))), jewelry, earrings, bar (place), dress, alcohol, lips, looking at viewer, cup, stool, yellow dress, drinking glass, parted lips, bar stool, indoors, multiple girls, brown eyes, bracelet, shoulders, realistic, holding, solo focus, mole under eye, shiny skin, shiny, holding cup

<(photorealistic:1.4), (extremely intricate:1.2)>, <(exquisitely detailed skin), cinematic light, ultra high res, 8k uhd, intricate details, Movie Light, Oil Painting Texture, film grain, dreamlike, perfect anatomy, best shadow, delicate, RAW>, ((short hair, bob hair)), ((1girl, solo)), Japanese girl, ((large breasts:1.0)), ((sneakers, sports shirt, sweatpants)), pink footwear, ((full-body:1.4)), ((neon light)), ((cyberpunk cityscape, glowing neon sign)), ((sfw:1.99))), looking at viewer, sunset, sitting, earrings, lips, realistic, jewelry, mole on thigh, green eyes, mole on breast, ocean, water, collarbone