While you can use the `source_prompt` as a caption to help generate the partially inverted latents, you can also use the [BLIP](https://huggingface.co/docs/transformers/model_doc/blip) model to automatically generate a caption.  
Load the BLIP model and processor from the 🤗 Transformers library:  
```py
import torch
from transformers import BlipForConditionalGeneration, BlipProcessor