<img class="rounded-xl" src="https://huggingface.co/datasets/YiYiXu/testing-images/resolve/main/ip_mask_girl2.png"/>
<figcaption class="mt-2 text-center text-sm text-gray-500">IP-Adapter image two</figcaption>
</div>
</div>  
Now pass the preprocessed masks to `cross_attention_kwargs` in the pipeline call.  
```py
generator = torch.Generator(device="cpu").manual_seed(0)
num_images = 1