Instructions to use WiroAI/Batman-Animated-Flux-LoRA with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use WiroAI/Batman-Animated-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/Batman-Animated-Flux-LoRA") prompt = "btmnwiro, Batman stands on a rooftop at night, his cape flowing in the wind as he watches over Gotham City. The Bat-Signal shines brightly in the cloudy sky, casting a dramatic glow. The scene is dark and moody, with a cinematic noir atmosphere, inspired by classic animated series." image = pipe(prompt).images[0] - Transformers
How to use WiroAI/Batman-Animated-Flux-LoRA with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("WiroAI/Batman-Animated-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!