the above example, a valid input prompt would be: “a high resolution painting of a cat in the style of van gogh”. If you wanted to reverse the direction in the example above, i.e., “dog -> cat”, then it’s recommended to:Swap the source_embeds and target_embeds. Change the input prompt to include “dog”. To learn more about how the source and target embeddings are generated, refer to the original paper. Below, we also provide some directions on how to generate the embeddings. Note that the quality of the outputs generated with this pipeline is dependent on how good the source_embeds and target_embeds are. Please, refer to this discussion for some suggestions on the topic.  Available Pipelines: Pipeline Tasks Demo StableDiffusionPix2PixZeroPipeline Text-Based Image Editing 🤗 Space  Usage example  Based on an image generated with the input prompt   Copied import requests