ComfyUI Node
Ideogram 4 Resolution Selector
Calculate width and height from any Ideogram 4 aspect ratio and a megapixel target.
Ideogram 4 Resolution Selector
- width
- height
- aspect_ratio_text
◄aspect_ratio1x1►
◄megapixels1.0►
CategoryIdeogram
Inputs (2)
| Name | Type | Default | Description |
|---|---|---|---|
| aspect_ratio | COMBO | 1x1 | Exact Ideogram 4 aspect ratio. Can be connected from Ideogram 4 Magic Prompt. |
| megapixels | FLOAT | 1.00.1–16 | Target total megapixels. 1.0 MP is about 1024x1024 for square. |
Outputs (3)
| Name | Type | Description |
|---|---|---|
| width | INT | Calculated width in pixels, rounded to a multiple of 8. |
| height | INT | Calculated height in pixels, rounded to a multiple of 8. |
| aspect_ratio_text | STRING | The selected Ideogram 4 aspect ratio as text for preview nodes. |