se. prompt can the be left to None.


text_attention_mask (torch.Tensor, optional) —
Pre-defined CLIP text attention mask that can be derived from the tokenizer. Pre-defined text attention
masks are necessary when passing text_model_output.


output_type (str, optional, defaults to "pil") —
The output format of the generated image. Choose between
PIL: PIL.Image.Image or np.array.


return_dict (bool, optional, defaults to True) —
Whether or not