ComfyUI Node
Flux Resolution Prepare
A ComfyUI node in PortraitUtils/Transform with 7 inputs and 6 outputs.
Flux Resolution Prepare
- image
- image
- ratio
- target_width
- target_height
- area_loss_percent
- pre_scale_factor
◄min_megapixels0.95►
◄enable_pre_upscaletrue►
◄crop_width-1►
◄crop_height-1►
◄crop_x0►
◄crop_y0►
CategoryPortraitUtils/Transform
Inputs (7)
| Name | Type | Default | Description |
|---|---|---|---|
| image | IMAGE | — | |
| min_megapixels | FLOAT | 0.950.1–64 | — |
| enable_pre_upscale | BOOLEAN | true | — |
| crop_widthopt | INT | -1 | — |
| crop_heightopt | INT | -1 | — |
| crop_xopt | INT | 0 | — |
| crop_yopt | INT | 0 | — |
Outputs (6)
| Name | Type | Description |
|---|---|---|
| image | IMAGE | — |
| ratio | STRING | — |
| target_width | INT | — |
| target_height | INT | — |
| area_loss_percent | FLOAT | — |
| pre_scale_factor | FLOAT | — |