Stable Diffusion - 哥特 (Goth) 风格服装与背景的 LoRA 配置

本文介绍了哥特风格服装的特点,特别是在LORA技术下,DreamShaper8模型的应用增强了哥特服饰的视觉效果,注重细节如皮革材质、暗色搭配、哥特元素图案等,提升了艺术作品的真实性和精致度。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

欢迎关注我的CSDN:https://spike.blog.csdn.net/
本文地址:https://spike.blog.csdn.net/article/details/132177882

Img

图像来源于 Goth Clothing 的 LoRA 效果,配合哥特 (Goth) 风格服饰的相关提示词。

测试模型:DreamShaper 8

哥特风格 (Goth Style) 的服装特点:

  • 受到中世纪哥特式建筑和艺术的影响,表现出一种黑暗、神秘、高贵、浪漫和颓废的气质。
  • 色彩多为黑色、暗色和少数红色,颜色搭配一般为红黑、全黑或黑白,给人以冷峻、沉重和强烈的对比感。
  • 面料多为皮革、PVC、橡胶、乳胶等具有光泽和质感的材质,也有丝绸、织锦缎、天鹅绒、蕾丝等富于华丽和复古的材质,以及棉、毛织、亚麻等自然和舒适的材质。
  • 图案多为刺绣、徽章、十字架、骷髅、蝙蝠、蜘蛛网等与死亡和超自然相关的符号,也有花卉、动物、几何等与自然和神秘相关的图案。
  • 廓形多为紧身合体、普尔波万(poulaine)、肖斯(chausses)、汉宁帽(hennin)等中世纪欧洲服饰的元素,也有宽大飘逸、层次丰富、不对称切割等现代时尚的元素。
  • 配饰多为宗教饰物、珠宝首饰、尖头鞋、头纱、手套等增加神秘感和装饰感的物品,也有皮带、项圈、手铐等增加叛逆感和性感感的物品。

1. 哥特风格 (Goth) 提示词

提示词总结:

gothic style clothing,
dark and mysterious and noble and romantic and decadent,
combinations of red and black and white,cold and heavy and strong contrast effect,
leather and PVC and rubber and latex and gloss and texture,
silk and brocade and velvet and lace and luxury and vintage,
embroidery and badges and crosses and skulls,
tight fitting and poulaine pointed shoes and chausses leggings and hennin conical hat,
religious and ornaments and jewelry and pointed shoes and veils and gloves,

提示词设置:

1 girl,(full body:1.3),portrait,(looking at the viewer:1.2),
(asian girl:1.3),beautiful woman,
(gothgal,lace,frills,choker,porcelain white skin,dress:1.3),gothgal leather boots,(turtleneck and crewneck:1.2),
standing pose with legs apart,
gothic style clothing,
dark and mysterious and noble and romantic and decadent,
combinations of red and black and white,cold and heavy and strong contrast effect,
leather and PVC and rubber and latex and gloss and texture,
silk and brocade and velvet and lace and luxury and vintage,
embroidery and badges and crosses and skulls,
tight fitting and poulaine pointed shoes and chausses leggings and hennin conical hat,
religious and ornaments and jewelry and pointed shoes and veils and gloves,
RAW,analog,Nikon Z 85mm,(best quality:1.2),(masterpiece:1.2),(realistic:1.2),4k,god rays,
photorealistic,realistic,photorealism,photography,8k uhd,photography,<lora:more_details:0.8>,
Negative prompt: (nsfw:1.2),naked,nipple,(ng_deepnegative_v1_75t:1.35),
(out of frame:1.3),
(3d, render, cgi, doll, painting, fake, cartoon, 3d modeling:1.4),(worst quality, low quality:1.4),
monochrome,child,deformed,malformed,
deformed face,bad teeth,bad hands,bad fingers,bad eyes,long body,blurry,duplicate,cloned,
duplicate body parts,disfigured,
extra limbs,fused fingers,extra fingers,twisted,distorted,malformed hands,mutated hands and fingers,mutated legs,extra legs,too many legs,conjoined,missing limbs,bad anatomy,bad proportions,
logo,watermark,text,copyright,signature,lowres,mutated,mutilated,artifacts,gross,ugly,bad hands,bunch of peoples,lowres,
tattoos,panties,bra,big hands,
Steps: 30, Sampler: DPM++ SDE, CFG scale: 5, Seed: 1935659099, Face restoration: GFPGAN, Size: 512x768, Model hash: 879db523c3, Model: Dreamshaper_8, Denoising strength: 0.45, Clip skip: 2, ADetailer model: face_yolov8n.pt, ADetailer confidence: 0.3, ADetailer dilate/erode: 4, ADetailer mask blur: 4, ADetailer denoising strength: 0.4, ADetailer inpaint only masked: True, ADetailer inpaint padding: 32, ADetailer version: 23.7.6, Hires upscale: 2, Hires steps: 5, Hires upscaler: 4x-UltraSharp, Lora hashes: "more_details: 3b8aa1d351ef", TI hashes: "ng_deepnegative_v1_75t: 54e7e4826d53", Version: v1.5.1

效果如下:

Img

2. 哥特服饰 LoRA (Goth Clothing)

LoRA: Better Leggings,其中的第1个模型,时间 2023.5.8

使用权重建议 0.8,同时,需要较多的相关提示词,即:

<lora:more_details:0.8>,<lora:clothing_goth:0.8>

相比于之前,明显增加更多哥特风格的细节,即:
Img2

### Stable-Diffusion WebUI 使用 LoRA 模型训练和部署 #### 安装配置环境 为了使 Stable-Diffusion WebUI 支持 LoRA (Low-Rank Adaptation),需先确保已正确安装并配置好基础环境。这通常意味着已经成功设置了 `stable-diffusion-webui` 并能够正常运行[^1]。 #### 获取 LoRA 插件和支持文件 对于希望利用 LoRA 技术来增强图像生成效果的用户来说,获取相应的支持文件至关重要。这些资源可以从 Hugging Face 或其他可信平台获得。具体而言: - 访问指定页面下载所需的 `.pth` 文件,并将其放置于适当位置,如 `~/stable-diffusion-webui/models/Lora/` 目录下[^2]。 #### 配置 WebUI 以启用 LoRA 功能 为了让 WebUI 正确识别并应用 LoRA 模型,在启动时应加入特定命令行参数。例如,可以通过添加 `--lora-dir ./models/Lora` 参数指向存储有 LoRA 权重的位置[^3]。 ```bash python webui.py --lora-dir ./models/Lora ``` 此外,还需确认界面设置中启用了相关选项以便加载所选模型作为默认项之一。 #### 测试调试 完成上述步骤之后,建议通过浏览器开发者工具(按 F12 打开)监控 API 请求过程中的数据交换情况,从而验证整个流程是否顺畅工作。此时应注意检查控制台输出的信息,特别是当遇到问题时可以据此排查错误原因。 #### 实际操作指南 实际使用过程中,用户可以根据需求调整正负向提示词以及其他高级设定,充分利用 LoRA 提供的功能特性。值得注意的是,虽然这里主要讨论了如何集成现有 LoRA 模型,但对于有兴趣进一步探索该领域的人来说,了解其背后的原理以及尝试自行训练定制化版本也是非常有益的经历。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

ManonLegrand

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值