ComfyUI Node
Image Resize WAN Adaptive Framing
Auto-selects WAN-friendly resolution and applies subject/human-centric framing via crop or soft-bar pad resize modes for video prep.
Image Resize WAN Adaptive Framing
- image
- resized_image
- debug_image
- width
- height
- selected_preset
◄orientation_modeauto►
◄framing_modeauto_subject►
◄resize_modecrop►
◄resolution_tierauto►
◄upscale_methodlanczos►
◄anchor_strength0.85►
◄top_bias0.18►
◄face_min_percent3.0►
◄detect_scale_factor1.10►
◄detect_min_neighbors5►
◄debug_printsfalse►
◄emit_debug_imagetrue►
Categoryillumorae
Inputs (13)
| Name | Type | Default | Description |
|---|---|---|---|
| image | IMAGE | — | |
| orientation_mode | COMBO | auto | 3 options: auto, force_horizontal, force_vertical |
| framing_mode | COMBO | auto_subject | 4 options: auto_subject, human_face, human_body, center |
| resize_mode | COMBO | crop | 2 options: crop, pad |
| resolution_tier | COMBO | auto | 4 options: auto, small, main, high |
| upscale_method | COMBO | lanczos | 5 options: nearest-exact, bilinear, area, bicubic, lanczos |
| anchor_strength | FLOAT | 0.850–1 | — |
| top_bias | FLOAT | 0.18-0.5–0.5 | — |
| face_min_percent | FLOAT | 3.00.5–40 | — |
| detect_scale_factor | FLOAT | 1.101.01–1.5 | — |
| detect_min_neighbors | INT | 51–12 | — |
| debug_printsopt | BOOLEAN | false | — |
| emit_debug_imageopt | BOOLEAN | true | — |
Outputs (5)
| Name | Type | Description |
|---|---|---|
| resized_image | IMAGE | — |
| debug_image | IMAGE | — |
| width | INT | — |
| height | INT | — |
| selected_preset | STRING | — |