🚀 Qw-Sketch模型
Qw-Sketch是一款文本到图像生成的模型,借助LoRA和Diffusers技术,能依据输入文本生成风格各异的图像,在图像创作领域具有较高的应用价值。
🚀 快速开始
环境设置
import torch
from pipelines import DiffusionPipeline
base_model = "black-forest-labs/FLUX.1-dev"
pipe = DiffusionPipeline.from_pretrained(base_model, torch_dtype=torch.bfloat16)
lora_repo = "strangerzonehf/Qw-Sketch"
trigger_word = "Qw-Sketch"
pipe.load_lora_weights(lora_repo)
device = torch.device("cuda")
pipe.to(device)
触发词使用
你应该使用 Qw-Sketch
来触发图像生成。
模型下载
此模型的权重以Safetensors格式提供。
点击下载,可在“文件与版本”选项卡中获取。
✨ 主要特性
- 多风格图像生成:能够根据不同的文本描述,生成如素描、抽象画等多种风格的图像。
- 参数可调节:通过设置不同的图像生成参数,可得到不同效果的图像。
📚 详细文档
模型描述

图像生成示例
输入文本 |
输出图像 |
Qw-Sketch, An eye-level sketch of a young Asian man with dark brown hair. His eyes are squinted and his lips are slightly parted. His head is tilted slightly to the right, and he has a slight smile on his lips. His hair is pulled back in a ponytail, and his bangs are slicked back. He is wearing a collared button-down shirt with a collar and a green tie around his neck. The background is a deep blue, and there are green rays of light shining down on the mans face. |
查看 |
Qw-Sketch, An eye-level painting of a mans face is depicted in a vibrant orange background. The mans eyes are a piercing blue, while his hair is a darker shade of brown. His eyebrows are a light brown, and he has a slight smile on his face. He is wearing a collared button-down shirt with a collar and a collar around his neck. His hair is cut in a bob, adding a pop of color to the scene. He is wearing a black collar with a silver chain hanging from it. His left ear is visible, and his right ear is slightly open. His eyes are slightly open, as if he is looking to the right. His mouth is slightly closed, and there are a few small white lines on the top of his head, adding depth to the image. |
查看 |
Qw-Sketch, An abstract painting of a woman with long dark brown hair. The womans face is painted in a vibrant pink shade. Her eyes are a piercing yellow. Her eyebrows are a darker shade of brown. Her lips are a lighter pink. She is wearing a black dress with a silver necklace around her neck. Her earrings are dangling from her ears. The background is a vibrant red with yellow and blue lines. |
查看 |
Qw-Sketch, An eye-level sketch of a mans face is depicted in a vibrant pink background. The mans eyes are squinted, and he has a mustache and goatee. His hair is a dark shade of purple, and his eyebrows are a lighter shade of brown. His mouth is slightly open, with a smile on its face. He is wearing a collared button-down shirt with a collar and long sleeves. The shirt is adorned with black lines, adding a pop of color to the scene |
查看 |
Qw-Sketch, An eye-level sketch of a young man with curly dark brown hair and glasses. His eyes are a calm gray, and he has a soft smirk on his lips. His face is framed by a navy-blue hoodie, slightly pulled over his head, and a silver pendant is visible around his neck. The background is a misty gray with faint white lines radiating from the figure, suggesting a subtle glow. |
查看 |
Qw-Sketch, An abstract painting of a man with spiky, bright teal hair. His face is painted in vibrant shades of orange and yellow, with bold streaks of white and black crossing his cheeks. His eyes are large and glowing white, creating a dramatic effect. He is wearing a black leather jacket adorned with metallic silver studs. The background is a chaotic mix of red, blue, and green paint splatters, adding energy to the composition. |
查看 |
图像参数
属性 |
详情 |
基础模型 |
black-forest-labs/FLUX.1-dev |
训练数据标注 |
florence2-en(自然语言 & 英语) |
训练使用的总图像数 |
18 |
图像生成参数
参数 |
值 |
参数 |
值 |
LR调度器 |
constant |
噪声偏移 |
0.03 |
优化器 |
AdamW |
多分辨率噪声折扣 |
0.1 |
网络维度 |
64 |
多分辨率噪声迭代次数 |
10 |
网络Alpha |
32 |
重复次数 & 步数 |
16 & 2230 |
轮数 |
17 |
每N轮保存一次 |
1 |
最佳尺寸与推理
尺寸 |
宽高比 |
推荐情况 |
1280 x 832 |
3:2 |
最佳 |
1024 x 1024 |
1:1 |
默认 |
推理范围
📄 许可证
本模型使用的许可证为flux-1-dev-non-commercial-license,详情请见许可证链接。