WiroAI Flux Models
Collection
WiroAI's plug-and-play image generation models • 30 items • Updated • 3
How to use WiroAI/Kakashi-Hatake-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/Kakashi-Hatake-Flux-LoRA")
prompt = "kkshiwiro, anime coloring, a male ninja, silver hair, solo, masked face, relaxed expression, wearing Hokage robe over his usual outfit, forehead protector replaced with the Hokage hat, holding a scroll in one hand, sitting at a cluttered desk, warm sunlight streaming through the window, peaceful Konoha village background."
image = pipe(prompt).images[0]How to use WiroAI/Kakashi-Hatake-Flux-LoRA with Transformers:
# Load model directly
from transformers import AutoModel
model = AutoModel.from_pretrained("WiroAI/Kakashi-Hatake-Flux-LoRA", dtype="auto")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/Kakashi-Hatake-Flux-LoRA")
prompt = "kkshiwiro, anime coloring, a male ninja, silver hair, solo, masked face, relaxed expression, wearing Hokage robe over his usual outfit, forehead protector replaced with the Hokage hat, holding a scroll in one hand, sitting at a cluttered desk, warm sunlight streaming through the window, peaceful Konoha village background."
image = pipe(prompt).images[0]
This LoRA is trained for anyone who like Kakashi Hatake from Naruto.


You should use kkshiwiro 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/Kakashi-Hatake-Flux-LoRA', weight_name='kakashi_flux_lora.safetensors')
image = pipeline('kkshiwiro, anime coloring, a male ninja, silver hair, solo, masked face, relaxed expression, wearing Hokage robe over his usual outfit, forehead protector replaced with the Hokage hat, holding a scroll in one hand, sitting at a cluttered desk, warm sunlight streaming through the window, peaceful Konoha village background.').images[0]
image.save("output.png")
Base model
black-forest-labs/FLUX.1-dev