Instructions to use Seanwang1221/SongZuer_FLUX with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Seanwang1221/SongZuer_FLUX 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("Seanwang1221/SongZuer_FLUX") prompt = "SZE, In a gritty, neo-noir setting, a woman with her long, dark tresses cascading down her shoulders and framing a striking face, adorned with glistening silver earrings that catch the dim, smoky light of an alleyway. Her lips are painted a bold, fiery red, and she flashes a confident smile, showing perfectly white teeth in stark contrast to the grime-streaked brick wall behind her. The camera is positioned at a low angle, looking up at her from beneath the brim of her wide-brimmed hat, creating an air of mystery and intrigue as her intense gaze locks onto the viewer, challenging them from within the shadowy confines of the urban night." image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps
- Draw Things
- DiffusionBee
Ctrl+K