ComfyUI Extension
ComfyUI-SizeFromPresets
Add a node that outputs width and height of the size selected from the preset (.csv).
nkchocoai/ComfyUI-SizeFromPresets
Nodes10
On cloudLocal install
CategorySizeFromPresets
Stars13
Updatedabout a year ago
Nodes (10)
Empty Latent Image From Presets (SD1.5)
SD1.5's trained sizes in a dropdown, latent included
SizeFromPresets
Empty Latent Image From Presets (SDXL)
The Empty Latent Image that keeps you on SDXL's trained sizes
SizeFromPresets
Get Similar Resolution
Hand it any image, get back the closest trained size
SizeFromPresets
Get Similar Resolution Empty Latent
Match an image's aspect and get the empty latent in one hop
SizeFromPresets
Random Empty Latent Image From Presets (SD1.5)
Roll the dice on your SD1.5 canvas — one seed, five trained sizes
SizeFromPresets
Random Empty Latent Image From Presets (SDXL)
SDXL, but the aspect ratio is a surprise
SizeFromPresets
Random Size From Presets (SD1.5)
Random SD1.5 sizes with zero extra nodes
SizeFromPresets
Random Size From Presets (SDXL)
A random SDXL size every queue, minus the latent plumbing
SizeFromPresets
Size From Presets (SD1.5)
SD1.5's size list in a dropdown — no typing, no math
SizeFromPresets
Size From Presets (SDXL)
A dropdown that hands you SDXL's trained w/h
SizeFromPresets
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.