: Optional = 'pil' return_dict: bool = True callback: Optional = None callback_steps: int = 1  ) → ImageTextPipelineOutput or tuple  Parameters   prompt (str or List[str], optional) —
The prompt or prompts to guide image generation. If not defined, you need to pass prompt_embeds.
Required for text-conditioned image generation (text2img) mode.   image (torch.FloatTensor or PIL.Image.Image, optional) —
Image or tensor representing an image batch.