ComfyUI-SizeFromPresets

ComfyUI-SizeFromPresets
★ 13

尺寸预设CSV导入输出宽高ComfyUI节点
从预设CSV中读取并输出选定尺寸的width和height,方便在ComfyUI流程中快速选择与复用图像分辨率。
💡 根据CSV预设快速选择并输出图像宽高供流程使用。
🍴 7 Forks💻 Python🔄 2025-03-30
📦
网盘下载
复制链接后前往夸克网盘下载
https://pan.quark.cn/s/6862a2001521
SizeFromPresets Preview
📄 README

ComfyUI-SizeFromPresets

日本語版READMEはこちら

  • Custom node for ComfyUI.
  • Add nodes that outputs width and height of the size selected from the preset.
  • Installation

    cd <ComfyUI directory>/custom_nodes
    git clone https://github.com/nkchocoai/ComfyUI-SizeFromPresets.git

    Nodes

    Size From Presets (SD1.5)

  • Select image size presets for SD1.5.
  • Output width and height of the selected preset.
  • Presets can be set from presets/sd15.csv.
  • Size From Presets (SDXL)

  • Select image size presets for SDXL.
  • Output width and height of the selected preset.
  • Presets can be set from presets/sdxl.csv.
  • Empty Latent Image From Presets (SD1.5)

  • Select image size presets for SD1.5.
  • Output empty latent image, width and height of the selected preset.
  • Presets can be set from presets/sd15.csv.
  • Empty Latent Image From Presets (SDXL)

  • Select image size presets for SDXL.
  • Output empty latent image, width and height of the selected preset.
  • Presets can be set from presets/sdxl.csv.
  • Random … From Presets (SD…)

  • Select randomly from the presets listed in the CSV file.
  • In the case of Size, output width and height of the selected preset.
  • In the case of Empty Latent Image, output empty latent image, width and height of the selected preset.
  • Get Similar Resolution

  • Select a resolution close to the input image size from the presets.
  • Output width and height of the selected preset.
  • Get Similar Resolution Empty Latent

  • Select a resolution close to the input image size from the presets.
  • Output empty latent image, width and height of the selected preset.