🚀 Flux-Creative-Stocks-LoRA 模型
Flux-Creative-Stocks-LoRA 是一個文本到圖像的模型,藉助 LoRA 技術,可依據輸入的文本生成創意圖像。該模型在圖像生成領域具有廣泛應用,能滿足多樣化的創意需求。

🚀 快速開始
模型描述
此部分介紹了 Flux-Creative-Stocks-LoRA 模型的相關信息,包括圖像生成示例、模型基礎信息、圖像生成參數等。
圖像生成示例
以下是一些輸入文本及對應的生成圖像示例:
輸入文本 |
生成圖像 |
'Creative Stocks, A flat lay of four neatly folded blue fabric rolls arranged in a square pattern. Each roll has a white label reading "COMFY-COTTON" with a minimalist logo of a cotton plant. The backdrop is a soft beige fabric.' |
圖像 1 |
'Creative Stocks, a medium-sized cardboard box is positioned against a stark white backdrop. The box is adorned with black text that reads "HOCUME 2MO RESERVED" and "MOD SOCKS". The boxs design features a blue sock and a yellow sock. The text is written in a bold, black font.' |
圖像 2 |
'Creative Stocks, A medium shot of a brown cardboard box with the words "SCHROBELER" written in green on the top of the box. The box is placed on a white wooden surface. There is a yellow label on the box with a man and a dog on it. The man is wearing a yellow shirt and a hat. The dog is holding a black bottle with a black cap. The bottle has a black label with white letters that read "LEKKER" on the bottom of it.' |
圖像 3 |
'Creative Stocks, Captured at eye-level on a vibrant green backdrop, two red boxes, each with the word "Tomatier" written in white on the left side of the box. The box on the right side is labeled "Snack" in black letters, while the box in the middle has "TOMATIER" written on it in white letters. The boxes are identical, with the same design as the one on the bottom left corner. Each box has a black design on it, adding a pop of color to the otherwise monochromatic image.' |
圖像 4 |
'Creative Stocks, A stack of gray aluminum cans arranged neatly on a wooden table. Each can is labeled with the word "FUEL+BOOST" in bold red letters and features a small graphic of a lightning bolt. The background is softly blurred, showcasing warm orange tones.' |
圖像 5 |
'Creative Stocks, A medium shot of a kraft paper bag with the words "FRESHLY ROASTED BEANS" in bold green letters. The bag has a clear window revealing coffee beans inside. It is placed on a white marble surface with a small potted plant in the blurred background.' |
圖像 6 |
模型基礎信息
- 基礎模型:black-forest-labs/FLUX.1-dev
- 實例提示詞:Creative Stocks
- 許可證:apache - 2.0
圖像生成參數
參數 |
值 |
參數 |
值 |
LR Scheduler |
constant |
Noise Offset |
0.03 |
Optimizer |
AdamW |
Multires Noise Discount |
0.1 |
Network Dim |
64 |
Multires Noise Iterations |
10 |
Network Alpha |
32 |
Repeat & Steps |
19 & 2370 |
Epoch |
16 |
Save Every N Epochs |
1 |
標註信息
標註採用 florence2 - en(自然語言 & 英語)。
訓練圖像總數
總共使用 24 張原始 8 位圖像進行訓練。
最佳尺寸與推理
尺寸 |
縱橫比 |
推薦情況 |
1280 x 832 |
3:2 |
最佳 |
1024 x 1024 |
1:1 |
默認 |
推理步數範圍
📦 安裝指南
此部分可參考代碼示例進行環境和模型的設置。
💻 使用示例
基礎用法
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/Flux-Creative-Stocks-LoRA"
trigger_word = "Creative Stocks"
pipe.load_lora_weights(lora_repo)
device = torch.device("cuda")
pipe.to(device)
觸發詞
你應該使用 Creative Stocks
來觸發圖像生成。
📚 詳細文檔
模型下載
該模型的權重以 Safetensors 格式提供。
點擊下載,可在“Files & versions” 標籤中獲取。
📄 許可證
本模型採用 apache - 2.0 許可證。