Extensions/ComfyUI_KimNodes
ComfyUI Extension

ComfyUI_KimNodes

ComfyUI node collection: icon layout & processing, YOLO intelligent cropping, image filters & enhancement, text processing tools, metadata management, mask handling and image classification in one comprehensive toolbox.

By wjl0313·Created 2 years ago·Updated 11 months ago· 54
wjl0313/ComfyUI_KimNodes
Nodes39
On cloudLocal install
Category🍒 Kim-Nodes/🔢Metadata | 元数据处理, 🍒 Kim-Nodes/🎨Filter | 滤镜
Stars54
Updated11 months ago

Nodes (39)

🍒Add_ImageMetadata / 合并保存图像元数据

Bake a metadata dict into any PNG, so it survives Photoshop

🍒 Kim-Nodes/🔢Metadata | 元数据处理
🍒Bitch_Filter🎨母狗滤镜

Kodak Gold 200 warmth and grain in one node

🍒 Kim-Nodes/🎨Filter | 滤镜
🍒BoundingBox_Cropper✀边界框裁剪

Give it boxes, get every crop back

🍒 Kim-Nodes/✂ Crop | 裁剪工具
🍒Crop_Paste✀裁切粘贴

Crop_Paste puts the thing you cropped back where it came from

🍒 Kim-Nodes/✂ Crop | 裁剪工具
🍒Distribute_Icons / 分发图标

Distribute_Icons scatters your icons inside a mask, not over the whole canvas

🍒 Kim-Nodes/🧩Icon Processing | 图标处理
🍒Edge_Element_Cropper✀边缘元素裁剪

Edge_Element_Cropper finds the farthest pixels your mask touches and crops to them

🍒 Kim-Nodes/✂ Crop | 裁剪工具
🍒IconDistributeByGrid / 区域分发图标

Fill a mask region with icons, smartly, and get a JSON map back

🍒 Kim-Nodes/🧩Icon Processing | 图标处理
🍒Icon_Position_Cropper / 图标位置裁剪

Icon_Position_Cropper slices the icon sheet back into individual icons by row and column

🍒 Kim-Nodes/🧩Icon Processing | 图标处理
🍒Image_Classification / 图像分类

Image_Classification is really a string switch that picks a folder path

🍒 Kim-Nodes/🔍Text_Tools | 文本工具
🍒Image_List_Splitter📂图片列表分割器

Hand a batch of images to a node that wants a fixed number

🍒 Kim-Nodes/🏖️图像处理
🍒Image_PixelFilter✔️图像像素过滤

Image_PixelFilter drops the tiny frames from a batch before you waste a step on them

🍒 Kim-Nodes/✔️Selector |选择器
🍒Image_Resize📐图像尺寸缩放

Image_Resize scales the long side to a clean 8-multiple, with an anti-alias trick

🍒 Kim-Nodes/🏖️图像处理
🍒Image_Square_Pad⬜图片正方形填充

Pad to square, zero pixel loss

🍒 Kim-Nodes/🏖️图像处理
🍒JSON_Image_Compositor / JSON图像合成器

JSON_Image_Compositor turns the icon map back into a real image

🍒 Kim-Nodes/🧩Icon Processing | 图标处理
🍒Filter🎨滤镜

Sharpen, dehaze, CLAHE, saturation, gamma

🍒 Kim-Nodes/🎨Filter | 滤镜
🍒HDR🌈

KimHDR fakes a multi-exposure merge from one flat image — and can do it well

🍒 Kim-Nodes/🎨Filter | 滤镜
🍒LoadImage_Metadata / 加载workflow图片

Read the hidden metadata off any image file — path in, dict out

🍒 Kim-Nodes/🔢Metadata | 元数据处理
🍒LoRA_Metadata_Reader📋LoRA元数据读取器

Every LoRA you download has a training diary baked in — this node reads it

🍒 Kim-Nodes/🔢Metadata | 元数据处理
🍒Manual_MetadataInput / 填写元数据

