Text-guided image-inpainting
	











The StableDiffusionInpaintPipeline allows you to edit specific parts of an image by providing a mask and a text prompt. It uses a version of Stable Diffusion, like runwayml/stable-diffusion-inpainting specifically trained for inpainting tasks.
Get started by loading an instance of the StableDiffusionInpaintPipeline:


	Copied
import PIL
import requests
import torch
from io import BytesIO

from diffusers