</div>  
You can use [`StableDiffusionXLControlNetPipeline`] in guess mode as well by setting the parameter to `True`:  
```py
from diffusers import StableDiffusionXLControlNetPipeline, ControlNetModel, AutoencoderKL
from diffusers.utils import load_image, make_image_grid
import numpy as np
import torch
import cv2
from PIL import Image