prompt = "a photograph of an astronaut riding a horse" image = pipe(prompt, height=512, width=768).images[0] # you can save the image with # image.save(f"astronaut_rides_horse.png")