🚀 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. |
点击查看 |