ComfyUI Node
Image Sizer
A ComfyUI node in PrzewodoUtils with 4 inputs and 2 outputs.
Image Sizer
- Width
- Height
◄model_type▾►
◄aspect_ratio_width1►
◄aspect_ratio_height1►
◄image_scale1.00►
CategoryPrzewodoUtils
Inputs (4)
| Name | Type | Default | Description |
|---|---|---|---|
| model_type | COMBO | Model type that determines the base resolution and total pixel count. Each model has optimized dimensions: SD (512x512), SDXL (1024x1024), Video 480p (832x480), Video 720p (1280x720), Flux Kontext (1024x1024), Flux 1D (1536x1536). | |
| aspect_ratio_width | INT | 1 | Width component of the desired aspect ratio. Combined with aspect_ratio_height to calculate the final dimensions while maintaining the model's total pixel count. |
| aspect_ratio_height | INT | 1 | Height component of the desired aspect ratio. Combined with aspect_ratio_width to calculate the final dimensions while maintaining the model's total pixel count. |
| image_scale | FLOAT | 1.000.01–1 | Scale factor to apply to the final image dimensions. |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| Width | INT | — |
| Height | INT | — |