🚀 Flux-Animex-v2-LoRA
Flux-Animex-v2-LoRA是一個用於圖像生成的模型,基於特定基礎模型訓練,可通過特定觸發詞生成動漫風格圖像,在動漫圖像創作領域有較高的應用價值。
🚀 快速開始
安裝與設置
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-Animex-v2-LoRA"
trigger_word = "Animex"
pipe.load_lora_weights(lora_repo)
device = torch.device("cuda")
pipe.to(device)
觸發圖像生成
你應該使用 Animex
來觸發圖像生成。
下載模型
此模型的權重以Safetensors格式提供。
點擊下載,可在“Files & versions”標籤中進行操作。
✨ 主要特性
- 圖像生成能力:能夠根據輸入的文本描述,生成具有動漫風格的圖像。
- 特定參數優化:通過設置特定的圖像處理參數,如學習率調度器、優化器等,提升圖像生成效果。
📚 詳細文檔
模型描述
圖像處理參數
參數 |
值 |
參數 |
值 |
LR調度器 |
constant |
噪聲偏移 |
0.03 |
優化器 |
AdamW |
多分辨率噪聲折扣 |
0.1 |
網絡維度 |
64 |
多分辨率噪聲迭代次數 |
10 |
網絡Alpha |
32 |
重複與步數 |
35 & 4800 |
訓練輪數 |
20 |
每N輪保存一次 |
1 |
標籤信息
標註方式:florence2 - en(自然語言 & 英語)
訓練數據
用於訓練的總圖像數:57 [ 11@5 ] [ 高分辨率 ]
最佳尺寸
- 768 x 1024(最佳)
- 1024 x 1024(默認)
📄 許可證
本模型使用的許可證為:creativeml - openrail - m。
模型效果展示

示例圖像
輸入文本 |
輸出圖像 |
animex, a vibrant cartoon drawing of a mans face is depicted. The mans eyes are a piercing blue, and he has a serious expression on his face. His hair is spiky, and his bangs are a darker shade of purple. His eyebrows are a lighter shade of brown, while his mouth is slightly open. He is wearing a red hoodie, and a black jacket with a white stripe down the center of his chest. The hoodie is draped over his shoulders, adding a pop of color to the otherwise monochromatic image. The background is a deep, vibrant purple, and there are a few wispy red lines running across the image, adding depth to the composition. |
點擊查看 |
animex, An animated cartoon of a boy with black hair and green eyes. He is wearing a blue and white collared shirt with a black collar. His ears are sticking out of his head. His eyes are large and round. His mouth is slightly open and has white spots on it. The background is a vibrant green color. |
點擊查看 |
animex, An animated image of a girl with long dark hair and blue eyes. The girl is holding a sword in her right hand. She is wearing a purple dress with a purple bow in her left hand. Her right hand is holding the sword in the left. Her left hand is positioned in front of her face. The sword is pointed towards the right. The background is filled with neon lights. |
點擊查看 |