s than Stable Diffusion v1.5, and Kandinsky 2.2 is also capable of generating high-quality images.  Stable Diffusion Inpainting Stable Diffusion Inpainting is a latent diffusion model finetuned on 512x512 images on inpainting. It is a good starting point because it is relatively fast and generates good quality images. To use this model for inpainting, you’ll need to pass a prompt, base and mask image to the pipeline:   Copied import torch
from 