model to generate an image with a similar structure.  
<hfoptions id="stablediffusion">
<hfoption id="Stable Diffusion 1.5">  
Create a canny image with the [opencv-library](https://github.com/opencv/opencv-python).  
```py
import cv2
import numpy as np
from PIL import Image
from diffusers.utils import load_image