final_image.save("unidiffuser_image_variation_sample.png")  Text Variation Similarly, text variation can be performed on an input prompt with a text-to-image generation followed by a image-to-text generation:   Copied import torch