Stable Diffusion 实操教程:使用 LoRA 生成冰霜旗袍美女
Stable Diffusion 结合大模型与 LoRA 技术可生成高质感人物图片。核心在于 Chilloutmix 大模型选择、add_detail LoRA 配置及 WebUI 参数优化。教程详解采样器、CFG、重绘幅度设置,提供冬季雪景旗袍美女的正向/负向提示词模板。涵盖模型存放路径、附加网络安装及高清修复步骤,指导用户提升出图真实感与细节表现。

Stable Diffusion 结合大模型与 LoRA 技术可生成高质感人物图片。核心在于 Chilloutmix 大模型选择、add_detail LoRA 配置及 WebUI 参数优化。教程详解采样器、CFG、重绘幅度设置,提供冬季雪景旗袍美女的正向/负向提示词模板。涵盖模型存放路径、附加网络安装及高清修复步骤,指导用户提升出图真实感与细节表现。

在 Stable Diffusion 入门后,许多用户会遇到生成的图片质感不足、真实感差的问题。造成这种差距的关键因素往往在于是否使用了合适的大模型(Checkpoint)和专门的 LoRA 包。
本教程将演示如何通过配置大模型与 LoRA,结合合理的参数设置,生成超真实且质感强的人物图片。
真人大模型通常推荐使用 Chilloutmix,它能提供较好的人像皮肤质感和光影效果。
novelai-webui-aki-v3(软件安装目录)\models\Stable-diffusion.ckpt 或 .safetensorsLoRA (Low-Rank Adaptation) 用于微调特定风格或人物特征。本例中使用 add_detail 增强细节。
novelai-webui-aki-v3(软件安装目录)\models\Lorasd-webui-additional-networks 插件,路径为 extensions\sd-webui-additional-networks\models\lora.safetensors 或 .ckpt 文件。models 文件夹中。合理的参数是出图质量的基础。以下是推荐的基础配置:
| 参数项 | 建议值 | 说明 |
|---|---|---|
| Steps | 22 | 建议范围 20-30,过高可能导致过拟合 |
| Sampler | Euler a | 该采样器在人物生成上效果相对较好 |
| CFG scale | 7 | 建议范围 7-11,控制提示词遵循度 |
| Seed | -1 | -1 表示随机种子 |
| Size | 640x1024 | 竖屏人像常用比例 |
| Denoising strength | 0.25 | 重绘幅度,过低变化小,过高失真 |
| Clip skip | 2 | 影响文本编码层数,通常设为 2 |
| Hires upscale | 2 | 高清修复放大倍数 |
| Hires steps | 15 | 高清修复步数 |
| Hires upscaler | 4x-UltraSharp | 推荐用于提升细节的放大算法 |
| VAE | vae-ft-mse-840000-ema-pruned.ckpt | 确保色彩还原准确 |
包含画质权重、场景描述、人物特征及服装细节。
((masterpiece)),(highres:1.3), (((best quality))), ((ultra-detailed)), ((illustration)),(photorealistic:1.3),(realistic:1.4),(Cinematic Lighting:1.3),
dynamic angle, in the winter,(snow white forest:1.1), hazy mist,(on the hot springs:1.3) ,(many thin detailed snowflakes:1.3), (bloom), (shine), (twinkling stars:), (snowing), many white tree, detailed snowflakes,
cowboy shot,
(1 girl),(((solo))),running,(between legs:1.3),
(chinese girl:1.1),(big breasts:1.3),
hanfu,hanfugirl, beautiful detailed eyes,(black eyes:1.2),(pale firered hair:1.3),light smile,
,(beautiful detailed face:1.3),(cute), blushing, light smile, makeup ,lipstick,detailed clothes,(pale green transparent tight floral qipao dress:1.35),
(white fishnet thighhighs:1.25)
用于排除常见缺陷和不想要的元素。
(cleavage:1.4),(Multiple people),(((simple background))),monochrome ,lowres, bad anatomy, bad hands, text, error, missing fingers, extra digit, fewer digits, cropped, worst quality, low quality,
normal quality, jpeg artifacts, signature, watermark, username, blurry, lowres, bad anatomy, bad hands, text, error, extra digit, fewer digits, cropped, worst quality, low quality, normal quality, jpeg artifacts, signature, watermark, username, blurry, ugly,pregnant,vore,duplicate,morbid,mut ilated,tran nsexual, hermaphrodite,long neck,mutated hands,poorly drawn hands,poorly drawn face,mutation,deformed,blurry,bad anatomy,bad proportions,malformed limbs,extra limbs,cloned face,disfigured,gross proportions, (((missing arms))),(((missing legs))), (((extra arms))),(((extra legs))),pubic hair, plump,bad legs,error,legs,username,blurry,bad feet ,(cleavage:1.4)
通过上述配置,可生成具有冬季雪景氛围、穿着旗袍的人物图片。以下展示部分生成结果:






















通过不断调整上述参数与提示词,用户可以逐步掌握 Stable Diffusion 的生成逻辑,创作出符合预期的高质量图像。

微信公众号「极客日志」,在微信中扫描左侧二维码关注。展示文案:极客日志 zeeklog
使用加密算法(如AES、TripleDES、Rabbit或RC4)加密和解密文本明文。 在线工具,加密/解密文本在线工具,online
生成新的随机RSA私钥和公钥pem证书。 在线工具,RSA密钥对生成器在线工具,online
基于 Mermaid.js 实时预览流程图、时序图等图表,支持源码编辑与即时渲染。 在线工具,Mermaid 预览与可视化编辑在线工具,online
解析常见 curl 参数并生成 fetch、axios、PHP curl 或 Python requests 示例代码。 在线工具,curl 转代码在线工具,online
将字符串编码和解码为其 Base64 格式表示形式即可。 在线工具,Base64 字符串编码/解码在线工具,online
将字符串、文件或图像转换为其 Base64 表示形式。 在线工具,Base64 文件转换器在线工具,online