To load and run inference with SDXL, use the [`~optimum.intel.OVStableDiffusionXLPipeline`]:  
```python
from optimum.intel import OVStableDiffusionXLPipeline

model_id = "stabilityai/stable-diffusion-xl-base-1.0"
pipeline = OVStableDiffusionXLPipeline.from_pretrained(model_id)
prompt = "sailing ship in storm by Rembrandt"
image = pipeline(prompt).images[0]
```  
To further speed-up inference, [statically reshape](#stable-diffusion) the model as shown in the Stable Diffusion section.  
You can find more examples in the 🤗 Optimum [documentation](https://huggingface.co/docs/optimum/intel/inference#stable-diffusion-xl), and running SDXL in OpenVINO is supported for text-to-image and image-to-image.
/Users/nielsrogge/Documents/python_projecten/diffusers/docs/source/en/optimization/open_vino.md