Pad Image for Outpainting - ComfyUI Built-in Node Documentation
This node is designed for preparing images for the outpainting process by adding padding around them.
This node is designed for preparing images for the outpainting process by adding padding around them. It adjusts the image dimensions to ensure compatibility with outpainting algorithms, facilitating the generation of extended image areas beyond the original boundaries.
Inputs
Parameter
Description
Data Type
image
The ‘image’ input is the primary image to be prepared for outpainting, serving as the base for padding operations.
IMAGE
left
Specifies the amount of padding to add to the left side of the image, influencing the expanded area for outpainting.
INT
top
Determines the amount of padding to add to the top of the image, affecting the vertical expansion for outpainting.
INT
right
Defines the amount of padding to add to the right side of the image, impacting the horizontal expansion for outpainting.
INT
bottom
Indicates the amount of padding to add to the bottom of the image, contributing to the vertical expansion for outpainting.
INT
feathering
Controls the smoothness of the transition between the original image and the added padding, enhancing the visual integration for outpainting.
INT
Outputs
Parameter
Description
Data Type
image
The output ‘image’ represents the padded image, ready for the outpainting process.
IMAGE
mask
The output ‘mask’ indicates the areas of the original image and the added padding, useful for guiding the outpainting algorithms.
MASK
This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! Edit on GitHub