Minor updates

This commit is contained in:
bradsec
2023-08-18 16:21:13 +10:00
parent 851656b42e
commit f78c09e825
+9 -6
View File
@@ -1,10 +1,10 @@
# Custom Node - ResolutionSelector for ComfyUI
# ResolutionSelector for ComfyUI
Custom image resolution helper node for [ComfyUI](https://github.com/comfyanonymous/ComfyUI)
A custom node for Stable Diffusion [ComfyUI](https://github.com/comfyanonymous/ComfyUI) to enable easy selection of image resolutions for SDXL SD15 SD21
- Select base SDXL resolution, width and height are returned as INT values.
- If using older model SD 1.5 or SD 2.1 use the base adjustment dropdown. This will adjust (reduce) the base_resolution to suit the model. ie. 1024 (SDXL) will equal 768 in SD21 and 512 in SD15.
- Resolution list based off what is currently being used in the [Fooocus SDXL Web UI](https://github.com/lllyasviel/Fooocus)
- Select base SDXL resolution, width and height are returned as INT values which can be connected to latent image inputs or other inputs such as the `CLIPTextEncodeSDXL` `width, height, target_width, target_height`.
- If using older model SD 1.5 or SD 2.1 use the base adjustment dropdown. This will adjust (reduce) the base_resolution to suit the model. ie. base_resolution 1024 (SDXL) will equal 768 in SD21 and 512 in SD15.
- Resolution list based off what is currently being used in the [Fooocus SDXL Web UI](https://github.com/lllyasviel/Fooocus).
### Installation
@@ -14,13 +14,16 @@ cd pathTo/ComfyUI
# Change to the custom_nodes directory
cd custom_nodes
```
```terminal
# Clone the repo into custom_nodes
git clone https://github.com/bradsec/ComfyUI_ResolutionSelector.git
# Restart ComfyUI
```
- The new node can be found under:
### Usage after install
`Add Node > utils > Resolution Selector (w x h)`