Instructions to use Omnico/Flux2Klein_9B_diff_loras with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Omnico/Flux2Klein_9B_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-9B", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("Omnico/Flux2Klein_9B_diff_loras") prompt = "A strikingly beautiful French-Senegalese woman in her early 30s with deep dark skin that glows like polished mahogany, sculpted cheekbones, and large, expressive dark eyes framed by impossibly long natural lashes stands in a sunlit Parisian atelier surrounded by bolts of draped silk in jewel tones â emerald, sapphire, deep ruby. She wears a structured off-the-shoulder ivory top that contrasts magnificently against her skin, and her hair is styled in an elaborate updo of micro-braids twisted into an architectural crown, a few loose braids framing her temples. A soft-bristled brush rests between her fingers, and a smudge of gold pigment dusts her left cheekbone like an accidental adornment that somehow looks intentional and exquisite. Her lips are full and defined, with a natural deep plum tone, and she wears a subtle expression of amused self-possession â one eyebrow barely raised, the corner of her mouth threatening a smile. Tall north-facing atelier windows to her left pour in cool, even, silvery Parisian daylight that rakes across the planes of her face and illuminates the gold pigment smudge so it gleams warmly against her cool-lit dark skin, creating a stunning warm-cool interplay. The jewel-toned silks behind her catch and reflect colored light onto the shadows of her neck and bare shoulders â a whisper of emerald here, a touch of ruby there. Shot on a Leica SL3 with a 75mm f/1.25 Noctilux, the depth of field is razor-thin, her nearest eye and the gold pigment on her cheek in breathtaking focus, while the silk forest behind her becomes a rich, impressionist blur of saturated color." 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!