pipeline = KandinskyV22ControlnetPipeline.from_pretrained(
"kandinsky-community/kandinsky-2-2-controlnet-depth", torch_dtype=torch.float16
).to("cuda")
```  
Generate the image embeddings from a prompt and negative prompt:  
```py
prompt = "A robot, 4k photo"