model_id = "stable-diffusion-v1-5/stable-diffusion-v1-5"
pipeline = ORTStableDiffusionPipeline.from_pretrained(model_id, export=True)
prompt = "sailing ship in storm by Leonardo da Vinci"
image = pipeline(prompt).images[0]
pipeline.save_pretrained("./onnx-stable-diffusion-v1-5")
```  
<Tip warning={true}>  
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.  
</Tip>