đ Ghibli-Cartoon-Art
This project offers a LoRA model for generating Ghibli-style cartoon art. It provides specific image processing parameters, optimal dimensions for inference, and easy - to - follow setup steps to help users generate high - quality Ghibli - style images.
đ Quick Start
Environment Setup
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)
Image Generation
You should use Ghibli Art
to trigger the image generation.
⨠Features
- Ghibli - Style Image Generation: Generate various Ghibli - style cartoon images, such as scenes of fishermen, bookstores, and kittens.
- Customizable Parameters: Offers a series of image processing parameters for users to adjust according to their needs.
- Optimal Inference Dimensions: Provides recommended dimensions and aspect ratios for better inference results.
đĻ Installation
The weights for this model are available in Safetensors format. You can Download them in the Files & versions tab.
đģ Usage Examples
Basic Usage
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)
prompt = f"{trigger_word}, A beautiful landscape"
image = pipe(prompt).images[0]
image.save("generated_image.png")
Advanced Usage
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)
prompt = f"{trigger_word}, A magical forest"
num_inference_steps = 35
image = pipe(prompt, num_inference_steps=num_inference_steps).images[0]
image.save("advanced_generated_image.png")
đ Documentation
Model Description

Image Processing Parameters
Parameter |
Value |
Parameter |
Value |
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 |
Labeling: florence2 - en(natural language & English)
Total Images Used for Training: 112 [GPT Generated Images]
Best Dimensions & Inference
Dimensions |
Aspect Ratio |
Recommendation |
1280 x 832 |
3:2 |
Best |
1024 x 1024 |
1:1 |
Default |
Inference Range
- Recommended Inference Steps: 30â35
Trigger words
You should use Ghibli Art
to trigger the image generation.
Model Download
The weights for this model are available in Safetensors format. Download them in the Files & versions tab.
đ License
This model uses the flux - 1 - dev - non - commercial - license
. You can view the detailed license information at license_link.