🚀 Flux-Ghibli-Art-LoRA模型
Flux-Ghibli-Art-LoRA是一個用於圖像生成的模型,藉助Claymation風格,能生成具有獨特卡通風格的圖像。該模型在圖像生成領域有著不錯的表現,可用於各類創意設計場景。
🚀 快速開始
模型設置
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-Claymation-XC-LoRA"
trigger_word = "Claymation"
pipe.load_lora_weights(lora_repo)
device = torch.device("cuda")
pipe.to(device)
觸發詞使用
你應該使用 Claymation
來觸發圖像生成。
模型下載
此模型的權重以Safetensors格式提供。
點擊下載,可在“文件與版本”選項卡中獲取。
✨ 主要特性
- 風格獨特:採用Claymation風格,生成具有特色的卡通圖像。
- 參數豐富:提供多種圖像生成參數設置,滿足不同需求。
📦 安裝指南
文檔未明確提及安裝步驟,可參考上述代碼示例進行模型的加載和設置。
💻 使用示例
基礎用法
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-Claymation-XC-LoRA"
trigger_word = "Claymation"
pipe.load_lora_weights(lora_repo)
device = torch.device("cuda")
pipe.to(device)
📚 詳細文檔
模型描述
圖像處理參數
參數 |
值 |
參數 |
值 |
LR調度器 |
constant |
噪聲偏移 |
0.03 |
優化器 |
AdamW |
多分辨率噪聲折扣 |
0.1 |
網絡維度 |
64 |
多分辨率噪聲迭代次數 |
10 |
網絡Alpha |
32 |
重複與步數 |
16 & 2000 |
輪數 |
10 |
每N輪保存一次 |
1 |
標註:florence2 - en(自然語言 & 英語)
訓練使用的總圖像數:17
最佳尺寸與推理
尺寸 |
寬高比 |
推薦情況 |
1280 x 832 |
3:2 |
最佳 |
1024 x 1024 |
1:1 |
默認 |
推理範圍
模型示例展示

輸入文本 |
輸出圖像 |
Claymation, Captured from a high - angle perspective on a vibrant yellow backdrop, a medium - sized cartoon monkey is posed in front of the viewer. The monkey is adorned with a brown head, a brown vest, and brown pants. Its arms are draped over its chest, adding a touch of balance to the scene. A yellow bottle with a yellow label, adorned with the word "MONKEY" is positioned to the left of the monkey, positioned in a way that creates a stark contrast to the monkeys body. The bottles cap, a yellowish - orange color, adds a pop of color to the composition. Three bananas are arranged to the bottom right corner of the frame. |
點擊查看 |
Claymation, a small cartoon figure stands against a stark white backdrop. The figures face is adorned with a black t - shirt, gray shorts, black shoes, and a pair of white socks. The head of the figure is adorned in a light brown beanie with a white patch on it that reads "KUBO". The figure is holding a wooden baseball bat in its left hand, with the word "OKUBO" written on it in black. |
點擊查看 |
Claymation, a medium - sized cartoon figure stands against a stark yellow backdrop. The figures head is adorned with a gold crown, adorned with small gold dots, adding a pop of color to the scene. Its eyes are wide open, revealing a glimpse of black eyebrows and black eyelashes. Its head is encircled by a gold ribbon, adding depth to the composition. Its outfit is adorned in a cream - colored dress with a brown belt, adding to the overall composition. |
點擊查看 |
Claymation, a small cartoon figure stands against a stark white backdrop. The figures face is adorned with black eyes, a black headband, and a pair of red shorts with a white belt tied around the waist. The word "KUBO" is written in black letters on the chest of the figure, along with the word "UBO" in a smaller font. A life preserver is in its right hand, adding a touch of color to the figure. |
點擊查看 |
許可證
此模型使用的許可證為creativeml - openrail - m。