Text-to-Image
Diffusers
flux
lora
template:sd-lora
fluxgym
Not-For-All-Audiences
How to use from the
Use from the
Diffusers library
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("inuptia/cinephoto")

prompt = "C1n3m4t1c. The image is a high-resolution photograph taken in a modern, high-rise apartment with expansive floor-to-ceiling windows offering a stunning view of a cityscape during sunset. The scene captures a young woman standing in the living room. She is a slender woman with long, straight, dark brown hair cascading down her back, and a light skin tone. Her facial features are delicate, with high cheekbones, a pointed chin, and expressive eyes, suggesting she might be of Asian descent. She is wearing a minimalistic, nude-colored one-piece swimsuit that accentuates her lean physique and small breasts. Her pose is turned slightly to the side, showcasing her profile and her curvy hips and firm buttocks.The room is tastefully decorated with modern furnishings; a beige leather sectional sofa and armchairs are arranged in a semi-circle around a wooden coffee table. A framed, colorful abstract painting with floral elements hangs on the beige wall to the left. The cityscape outside the window features a mix of modern and older buildings, with a clear sky dotted with a few fluffy clouds. The warm, golden light of the setting sun casts long shadows, enhancing the room's coziness and the model's smooth, sun-kissed skin."
image = pipe(prompt).images[0]

Not-For-All-Audiences

This repository has been marked as containing sensitive content and may contain potentially harmful and sensitive information.

View model card