ComfyUI Node
AI2Go Resolution Selector
Pick a valid resolution by mode + aspect ratio, output width/height as INT. - profile: 'default' (no clamp; snaps to the 'snap_multiple' field) or a model ruleset like 'Ideogram 4' (multiples of 16, 256-2048 px per side). - resolution_mode: 'raw' (type width/height), 'auto' (pick a ratio; edit one side, the other follows), or 'megapixel' (target megapixels + ratio; both computed). - aspect_ratio lists square + landscape ratios; the '⟷' flip button (orientation) makes the portrait versions. megapixels feeds the megapixel mode. Wire width/height into the AI2Go Ideogram 4 Prompt Builder's width/height inputs; edits push into the builder's canvas live (they also apply on execution).
AI2Go Resolution Selector
- width
- height
◄profiledefault►
◄resolution_modemegapixel►
◄aspect_ratio1:1 (Square)►
◄megapixels1.0►
◄width1024►
◄height1024►
◄snap_multiple8►
◄orientationlandscape►
CategoryAI2Go/image
Inputs (8)
| Name | Type | Default | Description |
|---|---|---|---|
| profile | COMBO | default | Model ruleset. 'default' = no clamp, snaps to 'snap_multiple'. 'Ideogram 4' = multiples of 16, 256-2048 px. |
| resolution_mode | COMBO | megapixel | 'raw' = type width/height; 'auto' = pick a ratio and edit either side; 'megapixel' = pick a target megapixels + ratio. All snap to the profile. |
| aspect_ratio | COMBO | 1:1 (Square) | Target aspect ratio for 'auto' and 'megapixel'. Square + landscape only; use the flip button (orientation) for portrait. |
| megapixels | FLOAT | 1.00.1–16 | Target size in megapixels for 'megapixel' mode. (Ideogram 4 still clamps to ~4.19 MP at 2048x2048.) |
| width | INT | 102464–16384 | Width. Editable in 'raw' and 'auto'; computed in 'megapixel'. Snapped to the multiple. |
| height | INT | 102464–16384 | Height. Editable in 'raw' and 'auto'; computed in 'megapixel'. Snapped to the multiple. |
| snap_multiple | INT | 81–1024 | Round each side to a multiple of this. Most diffusion models require multiples of 8, so keep it at 8 unless your model needs otherwise. Ignored by model profiles that define their own multiple (Ideogram 4 = 16). |
| orientation | COMBO | landscape | Landscape or portrait. Toggled by the '⟷' flip button in the editor; portrait transposes the selected ratio (16:9 -> 9:16). |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| width | INT | — |
| height | INT | — |