缩放图像以适配最小/最大分辨率限制,尺寸保证可被 2/8/16/32/64 整除。保宽高比缩放 + 智能裁剪——非常适合图生图与图生视频工作流。
https://github.com/EnragedAntelope/ComfyUI-ConstrainResolution
git clone https://github.com/EnragedAntelope/ComfyUI-ConstrainResolution
comfy node install constrainresolution
为 https://github.com/Eyeline-Research/Go-with-the-Flow 从视频生成噪声的节点。