make_image_grid([original_image, canny_image, image], rows=1, cols=3) You can use a refiner model with StableDiffusionXLControlNetPipeline to improve image quality, just like you can with a regular StableDiffusionXLPipeline.