mask_image is a PIL image, it is converted to a
single channel (luminance) before use. If it’s a tensor, it should contain one color channel (L)
instead of 3, so the expected shape would be (B, 1, H, W).   image_latents (PIL.Image.Image or torch.FloatTensor) —
Partially noised image latents from the inversion process to be used as inputs for image generation.   inpaint_strength (float, optional, defaults to 0.8) —
Indicates extent to inpaint th