ComfyUI-Nai-Production-Nodes-Pack

ComfyUI-Nai-Production-Nodes-Pack
★ 16

ComfyUI扩展自定义节点合成节点测试工作流
为 ComfyUI 本地安装提供缺失的基础自定义节点,并附带测试工作流,便于在可视化节点环境中进行 AI 研究与合成实验。
💡 在本地 ComfyUI 中安装并测试缺失的基础节点。
🍴 1 Forks💻 Python🔄 2024-11-24
📦
网盘下载
复制链接后前往夸克网盘下载
https://pan.quark.cn/s/8b0992d318c3
📦 requirements.txt
pillow>=10.3.0
scipy
color-matcher
matplotlib
huggingface_hub
mss
opencv-python
📄 README

ComfyUI Production Nodes Pack

VERSION: Pre-Alpha Release: 0.1 - Licensed under GNU General Public License V3
NOTE: This project is supported by our community > linkedin.com/groups/13109092/
USER: https://github.com/KoreTeknology

!!! WORK IN PROGRESS !!! (Stay tuned)

This is set of custom nodes for your ComfyUI[^1] production setup. It offers the very basic nodes that are missing in the official “Vanilla” package.

It is a research Node based project on *Artificial Intelligence* using ComfyUI visual editor. This repository also includes a set of workflows to test the nodes.

🛡️ Custom Nodes

Here is an overview of the nodes available in this first version of the pack. These correspond to those that I use every day, during my work or in my classes. Others will follow when they are tested and validated. I was inspired by many other developers to create these nodes, even if I had to rewrite most of the scripts myself, for the sake of consistency and integration into comfyUI.

Image Transform

Nodes Values State
Image Flip x / y / xy ✔️
Image Rotate Degree /Step: 1) ✔️
Image Concatenate Inputs number, Direction, Match size ✔️
Image Extend Left, Right, Top, bottom, BG White % ✔️

Image Postprocessing

Nodes Values State
Image Brigthness 0.0>5.0 / Step: 0.1 ✔️
Image Contrast 0.0>5.0 / Step: 0.1 ✔️
Image Greyscale No value ✔️
Image RGB Red,Green, Blue (0-255 /Step: 1) ✔️
Image Difference 2 input images, no value ✔️
Apply Color Palette 2 input images, intensity, lightness ⚠️
Extract Color Palette number of colors, line/square ⚠️

Image Compositing

Nodes Values State
Add Image Layer 2 input images, x, y, alpha (RGBA) ⚠️
Add Text Layer String, x, y, width, color ⚠️

Some extra nodes we need sometimes:

Nodes Values State
Set Text String ✔️
Get Text String ✔️
Note Advanced String, String ✔️
Math Operation a, b, Mode, Type ✔️

🛡️ Menu Items

One of the principles of creating this node pack is to integrate the node names into the menu, in existing categories, rather than creating a new category. It is quite annoying to have to search for nodes when each developer creates a root category, which makes the menu almost unusable.

🛡️ Settings

One of the next planned update is to add a dedicated panel into comfyUI settings window to activate/desactivate each node from the pack.

[!IMPORTANT]

User may use these settings if he wants tu use an alternative node from his installed ones. this avoid getting to much “doubles” into the main node menu.


🛡️ ComfyUI Installation and Custom Nodes

After installing ComfyUI services with your prefered plateform (i am suggesting the use of Stability Matrix as it is easy to install and give a lot of controls), make sure you install the additional and necessary custom nodes. Then you need to install GIT software (if it is not done already) on your computer. To install these custom nodes, open a CMD window in the \ComfyUI\custom_nodes folder. And “git clone” the Compositing Pack. Or you can use the integrated manager:

  • ComfyUi-Manager
  • [!TIP]

    If you have already ComfyUI installed and working, you can simply copy and paste the Compositing nodes Pack into the custom nodes folder. Enjoy!


    🛡️ Development Plan

    I’m currently working on a series of new nodes that will be added progressively to this pack. These are mainly oriented towards compositing and post-processing, using either the PIL library or OpenCV.

    If you want to follow the progress or/and participate, I invite you to connect with me on LINKEDIN and ComfyUI For AI Media Production, a group of users passionate about AI.

    PRIORITY LEVEL

  • Config JS extension panel (activate/desactivate individual nodes
  • Property panel with description, tips,etc…
  • Help options
  • refactoring for 1.2 release
  • Follow the development: Here


    🛡️ Infos

  • Author: Uriel Deveaud [NAI-00] – Kore Teknology
  • Partners: Techman Studio MXtechmanstudio.com
  • License: This project is released under the Apache 2.0 License.
  • This work is dedicated to all ComfyUI users and to all our students 😉
  • [^1]: ComfyUI is the free and open source AI creation suite. Please, visit ComfyUI Github page for more infos.