ts of a batch of single-channel binary images
with dimensions (height // self.vae_scale_factor, width // self.vae_scale_factor). If it’s
np.array, the shape is (batch_size, height // self.vae_scale_factor, width // self.vae_scale_factor).
  Generate a latent mask given a mask prompt, a target prompt, and an image.    Copied >>> import PIL
>>> import requests
>>> import torch
>>> from io import BytesIO

>>> from diffusers import StableDiffusionD