Instructions to use WiroAI/Levi-Ackerman-Flux-LoRA with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
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] - Transformers
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") - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Welcome to the community
The community tab is the place to discuss and collaborate with the HF community!