text2image = pipeline("concept art digital painting of an elven castle, inspired by lord of the rings, highly detailed, 8k").images[0]
```  
Load the mask image of the output from above:  
```py
mask_image = load_image("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/diffusers/inpaint_text-chain-mask.png")
```  
And let's inpaint the masked area with a waterfall:  
```py
pipeline = AutoPipelineForInpainting.from_pretrained(