 'pil'
return_dict: bool = True
callback: typing.Union[typing.Callable[[int, int, torch.FloatTensor], NoneType], NoneType] = None
callback_steps: int = 1

)
→
StableDiffusionPipelineOutput or tuple

Parameters 

prompt (str or List[str], optional) —
The prompt or prompts to guide the image generation. If not defined, one has to pass prompt_embeds.
instead.


image (torch.FloatTensor or PIL.Image.Image) —
Image, or tensor representing an image b