🚀 Ghibli-Cartoon-Art
Ghibli-Cartoon-Art 是一个基于 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/Ghibli-Flux-Cartoon-LoRA"
trigger_word = "Ghibli Art"
pipe.load_lora_weights(lora_repo)
device = torch.device("cuda")
pipe.to(device)
触发词使用
你应该使用 Ghibli Art
来触发图像生成。
模型下载
该模型的权重以 Safetensors 格式提供。
点击下载,可在 Files & versions 标签中获取。
✨ 主要特性
- 吉卜力风格:能够生成具有吉卜力工作室独特风格的卡通艺术图像。
- 参数可配置:提供了丰富的图像处理参数,可根据需求进行调整。
- 多尺寸支持:支持多种图像尺寸和宽高比,满足不同的使用场景。
📚 详细文档
模型描述

图像处理参数
参数 |
值 |
参数 |
值 |
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 |
22 & 3330 |
Epoch |
28 |
Save Every N Epochs |
1 |
标注:florence2 - en(自然语言 & 英语)
训练使用的总图像数:112 [GPT 生成的图像]
最佳尺寸与推理
尺寸 |
宽高比 |
推荐情况 |
1280 x 832 |
3:2 |
最佳 |
1024 x 1024 |
1:1 |
默认 |
推理范围
示例展示
文本描述 |
输出图像 |
'Ghibli Art – A wise old fisherman sits on a wooden dock, gazing out at the vast, blue ocean. He wears a worn - out straw hat and a navy - blue coat, and he holds a fishing rod in his hands. A black cat with bright green eyes sits beside him, watching the waves. In the distance, a lighthouse stands tall against the horizon, with seagulls soaring in the sky. The water glistens under the golden sunset.' |
点击查看 |
'Ghibli Art – A magical bookstore filled with towering shelves of ancient tomes and glowing lanterns. A young girl with round glasses and a green cardigan sits on a plush red armchair, completely engrossed in a book. Floating candles hover above her, illuminating the pages. A black raven perches on the edge of a wooden desk, watching over the shop. Through the large stained - glass window, a full moon casts a soft, enchanting glow.' |
点击查看 |
'Ghibli Art, A cartoon drawing of a man in a brown v - neck t - shirt is seen in front of a mirror in a bathroom. The man has dark brown hair and a black beard. He is looking at the camera with a serious expression on his face. Behind him is a white shelf filled with towels and a toothbrush. The walls of the bathroom are tiled with light blue tiles.' |
点击查看 |
'Ghibli Art, A cartoon drawing of a black man with a white chefs hat on his head. He is holding a golden trophy in his right hand. His mouth is slightly open, as if he is screaming. His eyes are squinted and his mouth is wide open. His hat is white, and his shirt is white with a collar. The background is a light brown, and there is a wooden shelf on the left side of the image.' |
点击查看 |
'Ghibli Art – A tiny black kitten with big, curious eyes peeks out from a woven basket filled with freshly picked apples. The basket sits on a wooden porch, and the sun casts a warm glow over the scene. A gentle breeze rustles the leaves of a nearby tree, causing a few golden leaves to drift to the ground. In the background, a cozy farmhouse with a thatched roof is nestled among rolling hills.' |
点击查看 |
'Ghibli Art – A little girl in a fluffy white sweater and a knitted hat sits on the edge of a wooden pier, dipping her toes into the cool, rippling water. She holds a small paper boat in her hands, carefully placing it in the water and watching it float away. Behind her, a weathered fisherman’s hut stands with a string of colorful fish hanging outside to dry.' |
点击查看 |
📄 许可证
本模型使用的许可证为 flux - 1 - dev - non - commercial - license。