🚀 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。