Nodes/ComfyUI_illumorae/Image Resize WAN Adaptive Framing
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.

By CorvaeOboro·Created 7 months ago·Updated 8 days ago· 1
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)

NameTypeDefaultDescription
imageIMAGE
orientation_modeCOMBOauto3 options: auto, force_horizontal, force_vertical
framing_modeCOMBOauto_subject4 options: auto_subject, human_face, human_body, center
resize_modeCOMBOcrop2 options: crop, pad
resolution_tierCOMBOauto4 options: auto, small, main, high
upscale_methodCOMBOlanczos5 options: nearest-exact, bilinear, area, bicubic, lanczos
anchor_strengthFLOAT0.850–1
top_biasFLOAT0.18-0.5–0.5
face_min_percentFLOAT3.00.5–40
detect_scale_factorFLOAT1.101.01–1.5
detect_min_neighborsINT51–12
debug_printsoptBOOLEANfalse
emit_debug_imageoptBOOLEANtrue

Outputs (5)

NameTypeDescription
resized_imageIMAGE
debug_imageIMAGE
widthINT
heightINT
selected_presetSTRING