Ready to use upon download. No need to install dependencies for the time being. If there are new functions or suggestions, please provide feedback. Attention! The delfile node is not recommended for use on servers. I am not responsible for any losses incurred.
ComfyUI-WJNodes explain
Node list:
load image from path
: Load image from pathsave image to path
: Save image by overwriting the pathsave image out
: Save image to output and output the pathselect images batch
: Batch selection and recombination of batches,updated mask support in 20250115select images batch
: 20250115 Batch Selection and Recombination of More Functionsload image adv
: Load image with mask inversion and path outputload_color_config
: Load color configuration for color block to mask, currently supports loading ADE20K pre-processing color datacolor_segmentation
: Color block to mask, currently supports pre-processing ADE20K and SAM2 datacolor_segmentation_v2
: Color block to mask v2, uses keys in color configuration to select masks, only supports ADE20K datamask_select_mask
: Mask selection within a mask batch (intersection represents selection)coords_select_mask
: Coordinate selection of masks, used to assist SAM2 video keying (under development)mask_line_mapping
: Mask line mapping, can automatically calculate maximum and minimum values when input is -1 or 256,
can map to specified valuesmask_and_mask_math
: Mask to mask operations, supports addition/subtraction/intersection/multiplication operations, Accurate_mask_clipping
: Precise search for mask bbox boundaries (under development)adv crop
: Advanced cropping: can quickly crop/expand/move/flip images, can output background masks and custom filling mask detection
: Mask detection: detect whether there is a mask, detect whether it is all hard edges, InvertChannelAdv
: Invert/separate image channels Image ⭐Bilateral Filter
: Image/Mask Bilateral Filtering: Can repair layered distortion caused by color or brightness scaling in images
-Video Editor: WJNode/VideoVideo_fade
: Two video segments can choose two ways to fade in and out, any_data
: Group any data, known bug: nested grouping will splitshow_type
: Display data type array_count
: 20250109 Change the original array_element_comunt node to array_count get image data
: 20250109 Obtain basic data from images/masks (batch/width/height/maximum value)WAS_Mask_Fill_Region_batch
: Optimize WAS plugin's WAS_Mask_Fill_Region (mask cleanup) to support batchesSegmDetectorCombined_batch
: Optimize impack-pack plugin's SegmDetectorCombined (segm detection mask) to support batchesbbox_restore_mask
: Add impack-pack plugin's seg decomposition, restore cropped images through cropping data (SEG editing)Sam2AutoSegmentation_data
: Add Sam2AutoSegmentation (kijia) node's color list/coordinate output, used to assist SAM2 video keyingApplyEasyOCR batch
: Modify OCR recognition nodes to load models separately for faster operation and model cachingload EasyOCR model
: load OCR models.comfyui path
: Output comfyui common paths (root, output/input, plugins, models, cache, Python environment)path append
: Add prefix/suffix to strings (reference KJNode)del file
: Detect whether file or path exists, whether to delete file, operation requires input signal, deletion requires write permissionsplit path
: Path slicing, input path, output: disk symbol/path/file/extension + detect whether it is a fileComfyUI-WJNodes介绍
节点列表
load image from path
: 从路径加载图片save image to path
: 通过路径覆盖保存图片save image out
: 保存图片到output并输出该路径select images batch
: 批次选择和重新组合批次,20250115更新遮罩支持select images batch v2
: 20250115更多功能的批次选择和重新组合批次load image adv
: 带遮罩反转和路径输出的加载图片load_color_config
: 加载颜色配置,用于色块转遮罩,目前支持加载 ADE20K 预处理颜色数据color_segmentation
: 色块转遮罩,目前支持预处理 ADE20K 和 SAM2 数据color_segmentation_v2
: 色块转遮罩v2,使用颜色配置内的key来选取遮罩,仅支持ADE20K数据mask_select_mask
: 遮罩选择遮罩批次内的遮罩(有交集即代表选择)coords_select_mask
: 坐标选择遮罩,用于辅助SAM2视频抠图(待开发)mask_line_mapping
: 遮罩线映射,当输入为-1或256时可自动计算最值,可映射到指定值mask_and_mask_math
: 遮罩与遮罩的运算,支持加/减/(交集)/乘运算,Accurate_mask_clipping
: 精确查找遮罩bbox边界 (待开发)adv crop
: 高级裁剪:可快速裁剪/扩展/移动/翻转图片,可输出背景遮罩和自定义填充mask detection
: 遮罩检测:检测是否有遮罩,检测是否是全硬边,检测遮罩是否是纯白/纯黑/纯灰并输出值0-255InvertChannelAdv
: 翻转/分离图像通道⭐Bilateral Filter
: 图像/遮罩双边滤波-可修复图像因颜色或亮度缩放造成的分层失真Video_fade
: 两段视频可选两种方式渐入渐出,any_data
: 将任意数据打组,已知bug:嵌套打组会裂开show_type
: 显示数据类型array_count
: 20250109原array_element_count(显示数组元素数量)节点改为array_count
获取数据形状(数组格式),统计指定深度的元素数量,统计所有元素的数量,统计图像类数据
若此节点的更改导致您的工作流无法运行,请通知我get image data
: 20250109从图像/遮罩获取基本数据(批次/宽高/最值)WAS_Mask_Fill_Region_batch
: 优化WAS插件的的WAS_Mask_Fill_Region(遮罩清理)支持批次SegmDetectorCombined_batch
: 优化impack-pack插件的的SegmDetectorCombined(segm检测遮罩)支持批次bbox_restore_mask
: 增加impack-pack插件的seg分解后,通过裁剪数据恢复裁剪后的图像(SEG编辑)Sam2AutoSegmentation_data
: 增加Sam2AutoSegmentation(kijia)节点的颜色列表/坐标输出,用于辅助SAM2视频抠图ApplyEasyOCR batch
: 修改OCR识别节点,单独加载模型以更快运行和模型缓存load EasyOCR model
: 单独加载OCR模型comfyui path
: 输出comfyui常用路径(根,输出/输入,插件,模型,缓存,python环境)path append
: 给字符串增加前缀后缀(参考KJNode)del file
: 检测文件或路径是否存在,是否删除文件,运行需输入信号,删除需有写入权限split path
: 路径切片,输入路径,输出:盘符/路径/文件/扩展名+检测是否是文件