Skip to content

ComfyUI Refiners

We provide a set of custom nodes for ComfyUI that allow you to easily use some of Refiners' models and utilities in your ComfyUI workflows.

Installation

The nodes are published at https://registry.comfy.org/publishers/finegrain/nodes/comfyui-refiners.

Requirements

1. Install python (>=3.10):

sudo apt install python3
winget install -e --id Python.Python.3.11

2. Install git:

sudo apt install git
winget install -e --id Git.Git

3. (Optional) Create a python virtual environment:

~/Documents/comfy$ python -m venv .venv
~/Documents/comfy$ source .venv/bin/activate
PS C:\Users\Laurent\Documents\comfy> python -m venv .venv
PS C:\Users\Laurent\Documents\comfy> .\.venv\Scripts\activate

4. Install comfy-cli:

(.venv) ~/Documents/comfy$ pip install comfy-cli
(.venv) PS C:\Users\Laurent\Documents\comfy> pip install comfy-cli

5. Install ComfyUI:

(.venv) ~/Documents/comfy$ comfy --here install
(.venv) PS C:\Users\Laurent\Documents\comfy> comfy --here install

1. Install the comfyui-refiners custom nodes:

(.venv) ~/Documents/comfy$ comfy node registry-install comfyui-refiners
(.venv) PS C:\Users\Laurent\Documents\comfy> comfy node registry-install comfyui-refiners

2. Ensure that comfyui-refiners's dependencies are installed:

(.venv) ~/Documents/comfy$ pip install -r ./ComfyUI/custom_nodes/comfyui-refiners/requirements.txt
(.venv) PS C:\Users\Laurent\Documents\comfy> pip install -r .\ComfyUI\custom_nodes\comfyui-refiners\requirements.txt

3. Start ComfyUI:

(.venv) ~/Documents/comfy$ comfy launch
(.venv) PS C:\Users\Laurent\Documents\comfy> comfy launch

Manually

To manually install the nodes, you may alternatively do the following:

  1. Download an archive of the nodes by cliking the "Download Latest" button at https://registry.comfy.org/publishers/finegrain/nodes/comfyui-refiners, or by running the following command:

    curl -o comfyui-refiners.zip https://storage.googleapis.com/comfy-registry/finegrain/comfyui-refiners/1.0.4/node.tar.gz
    

  2. Extract the archive to the custom_nodes directory:

    unzip -d custom_nodes/comfyui-refiners comfyui-refiners.zip
    

  3. Install the nodes' dependencies:

    pip install -r custom_nodes/comfyui-refiners/requirements.txt
    

  4. Remove the (now useless) downloaded archive:

    rm comfyui-refiners.zip