🚀 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,詳情請見許可證鏈接。