Update README.md 558137f verified
Choquinlabs commited on
How to use furaidosu/dott4k-qwen-image-lora 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("furaidosu/dott4k-qwen-image-lora")
prompt = "A violet landscape of endless lavender fields with rows of purple flowers bending in long, sweeping curves across gently rippling terrain. The blossoms form dense, undulating waves of deep violet and lilac, stretching toward a distant stone farmhouse whose walls lean outward in warm, tilted shapes. The sky glows softly, casting elongated highlights across the fields. A main dirt path winds forward in a strong diagonal between the curved lavender rows, while a secondary narrow trail branches right, rising gently toward the small bowed farmhouse. Scattered trees with rounded canopies lean in looping arcs, and wooden posts marking the fields tilt at impossible angles. The entire scene flows toward an upward-curving horizon, giving the violet countryside a serene yet surreal depth."
image = pipe(prompt).images[0]