: int = 1

)
→
StableDiffusionPipelineOutput or tuple

Parameters 

prompt (str or List[str]) —
The prompt or prompts to guide the image upscaling.


image (PIL.Image.Image or ListPIL.Image.Image or torch.FloatTensor) —
Image, or tensor representing an image batch which will be upscaled. If it’s a tensor, it can be
either a latent output from a stable diffusion model, or an image tensor in the range [-1, 1]. It
will be considered a latent if im