Outpainting
Last updated
Last updated
Outpainting refers to the task of extending parts of an image some amount of pixels. For example, using the reference photo from the inpainting tutorial, we can use Auto 1111 SDK's outpainting feature to extend it 128 pixels in the left. The photo's original dimensions were 768x1024, and now they are 896x1024:
Just like Inpainting, Outpainting with Auto 1111 SDK doesn't require a different pipeline object. You can use the same pipeline object that you used to generate the image to outpaint the image, though it is recommended that you use a dedicated inpainting model, which you can find on Civit AI: https://civitai.com/. In this example, I will be using the dreamshaper v8 inpainting pipeline: https://civitai.com/models/4384?modelVersionId=131004. Here's how you can outpaint with Auto 1111 SDK:
Initialize your pipeline. This process is the same for inpainting. To download the model, you can use Auto 1111 SDK's Civit AI model downloader.
Open the image
Outpaint
You can leave the prompt and negative prompt as the same as the original photo. Currently, Auto 1111 SDK only supports poor mans outpainting.
Currently, Auto 1111 SDK supports the following parameters (and the corresponding default values):