Hand-write the A1111-style 'Parameters' text that makes a PNG look legit

🍒 Kim-Nodes/🔢Metadata | 元数据处理
🍒Mask_Add_Switch🔄蒙版合并开关

Merge two masks — and mind which way up yours are drawn

🍒 Kim-Nodes/🔲Mask_Tools | 蒙板工具
🍒Mask_Noise_Cleaner🧹蒙版噪点清理器

Kill the specks, keep the actual object in your mask

🍒 Kim-Nodes/🔲Mask_Tools | 蒙板工具
🍒Mask_White_Area_Ratio📊蒙版白色区域占比

Is your mask mostly empty? This node turns it into a yes/no

🍒 Kim-Nodes/🔲Mask_Tools | 蒙板工具
🍒MaxLength_ImageListSelector✔️最长图片列表选择

Keep the image list that came back longest

🍒 Kim-Nodes/✔️Selector |选择器
🍒Percentage_Cropper✀百分比裁剪

Crop by percent, not pixels — the right tool when image sizes vary

🍒 Kim-Nodes/✂ Crop | 裁剪工具
🍒Pixelate_Filter🎮像素化滤镜

Make it look like 1990s sprite art in one node

🍒 Kim-Nodes/🎨Filter | 滤镜
🍒Prompt_Loader📝提示词加载器

Batch-generate from a folder of .txt prompts, one at a time or all at once

🍒 Kim-Nodes/🔍Text_Tools | 文本工具
🍒Prompt_Text / 文本输出

A plain text field that actually renders in the workflow

🍒 Kim-Nodes/🔍Text_Tools | 文本工具
🍒Save_Image / 判断路径保存

ComfyUI's save node, but the files land where you actually point it

🍒 Kim-Nodes/🔍Text_Tools | 文本工具
🍒Seamless_Icon_Generator / 无缝图标生成

Two icon sets, a grid, and a seed

🍒 Kim-Nodes/🧩Icon Processing | 图标处理
🍒Seamless_Tiling_Generator / 无缝四方连续拼图

Not 'make my texture seamless' — this arranges a list of images into a repeating pattern

🍒 Kim-Nodes/🧩Icon Processing | 图标处理
🍒Split_Mask🔪蒙版元素分割

Slice every element out onto its own transparent canvas

🍒 Kim-Nodes/🔲Mask_Tools | 蒙板工具
🍒Text_Match / 文本匹配

A substring check that gives you a routing switch

🍒 Kim-Nodes/🔍Text_Tools | 文本工具
🍒Text_Processor / 文本数字提取

The tiny node that pulls a number out of a caption

🍒 Kim-Nodes/🔍Text_Tools | 文本工具
🍒Transparent_Area_Cropper✀透明区域裁剪

Trim the empty space around a mask element

🍒 Kim-Nodes/✂ Crop | 裁剪工具
🍒Transparent_ImageFilter✔️无色图像过滤

Filter a batch of cutouts down to the ones that aren't fully transparent

🍒 Kim-Nodes/✔️Selector |选择器
🍒Whitening_👧🏻牛奶肌

The 'milk skin' beauty filter that only touches skin

🍒 Kim-Nodes/🎨Filter | 滤镜
🍒YOLO_Crop✀YOLO裁切

Detect a subject, cut it out as a clean square — if you bring the model

🍒 Kim-Nodes/✂ Crop | 裁剪工具
🍒YOLO_Multi_Crop✀多人物裁切

YOLO finds every person and crops them out

🍒 Kim-Nodes/✂ Crop | 裁剪工具
🍒YOLOWorld_Match🔍特征匹配

Zero-shot image gating with YOLO-World

🍒 Kim-Nodes/🔍YOLOWorld_Match | 特征匹配
Readme

ComfyUI_KimNodes

A versatile toolbox offering image effects, icon layout processing, YOLO-based cropping, and more. This node library is tailored to meet diverse creative and functional needs.


