Pony Diffusion XL is a latent text-to-image diffusion model capable of generating images of Horses, mainly, and other things. For more information about how Stable Diffusion functions, please have a look at 🤗's
Stable Diffusion blog.
You can use this with the 🧨Diffusers library from
Hugging Face.
1from diffusers import StableDiffusionXLPipeline
2import torch
3
4pipeline = StableDiffusionXLPipeline.from_pretrained("glides/ponyxl").to("cuda")
5
6image = pipeline(prompt="a chibi doll").images[0]
7image.save("horse.png")