🚀 肌肉滑块 - LoRA
肌肉滑块 - LoRA 是一款用于文本到图像生成的工具,借助 Stable Diffusion 模型,它能帮助用户轻松调整图像中人物的肌肉量,为图像创作带来更多可能性。
🚀 快速开始
模型下载
本模型的权重以 Safetensors 格式提供。你可以在 Files & versions 标签页 中下载。
使用 diffusers 库调用模型
from diffusers import AutoPipelineForText2Image
import torch
pipeline = AutoPipelineForText2Image.from_pretrained('runwayml/stable-diffusion-v1-5', torch_dtype=torch.float16).to('cuda')
pipeline.load_lora_weights('ostris/muscle-slider-lora', weight_name='muscle_slider_v1.safetensors')
image = pipeline('photo of a blonde woman in lingerie ').images[0]
更多详细信息,包括 LoRA 的加权、合并和融合等内容,请查看 diffusers 中加载 LoRA 的文档。
✨ 主要特性
- 肌肉量调整:这是一个简单的 LoRA,可帮助调整图像中人物的肌肉量。你可以在 -3 到 +5 的较大范围内进行调整,且不会产生太多失真。正值会让人物肌肉更发达,负值则会减少肌肉量。
- 肤色关联问题及解决办法:不过,你会发现一个问题,人物肌肉越多,肤色越偏棕褐色,反之亦然。这可能是因为健美运动员会用鞋油涂抹身体,而肌肉发达的人可能晒太阳更多。开发者会尝试找到一种方法来规范这个问题,使其不那么明显。如果你使用 肤色滑块,可以抵消这种影响。
📄 许可证
本项目采用 定制 LoRA 训练许可证。
📦 模型信息
属性 |
详情 |
基础模型 |
runwayml/stable-diffusion-v1-5 |
模型类型 |
文本到图像、Stable Diffusion、LoRA、Diffusers |
标签 |
text-to-image、stable-diffusion、lora、diffusers、template:sd-lora、migrated、bodybuilder、muscles、tool、ripped、slider |
📚 示例展示
示例一
- 提示词:'photo of an elderly, man and woman with grey hair, cooking in the kitchen, center shot, apron '
- 负向提示词:nude, nsfw, cartoon, cgi, render, illustration, painting, drawing, bad quality, grainy, low resolution
- 输出图片:2190567.jpeg
示例二
- 提示词:'photo of a man with light brown hair, looking at himself in a bathroom mirror, shorts, shirtless '
- 负向提示词:(shirt:1.2), cartoon, cgi, render, illustration, painting, drawing, bad quality, grainy, low resolution
- 输出图片:1637301.jpeg
示例三
- 提示词:'photo of a blonde woman in lingerie '
- 负向提示词:nude, cartoon, cgi, render, illustration, painting, drawing, bad quality, grainy, low resolution
- 输出图片:1637400.jpeg