list of torch generator(s)
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



~pipelines.utils.ImagePipelineOutput if return_dict is
True, otherwise a `tuple