This guide will introduce you to the outpainting workflow in ComfyUI and walk you through an outpainting example
ComfyUI/models/checkpoints
directory:
Workflows
-> Open (ctrl+o)
.Load Checkpoint
nodeUpload
button in the Load Image
node to upload your imageQueue
button or use the shortcut Ctrl + Enter
to execute the image generationPad Image for outpainting
node to control the direction and range of image extension. This is actually an Inpaint workflow, but we use different nodes to build the mask.
Parameter Name | Function |
---|---|
image | Input image |
left | Left padding amount |
top | Top padding amount |
right | Right padding amount |
bottom | Bottom padding amount |
feathering | Controls the smoothness of the transition between the original image and the added padding, higher values create smoother transitions |
Parameter Name | Function |
---|---|
image | Output image represents the padded image |
mask | Output mask indicates the original image area and the added padding area |
Pad Image for outpainting
node, the output image and mask preview are as follows:
Image
output is the extended imageMask
output is the mask marking the extension areas