Nodes/comfyui-auto-size/πŸ“ Auto Size
ComfyUI Node

πŸ“ Auto Size

A ComfyUI node in image/AutoSize with 8 inputs and 5 outputs.

By jluo-githubΒ·Created 6 months agoΒ·Updated 4 months agoΒ· 0
πŸ“ Auto Size
  • image
  • mask
  • image
  • mask
  • width
  • height
  • size
β—„modelqwen-imageβ–Ί
β—„sizeFull Custom (Use Inputs Below)β–Ί
β—„custom_longer_size0β–Ί
β—„custom_ratio1:1β–Ί
β—„crop_methodCenter Cropβ–Ί
β—„scale_methodlanczosβ–Ί
Categoryimage/AutoSize

Inputs (8)

NameTypeDefaultDescription
modelCOMBOqwen-image4 options: qwen-image, illustrious, z-image, flux
sizeCOMBOFull Custom (Use Inputs Below)51 options: Full Custom (Use Inputs Below), Qwen - 1:1 (1328x1328), Qwen - 9:16 (928x1664), Qwen - 16:9 (1664x928), Qwen - 3:4 (1104x1472), Qwen - 4:3 (1472x1104), +45
custom_longer_sizeINT00–8192β€”
custom_ratioCOMBO1:115 options: 1:1, 1:2, 2:1, 2:3, 3:2, 3:4, +9
crop_methodCOMBOCenter Crop5 options: Center Crop, Top-Left Crop, Bottom-Right Crop, Scale to Fit, Stretch to Fill
scale_methodCOMBOlanczos4 options: lanczos, bilinear, bicubic, nearest
imageoptIMAGEβ€”
maskoptMASKβ€”

Outputs (5)

NameTypeDescription
imageIMAGEβ€”
maskMASKβ€”
widthINTβ€”
heightINTβ€”
sizeSTRINGβ€”