Extensions/ComfyUI-ZhiHui
ComfyUI Extension

ComfyUI-ZhiHui

智绘灵箱 - 功能丰富的 ComfyUI 自定义节点插件,提供图像处理、画板绘制、文本操作等多种实用功能

By zhuyungen·Created 8 months ago·Updated 3 months ago· 0
zhuyungen/ComfyUI-ZhiHui
Nodes42
On cloudLocal install
Category智绘灵箱/工具箱, 智绘灵箱/图片
Stars0
Updated3 months ago

Nodes (42)

🌫️ 智绘_添加噪波

Add film grain to a finished render without touching the sampler

智绘灵箱/工具箱
🎨 智绘_智能抠图

The rembg cutout node with fourteen models and a proper mask output

智绘灵箱/图片
🎯 智绘_提示词抠图(实验)

The prompt-based cutout that's still a stub — read this before wiring it up

智绘灵箱/图片
🎨 智绘_背景替换

Composite a cutout onto a new background with three blend modes

智绘灵箱/图片
🍌 智绘香蕉2 (极速版)

Nano Banana 2 in your graph via a reseller API — key required, no local GPU

智绘灵箱/API
🍌 智绘_banana2_向量引擎api (增强版)

The Gemini/nano-banana wrapper that points at VectorEngine instead of Google

智绘灵箱/API
🪣 智绘_图像遍历加载器

Scan a whole folder of images into one batch, with filenames to match

智绘灵箱/图片
🎬 智绘_批量视频加载器

Pull frames and audio out of any video in a folder, one index at a time

智绘灵箱/视频
🎨 智绘_颜色调整

Brightness, contrast, saturation, sharpness

智绘灵箱/工具箱
🎨 智绘_高级颜色调整

The colorist's node

智绘灵箱/工具箱
🥟 智绘_豆包 (高清增强版)

The Doubao (高清增强版) API node

智绘灵箱/API
🎨 智绘_画板

Draw, paint and scribble over your generation without leaving ComfyUI

ZhiHui/image
🗑️ 智绘_文件夹清理器 (图片流)

The image-passthrough node that (maybe) deletes files — safety switch included

智绘灵箱/图片
🗂️ 智绘_智能文件归档

Dry-run, copy, or move files between folders — with a trigger input that does nothing

智绘灵箱/文件管理
🌫️ 智绘_生成噪波

The texture generator you didn't know you needed

智绘灵箱/工具箱
🪣 智绘_九宫格拼图

The grid assembler with cell-size control

智绘灵箱/图片
🖼️ 智绘_纯净图片加载器

Stretch, crop, or pad

智绘灵箱/图片
🎨 智绘_图片反推

Image-to-prompt reversal with BLIP, Qwen2-VL and full generation controls

智绘灵箱/图片
✂️ 智绘_精确图像裁剪

Crop by pixels or percentage — the exact-cut node with no guesswork

智绘灵箱/图片
📐 智绘_图片排列

Borders, gaps, spacing and auto layout

智绘灵箱
🔢 智绘_计数器加载

A folder stepper that remembers where it was

智绘灵箱/工具箱
📸 智绘_序列批量加载

The batch-vs-counter sibling

智绘灵箱/工具箱
🔢 智绘_多图片开关

A picture selector that won't feed you a dead input

智绘灵箱
📁 智绘_文件夹加载

The whole folder, normalized into one batch — with pad/crop/stretch rules

智绘灵箱
🪣 智绘_增强加载器 (带文件名)

LoadImage that hands you the filename — and a mask you'll want to double-check

智绘灵箱/图片
📦 智绘_制作批次

Up to 20 loose images, one batch — with free size-matching

智绘灵箱
🖼️ 图片列表合并 (Make Image List)

A list, not a batch — the node that keeps your images separate on purpose

ZhiHui/video
🧠 智绘_显存内存优化

The node that unloads your models before you OOM

智绘灵箱
🎨 智绘_预设文本管理

Your favorite prompts, saved to a JSON file you can edit by hand

智绘灵箱/文本
🎲 智绘_随机提示词组合

Roll a structured prompt from ten ingredient lists

智绘灵箱
🎲 智绘_随机提示词提取

One text box full of candidates, one random winner per run

智绘灵箱
🎨 智绘_去除空行

The three-line text cleaner that quietly fixes your prompts

智绘灵箱/文本
🔄 智绘_运行节点

One image in, a 4×4 tile batch out — the grid-split workhorse

智绘灵箱/工具箱
🛡️ 智绘_安全批次加载器

Load one image from a folder by index — and survive going out of bounds

智绘灵箱/图片
🪣 智绘_高级图像保存

Save anywhere, with numbering that never collides and metadata you control

智绘灵箱/图片
💾 智绘_中文时间戳保存

Files named 2026年08月28日14时30分45秒 — the timestamp saver for Chinese users

智绘灵箱/图片
💾 智绘_保存PSD

A real multi-layer PSD straight out of ComfyUI — rare, and yes it needs pytoshop

智绘灵箱/图片
📂 智绘_子文件夹批量加载 (V3 终极版)

Walk a tree of folders and pull a slice of images out of each

智绘灵箱/图片
🎨 智绘_文本按分隔符拆分

Turn one text into many — the node that makes ComfyUI run your prompt list

智绘灵箱/文本
🎬 时间轴编辑器 (Timeline Editor)

Drag segments on a real timeline, and feed your video model per-shot prompts

ZhiHui/video
ℹ️ 智绘_视频信息提取

Unpacking VIDEO_INFO into numbers you can actually use

智绘灵箱/视频
💾 智绘_纯净视频保存

