ty image at the
expense of slower inference.


generator (torch.Generator, optional) — A torch
generator to make generation
deterministic.


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


return_dict (bool, optional, defaults to True) — Whether or not to return a
ImagePipelineOutput instead of a plain tuple.


Returns

ImagePipelineOutput or tuple



~