Animaker - Engine
Collection
Animeo Mix • 6 items • Updated • 6
How to use strangerzonehf/Flux-Animeo-v1-LoRA with Diffusers:
pip install -U diffusers transformers accelerate
import torch
from diffusers import DiffusionPipeline
# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("black-forest-labs/FLUX.1-dev", dtype=torch.bfloat16, device_map="cuda")
pipe.load_lora_weights("strangerzonehf/Flux-Animeo-v1-LoRA")
prompt = "Animeo, An animated animated image of a man with blonde hair and blue eyes. He is wearing a purple hoodie with a hoodie underneath. His arms are crossed over his chest and he is sitting on a black bench. Behind him is a green wall and behind the wall are a row of skyscrapers. The sky is blue with a few white clouds."
image = pipe(prompt).images[0]


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 | 35 & 4700 |
| Epoch | 22 | Save Every N Epochs | 1 |
Labeling: florence2-en(natural language & English)
Total Images Used for Training : 50 [ 10@5 ] [ Hi -Res ]
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-Animeo-v1-LoRA"
trigger_word = "Animeo"
pipe.load_lora_weights(lora_repo)
device = torch.device("cuda")
pipe.to(device)
You should use Animeo to trigger the image generation.
Weights for this model are available in Safetensors format.
Download them in the Files & versions tab.
Base model
black-forest-labs/FLUX.1-dev