ComfyUI Extension
comfyui-plugins
Starter scaffold for developing ComfyUI custom nodes.
HDembinski/comfyui_plugins
Nodes3
On cloudLocal install
Categoryimage/resolution, advanced/conditioning
Stars0
Updated3 months ago
Nodes (3)
NativeImageSizes
The exact resolutions Qwen-Image was trained at, as a node
image/resolution
TextEncodeQwenImageEditAlt
One image, one sentence, no mask — the Qwen-Image-Edit text encoder
advanced/conditioning
TextEncodeQwenImageEditPlusAlt
Four reference images, one Qwen edit — the multi-image encoder
advanced/conditioning
Readme
ComfyUI Plugins
Starter infrastructure for developing custom ComfyUI nodes in this repository.
What is included
- ComfyUI plugin entrypoint in
__init__.py - Node modules under
nodes/ - Native image sizes node in
nodes/native_image_sizes.py - Python project metadata in
pyproject.toml - Development dependency file in
requirements-dev.txt - VS Code Python + Ruff defaults in
.vscode/ - Windows helper script to link this repo into ComfyUI:
scripts/link_to_comfyui.ps1
Quick start
-
Create and activate a Python virtual environment.
-
Install development dependencies:
pip install -r requirements-dev.txt -
Link this repo into your local ComfyUI installation:
.\scripts\link_to_comfyui.ps1 -ComfyUIPath "C:\path\to\ComfyUI"If a target already exists, replace it with:
.\scripts\link_to_comfyui.ps1 -ComfyUIPath "C:\path\to\ComfyUI" -Force -
Start ComfyUI and search for the node named "NativeImageSizes" in category "image/resolution".
Repository layout
.
├── __init__.py
├── nodes/
│ └── native_image_sizes.py
├── scripts/
│ └── link_to_comfyui.ps1
├── pyproject.toml
└── requirements-dev.txt
Running lint
ruff check .
ty check nodes
Add a new node
- Create a new module in
nodes/, for examplenodes/image_nodes.py. - Define the node implementation in that module.
- Register node classes in top-level
comfy_entrypoint()by returning them fromPluginExtension.get_node_list()in__init__.py. - Use
define_schema()onio.ComfyNodeclasses to setnode_id, category, inputs, and outputs.
Notes
- The link helper script attempts a symbolic link first, then falls back to a junction on Windows.
- This repository is intentionally minimal and ready for expansion into multiple node modules.