Diffusers How to use LyliaEngine/DynamicPose with Diffusers:
pip install -U diffusers transformers accelerate
import torch
from diffusers import DiffusionPipeline
# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("OnomaAIResearch/Illustrious-xl-early-release-v0", dtype=torch.bfloat16, device_map="cuda")
pipe.load_lora_weights("LyliaEngine/DynamicPose")
prompt = "masterpiece,best quality,amazing quality,very aesthetic,absurdres,newest,,light particles, cinematic lighting,Visual impact,sharp focus, extreme aesthetic, BREAK 1woman, jumping off a helicopter, sniper rifle, holding a gun, scope, cityscape, flying, on the air "
image = pipe(prompt).images[0]