</div>  
</hfoption>
<hfoption id="Stable Diffusion XL">  
Create a canny image with the [controlnet-aux](https://github.com/huggingface/controlnet_aux) library.  
```py
from controlnet_aux.canny import CannyDetector
from diffusers.utils import load_image