ComfyUI Extension: ComfyUI 1hewNodes
This is a custom node collection for ComfyUI that provides some utility nodes.
Custom Nodes (0)
README
ComfyUI-1hewNodes
This is a custom node collection for ComfyUI that provides a series of practical image processing, mask operations, and utility nodes.
๐ฆ Installation
Clone the repository into ComfyUI's custom_nodes
directory:
git clone https://github.com/1hew/ComfyUI-1hewNodes
๐ Changelog
v1.2.13
- feat(text): Added
Text Load Local
node for loading JSON format prompt files from prompt directory with bilingual Chinese and English output
v1.2.12
- feat(text): Added
Text Format
node for flexible text formatting with wildcard input support
v1.2.9
- feat(image_crop): Refactored
Image Crop with BBox Mask
node
v1.2.8
- feat(image): Added
Image Resize Flux Kontext
node with support for automatic and manual size selection for images and masks - feat(image): Enhanced
Image Edit Stitch
node with improved stitching algorithms and parameter handling
v1.2.7
- feat(text): Added
List Custom Seed
node for creating unique random seed lists with control after generate functionality
v1.2.6
- feat(image_hlfreq): Added high-low frequency separation node group, including
Image HLFreq Separate
,Image HLFreq Combine
, andImage HLFreq Transform
nodes with support for RGB, HSV, and IGBI frequency separation methods
v1.2.5
- feat(mask): Added the
Mask Fill Hole
node, which fills holes in enclosed areas of masks with support for batch processing.
v1.2.3
- fix(image_blend): Fixed the issue of inconsistency between devices for the
Image Blend Modes by Alpha
node.
v1.2.2
- feat(image): Added the
Image BBox Overlay by Mask
node, which overlays the image bounding box based on a mask.
v1.2.1
- refactor(image/crop): Renamed node classes and updated related documentation
- feat(image_crop): Enhanced the functionality and output options of the
ImageCropByMaskAlpha
node
v1.2.0
- feat: Added
conversion
, and restructured image mixing and masking processing
- feat(ImageEditStitch): Add a โspacingโ parameter to control the distance between stitched images
โ </details>
<details> <summary><b>v1.1.5</b></summary>- feat: Added text processing and logic nodes, optimized existing node functions
- refactor(util): Refactored utility nodes, renamed nodes
RangeMapping
andPathBuild
- feat(logic): Added
ImageListAppend
node for image list merging - feat(text): Added
TextCustomList
andTextCustomExtract
text processing nodes - style: Cleaned up node parameter labels to maintain simplicity and consistency
โ </details>
<details> <summary><b>v1.1.2</b></summary>- feat(image_tile): Improved the
Image Tile Merge
algorithm, using weight masks and cosine gradients to achieve perfect seamless stitching
โ </details>
<details> <summary><b>v1.1.1</b></summary>- feat (image_crop): Added intelligent batch processing for
Image BBox Paste
โ </details>
<details> <summary><b>v1.1.0</b></summary>- build: Add new tile nodes
- feat: Update node functionality
- docs: Add bilingual documentation, improve node descriptions
โ </details>
<details> <summary><b>v1.0.5</b></summary>- Add Path Select
โ </details>
<details> <summary><b>v1.0.4</b></summary>- Fix Image Cropped Paste error, add batch processing feature.
โ </details>
๐ Node List
๐ผ๏ธ Image Processing Nodes
| Node Name | Description | |-----------|--------------| | Image Solid | Generate solid color images with multiple size and color format support | | Image Resize Universal | Universal image resizing with multiple algorithms and constraints | | Image Resize Flux Kontext | Resize images to FluxKontext dimensions with support for automatic and manual size selection for images and masks | | Image Edit Stitch | Image stitching and merging with multiple stitching modes | | Image Add Label | Add text labels to images | | Image Plot | Image plotting and visualization tools | | Image BBox Overlay by Mask | Mask-based image bounding box overlay with independent and merge modes |
๐จ Image Blending Nodes
| Node Name | Description | |-----------|-------------| | Image Luma Matte | Luminance-based image mask compositing | | Image Blend Modes by Alpha | Alpha-based image blending with multiple Photoshop-style blend modes | | Image Blend Modes by CSS | CSS standard blend modes based on Pilgram library |
โ๏ธ Image Cropping Nodes
| Node Name | Description | |-----------|-------------| | Image Crop Square | Square cropping with mask guidance and scaling support | | Image Crop Edge | Edge cropping with independent settings for four sides | | Image Crop with BBox Mask | Smart bounding box cropping with precise aspect ratio control and scale strength adjustment | | Image Crop by Mask Alpha | Batch mask-based cropping with RGB/RGBA dual output modes and smart channel processing | | Image Paste by BBox Mask | Paste cropped images back with multiple blend modes |
๐งฉ Image Tiling Nodes
| Node Name | Description | |-----------|-------------| | Image Tile Split | Image tile splitting with overlap and custom grid support | | Image Tile Merge | Image tile merging with intelligent stitching |
๐ High-Low Frequency Separation Nodes
| Node Name | Description | |-----------|-------------| | Image HLFreq Separate | Advanced frequency separation node supporting RGB, HSV, and IGBI separation methods with precise high-low frequency image separation and automatic recombination | | Image HLFreq Combine | Advanced frequency recombination node supporting RGB, HSV, and IGBI recombination modes with intensity adjustment and intelligent batch matching | | Image HLFreq Transform | Advanced detail transfer node supporting IGBI, RGB, and HSV transfer methods for precise texture detail migration from detail images to generated images |
๐ญ Mask Operation Nodes
| Node Name | Description | |-----------|-------------| | Mask Fill Hole | Fill holes in enclosed areas of masks with batch processing support | | Mask Math Ops | Mask mathematical operations (intersection, union, difference, XOR) | | Mask Batch Math Ops | Batch mask mathematical operations | | Mask Crop by BBox Mask | Mask bounding box cropping based on mask regions |
๐ง Utility Nodes
| Node Name | Description | |-----------|-------------| | Range Mapping | Value range mapping tool supporting linear transformation and precision control for slider values | | Path Build | Path builder supporting preset paths and custom extensions |
๐ Conversion Nodes
| Node Name | Description | |-----------|-------------| | Image Batch to List | Convert batch images to image lists for individual processing | | Image List to Batch | Convert image lists to batch images with automatic size normalization | | Mask Batch to List | Convert batch masks to mask lists for individual processing | | Mask List to Batch | Convert mask lists to batch masks with automatic size normalization | | String Coordinate to BBoxes | Convert string format coordinates to BBOXES format with multiple input format support | | String Coordinate to BBox Mask | Convert string format coordinates to BBoxMask format with image dimension support and flexible output modes |
๐ง Logic Nodes
| Node Name | Description | |-----------|-------------| | Image List Append | Image list appender for intelligently merging images into lists |
๐ Text Processing Nodes
| Node Name | Description | |-----------|-------------| | Text Load Local | Local text loader for loading JSON format prompt files from prompt directory with bilingual Chinese and English output and key order preservation | | Text Format | Text formatter with wildcard input support for flexible data formatting with custom prefix, suffix, and separator | | Text Custom Extract | Text custom extractor for extracting specified key values from JSON | | List Custom Int | Custom integer list generator with dash separator and multiple delimiter support | | List Custom Float | Custom float list generator with dash separator and multiple delimiter support | | List Custom String | Custom string list generator with dash separator and multiple delimiter support | | List Custom Seed | Custom seed list generator for creating unique random seed lists with control after generate functionality |
๐ Acknowledgments
comfyUI_FrequencySeparation_RGB-HSV
๐ Star
My gratitude extends to the generous souls who bestow a star.
<img src="imgs/Stargazers.png" alt="Stargazers" style="zoom:80%;" />