Diffusers How to use LyliaEngine/alchemistMix_v40 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/ilustmix_v20", dtype=torch.bfloat16, device_map="cuda")
pipe.load_lora_weights("LyliaEngine/alchemistMix_v40")
prompt = "masterpiece, best quality, motiontrail, afterimage, motion trail, motion lines, motion blur, <lora:MotionTrail_illusXL_Incrs_v1:1>, 1boy, son goku, ultra instinct, outstretched arms, black background, aura, dark aura, arms up, arms down,, DSLR,realistic,cosplay photo, (very awa,masterpiece,best quality,year 2024,newest,absurdres,highres:1), realistic,skin texture,facial features, photography shot with Canon EOS 5D Mark IV , realistic, RAW, best quality, masterpiece, amazing quality, skin details, masterpiece,cinematic film still, sharp focus,intricate details,highly detailed, Hyperrealistic art,. shallow depth of field,vignette,highly detailed,high budget,bokeh,cinemascope,moody,epic,gorgeous,film grain,grainy,. shallow depth of field,vignette,highly detailed,high budget,bokeh,cinemascope,moody,epic,gorgeous,film grain,grainy,"
image = pipe(prompt).images[0]