ComfyUI custom node that suggests common resolutions and safe downscales based on input image size and model multipleof.
Perfil do pacote
README
ComfyUI custom node that suggests common resolutions and safe downscales based on input image size and model multiple_of.
Nós neste pacote
Nó 1Fontes
1 fonteTrechos de fonte
1 trechoSource context: Repo TuonoMindCode/ComfyUI-Resolution-Suggest-Downscale
TuonoResolutionSuggestDownscale
This is a simple resolution suggester that downscales images. It preserves aspect ratio and uses hardcoded suggested resolutions that were provided by ChatGPT 5.1 based on common resolutions and common downscaled targets. None of the suggested or common resolutions in this program were authored by me; they were provided by ChatGPT. Use the output info: STRING with diagnostic details, for easy debugging The entire code was generated by ChatGPT 5.1, I have no programming experience. And rest of this readme file is done by Chatgpt. A ComfyUI custom node that helps you pick sensible downscaled resolutions for an input image. It preserves the aspect ratio, snaps to a chosen multiple (8/16/32/64), and never upscales beyond the source size. - Input: Image tensor - Output: Passthrough image, target width/height, and a human-readable info string - Multiple-of snapping profiles: 8, 16, 32, 64 - Two ways to choose the target size: - Percentage presets (e.g., 10–60% smaller) - Resolution suggestions from a static table for common input sizes - Never upscales beyond the original resolution - Structurized info string shows what happened (profile, preset, scale/reduction, raw/scanned sizes, suggestions) - image: ComfyUI IMAGE tensor (passthrough) - modelprofile: - multipleof: 8 (SD / General (8)) - multipleof: 16 (WAN 2.2 / Strict (16)) - multipleof: 32 (Video / Advanced (32)) - multipleof: 64 (Legacy / Extra Safe (64)) - Default: 16 - scalepreset: - Percentage-based: - 0% smaller (keep original) - 10% smaller - 20% smaller - 30% smaller - 40% smaller - 50% smaller - 60% smaller - Defaul…
Resolution/Utilities · entrada 1 · parâmetros 2 · saídas 4