WiroAI Flux Models
Collection
WiroAI's plug-and-play image generation models • 30 items • Updated • 3
How to use WiroAI/Levi-Ackerman-Flux-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("WiroAI/Levi-Ackerman-Flux-LoRA")
prompt = "leviwiro, A close-up anime-style portrait of a disciplined fighter with an intense, unwavering stare. His face is partly illuminated by the soft flickering of a lantern, revealing subtle scars and signs of exhaustion. His dark green cloak wraps around his shoulders like a shield, and his high-collared black uniform gives him a sharp, commanding presence. A single raindrop slides down his cheek, but his focus remains unshaken."
image = pipe(prompt).images[0]How to use WiroAI/Levi-Ackerman-Flux-LoRA with Transformers:
# Load model directly
from transformers import AutoModel
model = AutoModel.from_pretrained("WiroAI/Levi-Ackerman-Flux-LoRA", dtype="auto")
This LoRA is trained for anyone who like Levi Ackerman from Attack on Titan.



You should use leviwiro to trigger the image generation.
from diffusers import FluxPipeline
import torch
pipeline = FluxPipeline.from_pretrained('black-forest-labs/FLUX.1-dev', torch_dtype=torch.bfloat16).to('cuda')
pipeline.load_lora_weights('WiroAI/Levi-Ackerman-Flux-LoRA', weight_name='levi_flux_lora.safetensors')
image = pipeline('leviwiro, A close-up anime-style portrait of a disciplined fighter with an intense, unwavering stare. His face is partly illuminated by the soft flickering of a lantern, revealing subtle scars and signs of exhaustion. His dark green cloak wraps around his shoulders like a shield, and his high-collared black uniform gives him a sharp, commanding presence. A single raindrop slides down his cheek, but his focus remains unshaken.').images[0]
image.save("output.png")
Base model
black-forest-labs/FLUX.1-dev