= pipe(prompt=prompt, image=init_image, mask_image=mask_image).images[0]
image
mask_image
prompt
Output


Face of a yellow cat, high resolution, sitting on a park bench

You can also run this example on colab 
A previous experimental implementation of in-painting used a different, lower-quality process. To ensure backwards compatibility, loading a pretrained pipeline that doesn't contain the new model will still apply the old in-painting method