The Kandinsky model is a bit different from the Stable Diffusion models because it also uses an image prior model to create embeddings that are used to better align text and images in the diffusion model.  
The easiest way to use Kandinsky 2.2 is:  
```py
from diffusers import AutoPipelineForText2Image
import torch