mpt, negative_prompt=negative_prior_prompt, generator=generator
).to_tuple() Finally, pass the image embeddings and the depth image to the KandinskyV22ControlnetPipeline to generate an image:   Copied image = pipeline(image_embeds=image_emb, negative_image_embeds=zero_image_emb, hint=hint, num_inference_steps=50, generator=generator, height=768, width=768).images[0]
image   Image-to-image For image-to-image with ControlNet, you’ll need to use t