What is outpainting?

outpainting is a technique to draw the "outside" of an image.

The content is exactly the same as inpainting's "Type B: Fill the masked part naturally while looking at the surrounding information".

The only difference is whether the mask is inside the image or outside.

We will proceed assuming you have read inpainting first.


inpainting Model

A straightforward method using an inpainting model.

workflow

SD1.5_outpainting_sd-v1-5-inpainting.json
  • Almost the same as inpainting/inpainting Model.
  • 🟦 Expand the image outward with the Pad Image for Outpainting node.
    • The expanded part is output as a mask.
  • 🟩 Just connect it to the InpaintModelConditioning node.

ControlNet inpaint

If you want to use your favorite model as is, use ControlNet inpaint.

workflow

SD1.5_outpainting_ControlNet_inpaint.json
  • The basic configuration is the same as inpainting/ControlNet inpaint.
  • 🟦 Expand the image outward with the Pad Image for Outpainting node.
    • Again, the expanded part becomes the mask.
  • 🟨 Pass the image and mask after outpainting to the pre-processing node for ControlNet inpaint.