Nodes Browser
ComfyDeploy: How ComfyUI-SizeFromPresets works in ComfyUI?
What is ComfyUI-SizeFromPresets?
Add a node that outputs width and height of the size selected from the preset (.csv).
How to install it in ComfyDeploy?
Head over to the machine page
- Click on the "Create a new machine" button
- Select the
Edit
build steps - Add a new step -> Custom Node
- Search for
ComfyUI-SizeFromPresets
and select it - Close the build step dialig and then click on the "Save" button to rebuild the machine
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.