Nodes/Seb Nodes/Aspect Ratio (Seb)
ComfyUI Node

Aspect Ratio (Seb)

A ComfyUI node in utils/aspect_ratio with 8 inputs and 2 outputs.

By cyberhirsch·Created about a year ago·Updated 7 months ago· 4
Aspect Ratio (Seb)
    • width
    • height
    preset1:1 (Square)
    custom_aspect_width16
    custom_aspect_height9
    control_modeMegapixels
    target_megapixels1.0
    fixed_side_value1024
    fixed_side_axisWidth
    multiple_of8
    Categoryutils/aspect_ratio

    Inputs (8)

    NameTypeDefaultDescription
    presetCOMBO1:1 (Square)12 options: 9:19.5 (Mobile Portrait), 9:16 (Tall Portrait), 2:3 (Portrait), 3:4 (Portrait), 4:5 (Social Media Portrait), 1:1 (Square), +6
    custom_aspect_widthINT16
    custom_aspect_heightINT9
    control_modeCOMBOMegapixels2 options: Megapixels, Fixed Side
    target_megapixelsFLOAT1.00.1–64
    fixed_side_valueINT102464–8192
    fixed_side_axisCOMBOWidth2 options: Width, Height
    multiple_ofINT8

    Outputs (2)

    NameTypeDescription
    widthINT
    heightINT