Instructions to use AiAF/kafun_LoRA_Flux1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use AiAF/kafun_LoRA_Flux1 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("AiAF/kafun_LoRA_Flux1") prompt = "Kafun \\(Artist\\), illustration of a woman with dark hair and glasses, wearing a black turtleneck sweater and a gold necklace with a large pendant. She is sitting in the passenger seat of a car, with her right hand resting on her ear. The background shows a clear blue sky and some greenery outside the car window. The lighting is bright and natural, The image is high quality and has a professional feel." image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Ctrl+K
- 19.3 kB
- 26.1 kB
- 37.9 kB
- 62.4 kB
- 73.9 kB
- 64.3 kB
- 21.8 kB
- 55.4 kB
- 86.1 kB
- 127 kB
- 138 kB
- 128 kB
- 20 kB
- 37.2 kB
- 37.7 kB
- 74.7 kB
- 80.5 kB
- 59.8 kB
- 21.2 kB
- 39.2 kB
- 37.9 kB
- 92.4 kB
- 95.5 kB
- 71.7 kB
- 20.5 kB
- 43.2 kB
- 51.9 kB
- 90.8 kB
- 101 kB
- 84.4 kB
- 22 kB
- 44.2 kB
- 74.6 kB
- 118 kB
- 125 kB
- 125 kB
- 21.4 kB
- 54.7 kB
- 86.7 kB
- 116 kB
- 138 kB
- 126 kB
- 25.1 kB
- 61 kB
- 103 kB
- 139 kB
- 145 kB
- 143 kB
- 27.7 kB
- 68.4 kB