Nodes/ComfyUI-bby-nodes/Aspect Ratio From Text
ComfyUI Node

Aspect Ratio From Text

A ComfyUI node in bbyNodes with 4 inputs and 5 outputs.

By Eonizer·Created 8 months ago·Updated 3 days ago· 0
Aspect Ratio From Text
    • aspect_ratio
    • clean_text
    • ratio
    • width
    • height
    ◄text—►
    ◄default_ratio1:1 (Square)►
    ◄megapixels1.0►
    ◄divisible_by16►
    CategorybbyNodes

    Inputs (4)

    NameTypeDefaultDescription
    textSTRING—
    default_ratioCOMBO1:1 (Square)Used when the text has no [AR:w:h] tag.
    megapixelsFLOAT1.00.1–32—
    divisible_byINT161–256—

    Outputs (5)

    NameTypeDescription
    aspect_ratio1:1 (Square),2:3 (Portrait),3:4 (Portrait),4:5 (Portrait),5:7 (Portrait),5:8 (Portrait),7:9 (Portrait),9:16 (Portrait),9:19 (Portrait),9:21 (Portrait),3:2 (Landscape),4:3 (Landscape),5:3 (Landscape),5:4 (Landscape),7:5 (Landscape),8:5 (Landscape),9:7 (Landscape),16:9 (Landscape),19:9 (Landscape),21:9 (Landscape)—
    clean_textSTRING—
    ratioSTRING—
    widthINT—
    heightINT—