Nodes/ComfyUI WanVideo Auto Resize/WanVideo Auto Image Resize
ComfyUI Node

WanVideo Auto Image Resize

A ComfyUI node in WanVideoWrapper with 9 inputs and 6 outputs.

By karthikg-09·Created about a year ago·Updated 9 months ago· 4
WanVideo Auto Image Resize
  • image
  • image
  • width
  • height
  • orientation
  • aspect_ratio
  • resize_info
preset_resolution720p
resize_modeKeep Proportion
orientation_priorityAuto Detect
pad_colorBlack
interpolationBilinear
dimension_multiple16
custom_width832
custom_height480
CategoryWanVideoWrapper

Inputs (9)

NameTypeDefaultDescription
imageIMAGEImage to resize
preset_resolutionCOMBO720pIndustry standard preset resolutions
resize_modeCOMBOKeep ProportionHow to handle aspect ratio differences
orientation_priorityCOMBOAuto DetectSmart orientation handling
pad_colorCOMBOBlackPadding color when using Pad mode
interpolationCOMBOBilinearInterpolation method: Bilinear (fast), Bicubic (quality), Nearest (fastest), Lanczos (high quality)
dimension_multipleINT161–64Ensure output dimensions are multiples of this value (e.g., 8, 16, 32 for optimal performance)
custom_widthoptINT83264–4096Custom width (only used when preset is 'Custom')
custom_heightoptINT48064–4096Custom height (only used when preset is 'Custom')

Outputs (6)

NameTypeDescription
imageIMAGE
widthINT
heightINT
orientationSTRING
aspect_ratioFLOAT
resize_infoSTRING