Instructions to use DeverStyle/Flux.2-Klein-Loras with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use DeverStyle/Flux.2-Klein-Loras 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.2-klein-9B", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("DeverStyle/Flux.2-Klein-Loras") prompt = "Orange Splatter Illustration samples" image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Download samples/devil_may_cry.png from DeverStyle/Flux.2-Klein-Loras: direct link, hf CLI and curl.
- Browser
- Download file 4.25 MB
-
https://huggingface.co/DeverStyle/Flux.2-Klein-Loras/resolve/main/samples/devil_may_cry.png
- Command line
-
hf download hf://DeverStyle/Flux.2-Klein-Loras/samples/devil_may_cry.png
-
curl -L -o devil_may_cry.png https://huggingface.co/DeverStyle/Flux.2-Klein-Loras/resolve/main/samples/devil_may_cry.png
4.25 MB

- Xet hash:
- 49d2e530e4378b05240355e1dc6037388863aae728d79c011c54c14df94e064b
- Size of remote file:
- 4.25 MB
- SHA256:
- 24afbd06cb67929428f595b1d865e3714b55686e8e65c1dc68ae8cb247d7feb7
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.