```  
</hfoption>
</hfoptions>  
Load an initial image and create a mask:  
```py
init_image = load_image("https://huggingface.co/datasets/hf-internal-testing/diffusers-images/resolve/main/kandinsky/cat.png")
mask = np.zeros((768, 768), dtype=np.float32)
# mask area above cat's head
mask[:250, 250:-250] = 1
```  
Generate the embeddings with the prior pipeline:  
```py
prompt = "a hat"
prior_output = prior_pipeline(prompt)
```