ComfyUI Node
Qwen Image Resize & Pad
A ComfyUI node in Qwen Image Edit with 4 inputs and 3 outputs.
Qwen Image Resize & Pad
- image
- IMAGE
- width
- height
◄min_pixels1024►
◄constraint_modeBalanced (56x) - Rec. for SD1.5/XL►
◄upscale_methodbicubic►
CategoryQwen Image Edit
Inputs (4)
| Name | Type | Default | Description |
|---|---|---|---|
| image | IMAGE | — | |
| min_pixels | INT | 10240–8192 | 若图像短边低于此像素值,将触发放大机制。设为0则不强制放大。 |
| constraint_mode | COMBO | Balanced (56x) - Rec. for SD1.5/XL | 选择尺寸对齐策略: - 28x: 仅满足Qwen。 - 56x: 同时满足Qwen和8的倍数(推荐)。 |
| upscale_method | COMBO | bicubic | 5 options: nearest-exact, bilinear, area, bicubic, lanczos |
Outputs (3)
| Name | Type | Description |
|---|---|---|
| IMAGE | IMAGE | — |
| width | INT | — |
| height | INT | — |