r(s)
to make generation deterministic.


latents (torch.FloatTensor of shape (batch), optional) —
Pre-generated noisy latents to be used as inputs for image generation. Must be valid embedding indices.
Can be used to tweak the same generation with different prompts. If not provided, a latents tensor will
be generated of completely masked latent pixels.


output_type (str, optional, defaults to "pil") —
The output format of the generated image. 