Diffusers How to use LyliaEngine/ponyRealism_v21MainVAE with Diffusers:
pip install -U diffusers transformers accelerate
import torch
from diffusers import DiffusionPipeline
# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("LyliaEngine/Pony_Diffusion_V6_XL", dtype=torch.bfloat16, device_map="cuda")
pipe.load_lora_weights("LyliaEngine/ponyRealism_v21MainVAE")
prompt = "score_9, score_8_up, score_7_up, BREAK, innocent and alluring, long hair, alternative vibe, beautiful eyes, freckles, medium breasts, subtle cleavage, tight body, slutty, candid picture, (cozy bedroom), off-shoulder shirt, dynamic angle, vibrant lighting, high contrast, dramatic shadows, highly detailed, detailed skin, depth of field, film grain"
image = pipe(prompt).images[0]