ComfyUI custom nodes to interact with the Finegrain API.
Finegrain API ComfyUI custom nodes.
To use these custom nodes, you need Finegrain API credentials:
config.ini
with your Finegrain API credentials:[finegrain]
credentials = [email protected]:my_password
priority = low
timeout = 60
[!Note]
credentials
can either beemail:password
or an API key, which you can create in Account Settings > New API key
Installing the nodes is pretty straight forward, check out our Discord server if you need help.
Ensure you have Python 3.12 (or later) installed.
Ensure you have Git installed.
Ensure you have ComfyUI installed.
Ensure you have ComfyUI Manager installed.
In ComfyUI, open the manager by clicking the Manager
button in the top right corner.
Click Custom Nodes Manager
in the menu.
Search for comfyui-finegrain
in the search bar and click the Install
button.
Alternatively, if you load one of the workflows below, you should be able to install the nodes directly
by clicking the Install Missing Custom Nodes
button in the Manager's menu.
The nodes are published at https://registry.comfy.org/publishers/finegrain/nodes/comfyui-finegrain.
Ensure you have Comfy CLI installed.
Install the custom nodes using Comfy CLI:
comfy node registry-install comfyui-finegrain
The above command should automatically install the nodes' requirements. If it somehow doesn't, you can manually install them with:
On Linux:
# ensure you activated the python virtual environment used by ComfyUI
pip install -r custom_nodes/comfyui-finegrain/requirements.txt
On Windows:
.\python_embeded\Scripts\pip.exe install -r .\ComfyUI\custom_nodes\comfyui-finegrain\requirements.txt
The nodes are published at https://registry.comfy.org/publishers/finegrain/nodes/comfyui-finegrain.
cd custom_nodes
git clone https://github.com/finegrain-ai/comfyui-finegrain.git
On Linux:
# ensure you activated the python virtual environment used by ComfyUI
pip install -r custom_nodes/comfyui-finegrain/requirements.txt
On Windows:
.\python_embeded\Scripts\pip.exe install -r .\ComfyUI\custom_nodes\comfyui-finegrain\requirements.txt
[!Note] All the below workflow examples were made using comfyui-finegrain v2.0.0. <br> To import them into ComfyUI, drag and drop the .png file into the ComfyUI window.
All our workflows are also available on OpenArt: https://openart.ai/workflows/profile/finegrain
Instantly remove any object, along with its shadows and reflections, just by naming it.
Instantly isolate any object in a photo into a perfect cutout, just by naming it.
Instantly change the color of any object in a photo, even through occlusions, just by naming it.
Replace any object in a photo with another, recreating shadows and reflections so naturally it looks like the new object was always there — perfectly preserved in every detail.
Seamlessly integrate any object into a scene, recreating shadows and reflections for a result so natural it looks like it was always there — perfectly preserved in every detail.
Generate Packshot – Transform any mundane photo into a stunning white-background image with a perfectly natural shadow.
Remove Background – Our pixel-perfect, high-resolution take on a classic, effortlessly extracting the main object from its background.