Diffusers How to use renderartist/Classic-Painting-Z-Image-Turbo-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("Tongyi-MAI/Z-Image-Turbo", dtype=torch.bfloat16, device_map="cuda")
pipe.load_lora_weights("renderartist/Classic-Painting-Z-Image-Turbo-LoRA")
prompt = "class1cpa1nt classic oil painting influenced by Jan van Eyck depicting an ethereal beauty fair-skinned, young portly meek woman with wavy updo classic auburn hair, hazel eyes with catchlight details. She's seated on a wood tree stump in a meadow near a small pond, there are white swans and ducklings around her as she regales them with song, her body suggests an action with her arms outstretched and hands sweeping in the air as if she's orchestrating a concerto. This is a woman of elegance and mystical beauty. Her smile is infectious and her smiling cheeks are endearing, her held tilts in a playful pose."
image = pipe(prompt).images[0]