Nodes/Ideogram 4 Prompter/Ideogram 4 Resolution Selector
ComfyUI Node

Ideogram 4 Resolution Selector

Calculate width and height from any Ideogram 4 aspect ratio and a megapixel target.

By Saganaki22·Created 3 months ago·Updated 3 months ago· 13
Ideogram 4 Resolution Selector
    • width
    • height
    • aspect_ratio_text
    aspect_ratio1x1
    megapixels1.0
    CategoryIdeogram

    Inputs (2)

    NameTypeDefaultDescription
    aspect_ratioCOMBO1x1Exact Ideogram 4 aspect ratio. Can be connected from Ideogram 4 Magic Prompt.
    megapixelsFLOAT1.00.1–16Target total megapixels. 1.0 MP is about 1024x1024 for square.

    Outputs (3)

    NameTypeDescription
    widthINTCalculated width in pixels, rounded to a multiple of 8.
    heightINTCalculated height in pixels, rounded to a multiple of 8.
    aspect_ratio_textSTRINGThe selected Ideogram 4 aspect ratio as text for preview nodes.