Views
No views yet
images/preview1.png, preview2.png, preview3.png with your own renders to update the gallery.1from diffusers import StableDiffusionXLPipeline
2import torch
3
4model_id = "graizelle/ponyxl_merge"
5
6pipe = StableDiffusionXLPipeline.from_pretrained(
7 model_id,
8 torch_dtype=torch.float16
9).to("cuda") # or "mps" on Mac
10
11prompt = "a stunning anime girl with silver hair and glowing sword, masterpiece, highly detailed"
12image = pipe(prompt).images[0]
13image.save("ponyxl_merge.png")