Audio muxing, CRF control, and a real filepath out

智绘灵箱/视频
Readme

ComfyUI-ZhiHui (智绘灵箱)

一个功能丰富的 ComfyUI 自定义节点插件,提供图像处理、文本操作、批处理等多种实用功能。

A feature-rich ComfyUI custom node plugin providing image processing, text operations, batch processing and various utility functions.

🚀 安装方法 / Installation

方法一:Git 安装 (推荐) / Method 1: Git Installation (Recommended)

在 ComfyUI 的 custom_nodes 目录下运行: Run in your ComfyUI's custom_nodes directory:

git clone https://github.com/zhuyungen/ComfyUI-ZhiHui.git

然后重启 ComfyUI 或使用 ComfyUI Manager 重新加载节点。 Then restart ComfyUI or reload nodes using ComfyUI Manager.

方法二:手动安装 / Method 2: Manual Installation

  1. 下载本项目的 ZIP 文件
  2. 解压到 ComfyUI 的 custom_nodes 目录
  3. 安装依赖:pip install -r requirements.txt
  4. 重启 ComfyUI

方法三:ComfyUI Manager 安装 / Method 3: ComfyUI Manager

如果本插件已被 ComfyUI Manager 收录,可直接在 Manager 中搜索 "智绘灵箱" 或 "ComfyUI-ZhiHui" 进行安装。

📋 依赖要求 / Requirements

torch
numpy
Pillow
pytoshop

安装依赖:

pip install -r requirements.txt

🎯 主要功能 / Main Features

🖼️ 图像处理 / Image Processing

  • **智绘_画板 **: 支持多图层绘画、抠图、图形编辑
  • 智绘_九宫格拼图: 批次图片网格排列拼接
  • 智绘_图片切换器: 多图像智能切换选择
  • 智绘_制作批次: 单图转批次处理
  • 智绘_纯净图片加载器: 增强版图片加载器
  • 智绘_批量图片加载器: 文件夹批量图片加载
  • 智绘_高级保存图片: 增强版图片保存功能
  • 智绘_带时间保存图片: 自动时间戳图片保存
  • 智绘_保存PSD: 多图层PSD文件生成

📝 文本处理 / Text Processing

  • 智绘_文本分割器: 按分隔符分割文本
  • 智绘_去空行: 清理文本空行
  • 智绘_随机提示词提取: 随机提取文本行作为提示词

🛠️ 实用工具 / Utilities

  • 智绘_文件清理器: 自动清理临时文件
  • 智绘_预设加载器: 预设参数快速加载

📚 节点列表 / Node List

图像类节点 / Image Nodes

| 节点名称 | 英文名称 | 功能描述 | |---------|---------|---------| | 🎨 智绘_画板 | Drawing Board | 多图层画板,支持画笔/橡皮/文字/图形/抠图,可接收上游图片输入 | | 🪣 智绘_九宫格拼图 | Grid Image Assembler | 批次图片网格排列拼接 | | 🔄 智绘_图片切换器 | Image Multi Switch | 多图像智能切换选择 | | 📦 智绘_制作批次 | Make Image Batch | 单图转批次处理 | | 🖼️ 智绘_纯净图片加载器 | Image Loader Plus | 增强版图片加载器 | | 📁 智绘_批量图片加载器 | Image Batch Loader | 文件夹批量图片加载 | | 💾 智绘_高级保存图片 | Advanced Save Image | 增强版图片保存功能 | | ⏰ 智绘_带时间保存图片 | Save Image With Time | 自动时间戳图片保存 | | 💾 智绘_保存PSD | Save PSD | 多图层PSD文件生成 |

文本类节点 / Text Nodes

| 节点名称 | 英文名称 | 功能描述 | |---------|---------|---------| | ✂️ 智绘_文本分割器 | Text Split By Delimiter | 按分隔符分割文本 | | 🧹 智绘_去空行 | Remove Empty Lines | 清理文本空行 | | 🎲 智绘_随机提示词提取 | Random Prompt Extract | 随机提取文本行作为提示词 |

工具类节点 / Utility Nodes

| 节点名称 | 英文名称 | 功能描述 | |---------|---------|---------| | 🗑️ 智绘_文件清理器 | File Cleaner | 自动清理临时文件 | | ⚙️ 智绘_预设加载器 | Preset Loader | 预设参数快速加载 |

📖 使用说明 / Usage Guide

详细的使用说明请参考 DATONG_GUIDE.md 文档,包含:

  • 每个节点的详细功能介绍
  • 参数配置说明
  • 使用技巧和注意事项
  • 典型应用场景示例
  • 工作流推荐

For detailed usage instructions, please refer to DATONG_GUIDE.md, which includes:

  • Detailed function introduction for each node
  • Parameter configuration instructions
  • Usage tips and precautions
  • Typical application scenarios
  • Recommended workflows

🔧 开发信息 / Development Info

  • 版本: 1.1.0
  • 兼容性: ComfyUI
  • Python版本: 3.8+
  • 许可证: MIT License

🤝 贡献 / Contributing

欢迎提交 Issue 和 Pull Request 来改进这个项目!

Welcome to submit Issues and Pull Requests to improve this project!

📄 许可证 / License

本项目采用 MIT 许可证 - 详见 LICENSE 文件

This project is licensed under the MIT License - see the LICENSE file for details.

🙏 致谢 / Acknowledgments

感谢 ComfyUI 社区的支持和贡献!

Thanks to the ComfyUI community for their support and contributions!


注意: 如果在使用过程中遇到问题,请检查是否正确安装了所有依赖项。

Note: If you encounter issues during use, please check if all dependencies are properly installed.