a photo of an astronaut riding a horse on mars"
images = pipe(prompt).images[0]
Notice that we didn’t have to specify export=True above.
You can find more examples in optimum documentation.

Known Issues
	
Generating multiple prompts in a batch seems to take too much memory. While we look into it, you may need to iterate instead of batching.
