ting point for the
process. Can also accept image latents as image, if passing latents directly, it will not be encoded
again.   mask_image (np.array) —
Tensor representing an image batch, to mask image. White pixels in the mask will be repainted, while
black pixels will be preserved. If mask_image is a PIL image, it will be converted to a single
channel (luminance) before use. If it’s a tensor, it should contain one color channel (L) instead o