Instructions to use Omnico/Flux2Klein_4B_diff_loras with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Omnico/Flux2Klein_4B_diff_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-4B", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("Omnico/Flux2Klein_4B_diff_loras") prompt = "cinematic photo of a busty 18 year old Russian girl, her huge sagging breasts stretching her shirt, wearing tight low cut yellow crop tank top with text \"Flux2Klein 4B\", cleavage, silky black hair, glossy orange silk shorts, pale white skin, voluptuous body, cute face, gorgeous, narrow waist, petite body, (intricately detailed eyes), in direct sun, centered in the image, 1980's gas station, retro, outdoor, bright sunny day at noon, deep blue sky, dark pavement, very detailed, shallow depth of field, subsurface scattering" image = pipe(prompt).images[0] - 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!