ComfyUI Node
Aspect Ratio From Text
A ComfyUI node in bbyNodes with 4 inputs and 5 outputs.
Aspect Ratio From Text
- aspect_ratio
- clean_text
- ratio
- width
- height
◄text—►
◄default_ratio1:1 (Square)►
◄megapixels1.0►
◄divisible_by16►
CategorybbyNodes
Inputs (4)
| Name | Type | Default | Description |
|---|---|---|---|
| text | STRING | — | |
| default_ratio | COMBO | 1:1 (Square) | Used when the text has no [AR:w:h] tag. |
| megapixels | FLOAT | 1.00.1–32 | — |
| divisible_by | INT | 161–256 | — |
Outputs (5)
| Name | Type | Description |
|---|---|---|
| aspect_ratio | 1: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_text | STRING | — |
| ratio | STRING | — |
| width | INT | — |
| height | INT | — |