 wanted to translate from “cat” to “dog”. In this case, the edit direction will be “cat -> dog”. To reflect
this in the generated mask, you simply have to set the embeddings related to the phrases including “cat” to
source_prompt and “dog” to target_prompt. When generating partially inverted latents using invert, assign a caption or text embedding describing the
overall image to the prompt argument to help guide the inverse latent sampling proc