How to use strangerzonehf/Flux-St-Shot 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("strangerzonehf/Flux-St-Shot") prompt = "st portrait, a close-up shot of a young Asian womans face is featured prominently in the center of the frame. She is wearing a pair of gold rimmed glasses, a brown sweater with a white turtleneck underneath, adorned with the word \"NIKIE\" in bold white letters. Her hair is a vibrant shade of brown, framing her face. Her earring is adorned with a gold hoop, adding a pop of color to her ears. The background is a stark white, creating a stark contrast to her brown sweater." image = pipe(prompt).images[0]
The community tab is the place to discuss and collaborate with the HF community!