Diffusers How to use Daverrrr75/JTT-Qwen-Image with Diffusers:
pip install -U diffusers transformers accelerate
import torch
from diffusers import DiffusionPipeline
# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("Qwen/Qwen-Image", dtype=torch.bfloat16, device_map="cuda")
pipe.load_lora_weights("Daverrrr75/JTT-Qwen-Image")
prompt = " \"SHOT COMPOSITION\": \"A medium close-up portrait shot with an 85mm portrait lens on a Canon 5D camera, featuring shallow depth of field and beautiful bokeh that softly blurs the background, emphasizing the subject's elegant features in a professional and intimate framing.\", \"SUBJECT & WARDROBE\": \"The subject is a stunningly elegant rich woman in her mid-30s, completely nude to highlight her flawless porcelain skin and light pink nipples, with long platinum blonde hair cascading gracefully over her shoulders; she poses confidently yet demurely, exuding sophistication and poise with a subtle, knowing smile and piercing blue eyes.\", \"SCENE SETTING\": \"Set within the opulent pristine white mansion, the scene unfolds in a sunlit grand living room adorned with minimalist white marble floors, elegant white drapes, and subtle luxurious accents like crystal vases; it's during the golden hour of late afternoon, with soft natural light filtering through large arched windows, creating a dreamy and ethereal atmosphere.\", \"VISUAL STYLE\": \"Rendered in a high-end fashion photography aesthetic with a cinematic, dreamy quality, incorporating subtle grain texture for added depth, warm color grading to enhance the porcelain tones, and an overall elegant, professional vibe that feels intimate and luxurious.\""
image = pipe(prompt).images[0]