
日本語版READMEはこちら。
- Custom node for ComfyUI.
- Add nodes that outputs width and height of the size selected from the preset.
cd <ComfyUI directory>/custom_nodes
git clone https://github.com/nkchocoai/ComfyUI-SizeFromPresets.git
- Select image size presets for SD1.5.
- Output width and height of the selected preset.
- Presets can be set from presets/sd15.csv.
- Select image size presets for SDXL.
- Output width and height of the selected preset.
- Presets can be set from presets/sdxl.csv.
- 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.
- 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.
- 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.
- Select a resolution close to the input image size from the presets.
- Output width and height of the selected preset.
- Select a resolution close to the input image size from the presets.
- Output empty latent image, width and height of the selected preset.