ComfyUI Node

Video Resolution

Video resolution selector with presets, model profiles, and custom sizing modes.

By hyukudan·Created 7 months ago·Updated 4 months ago· 2
Video Resolution
    • width
    • height
    • resolution_str
    resolution720p
    aspect_ratio16:9 (Widescreen)
    scale1x
    model_profileLTX Video / LTX2
    custom_modemanual
    custom_width1280
    custom_height720
    divisible_by32
    rounding_modefloor
    add_onetrue
    swapfalse
    Categoryvideo

    Inputs (11)

    NameTypeDefaultDescription
    resolutionCOMBO720p7 options: 480p, 720p, 1080p, 1440p (2K), 2160p (4K), 4320p (8K), +1
    aspect_ratioCOMBO16:9 (Widescreen)13 options: 1:1 (Square), 16:9 (Widescreen), 19:9 (Cinematic Mobile), 2.39:1 (CinemaScope), 9:16 (Vertical), 4:3 (Classic), +7
    scaleCOMBO1x7 options: 0.25x, 0.5x, 0.75x, 1x, 1.25x, 1.5x, +1
    model_profileCOMBOLTX Video / LTX26 options: Custom, LTX Video / LTX2, CogVideoX, Hunyuan Video, Mochi, Wan 2.x
    custom_modeCOMBOmanual3 options: manual, from_width, from_height
    custom_widthINT128064–16384
    custom_heightINT72064–16384
    divisible_byCOMBO324 options: 8, 16, 32, 64
    rounding_modeCOMBOfloor3 options: floor, nearest, ceil
    add_oneBOOLEANtrue
    swapBOOLEANfalse

    Outputs (3)

    NameTypeDescription
    widthINTWidth in pixels
    heightINTHeight in pixels
    resolution_strSTRINGResolution as string (e.g. 1281x721)