Features

🍒YOLO_Crop✀/ 🍒Crop_Paste✀

Cut out the parts detected by YOLO and paste them back onto the original picture.

Example:

<img width="1479" height="704" alt="QQ20250922-142055" src="https://github.com/user-attachments/assets/f660191c-74d3-4a02-a030-a55cc0313817" />

🍒IconDistributeByGrid

Distribute icons in a grid layout, following a structured sequence.

Example:

<img width="3000" height="1878" alt="Seamless_Template" src="https://github.com/user-attachments/assets/d6e59c2b-044f-4886-ac2d-4447eeb110fd" />

🍒Distribute_Icons

Randomly distribute icons within a specified area.

Example:

Distribute_Icons


🍒Text_Match

Evaluate whether the content of an image matches a given set of keywords and return a Boolean result.

Examples:

QQ20241214-003531


🍒YOLOWorld_Match

yolo-world calculates whether the contents of the image match the specified type and returns a Boolean result. And move to the specified folder by image classification.

Examples:

YOLOWorld_Match🔍特征匹配


🍒Filter

Adjust images with tools like sharpening, defogging, contrast enhancement, natural saturation adjustment, and gamma correction.

Example:

Filter


🍒HDR

Example:

image


🍒Metadata

Image metadata compilation 1.It can be used to write workflow and image generation information into any image. 2.You can write the personal information or promotional information you need in the image to obtain more dissemination channels. 3.Edited images in Photoshop can also have metadata written into them to disguise them as original images.

Example:

QQ20241020-145830 QQ20241020-145818


🍒Whitening_👧🏻

Beauty Function - Milk skin Get rid of the oily AI texture and make your skin crystal clear and radiant.

Example:

Milk skin


🍒Bitch_Filter👧🏻

"Internet celebrity filter" Similar to Kodak Gold 200.

Example:

<img width="1413" height="718" alt="QQ20250922-142410" src="https://github.com/user-attachments/assets/a3e76d79-42cc-4cea-8db3-69acea34571a" />

🍒Pixelate_Filter🎮

Pixel art image filter.

Example:

<img width="2025" height="835" alt="Pixelate_Filter" src="https://github.com/user-attachments/assets/c59e266d-8a80-48bc-9c91-91eb764f2a63" />

🍒Image_Square_Pad

Extend the long side to form a square.

Example:

<img width="3583" height="1290" alt="Image_Square_Pad" src="https://github.com/user-attachments/assets/5fc02d0a-f6fc-407d-abba-13bf05d6c233" />

🍒Mask_Noise_Cleaner🧹

Repair the middle area of the mask.

Example:

<img width="2649" height="932" alt="Mask_Noise_Cleaner" src="https://github.com/user-attachments/assets/68cf652d-14ec-4873-ac23-000a722c8402" />

🍒Transparent_Area_Cropper✀

Trim the transparent area and maintain the square output.

Example:

<img width="2147" height="775" alt="Transparent_Area_Cropper" src="https://github.com/user-attachments/assets/fb1f7694-24a1-44f8-ae5b-8ab435626390" />

Installation

  1. Clone the repository:

    git clone https://github.com/yourusername/ComfyUI_KimNodes.git
    
  2. Install dependencies:

    自动安装(推荐)

    • 重启 ComfyUI,依赖将自动安装

    手动安装

    # 进入插件目录
    cd ComfyUI/custom_nodes/ComfyUI_KimNodes
    
    # 运行安装脚本
    python install_dependencies.py
    
    # 或者直接使用 pip
    pip install -r requirements.txt
    
  3. Restart ComfyUI to load the nodes.


Usage 1.Launch ComfyUI. 2.Access the node library from the user interface. 3.Select and configure the desired node(s) based on your project requirements.


Community & Support 知识星球: https://t.zsxq.com/8fA0M


QQ 群: 852450267 For real-time discussions, join our QQ group.