ComfyUI Node

ImageOps PadOut

A ComfyUI node in image/imageops with 9 inputs and 4 outputs.

By MajoorWaldi·Created 7 months ago·Updated 2 months ago· 10
ImageOps PadOut
  • image
  • image
  • mask
  • width
  • height
bypassfalse
pad_left128
pad_top128
pad_right128
pad_bottom128
aspect_ratiocustom
snap_to_multiple1
invert_maskfalse
Categoryimage/imageops

Inputs (9)

NameTypeDefaultDescription
bypassBOOLEANfalse
pad_leftINT1280–4096
pad_topINT1280–4096
pad_rightINT1280–4096
pad_bottomINT1280–4096
aspect_ratioCOMBOcustomInteractive preview ratio preset. The UI turns this into explicit padding; backend output uses the pad values as-is.
snap_to_multipleINT11–256Quantize padding to this multiple. Use 16 for Wan/VACE-friendly output sizes.
invert_maskBOOLEANfalseBy default the output mask marks the *padded* area as 1 and the original source as 0. Toggle to invert (source=1, padding=0).
imageoptIMAGE,VIDEOImages/Video input. Accepts IMAGE batches and VIDEO frame sources.

Outputs (4)

NameTypeDescription
imageIMAGE
maskMASK
widthINT
heightINT