Views
No views yet

kkshiwiro to trigger the image generation.1from diffusers import FluxPipeline
2import torch
3
4pipeline = FluxPipeline.from_pretrained('black-forest-labs/FLUX.1-dev', torch_dtype=torch.bfloat16).to('cuda')
5pipeline.load_lora_weights('WiroAI/Kakashi-Hatake-Flux-LoRA', weight_name='kakashi_flux_lora.safetensors')
6image = 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]
7image.save("output.png")