Link Comfy Nodes
A collection of custom ComfyUI nodes by Mister-Link, including color parsing, frame calculation, and utility nodes for enhanced workflow capabilities.
Nodes (39)
Slot one frame into an existing image batch
Four ways to find the subject and crop to it
Measure how big your tracked mask actually is
Auto-numbered frame exports without the filename wrangling
Resize a latent without breaking its conditioning
Template-based text building with %1, %2 placeholders
Quantize and block your frames into retro pixel art
Apply one exact crop box across a whole frame batch
Trim transparent padding off a batch automatically
A custom dropdown widget, plus the index you actually need
Auto-pick a color that will never blend into your image
A lighter, quicker preview than the stock node
Hex, 24-bit int, and RGB, all from one field
A before/after slider without leaving your graph
Batch-rotate frames with a real background fill
Both denoise states from one sampler pass
Pull a whole image sequence in as one batch
Merge a VACE module into your Wan model in one node
Grade one image's colors onto another with Reinhard Lab transfer
Dial WAN's built-in pose control up, down, or past normal
Snap a frame batch onto a fixed color swatch
Real color-quantized pixel art, not a blur-and-shrink trick
Read text output in your graph, formatted properly
Actually see your transparency before you export it
Check your frame batch as actual motion, not a filmstrip
Swap or inject transparency into a batch of frames
Keep your mask perfectly in step while you resize
Archive an output folder without leaving ComfyUI
Archive multiple frame/mask streams straight from your graph
Build the looped, inpaint-ready driving video SCAIL wants
Circularly rotate a frame sequence
Round a number to a multiple your model actually needs
Turn a real-world size into pixel dimensions
Pack a frame batch into one sheet at a target aspect ratio
Play back a spritesheet before you ship it
Turn a comma-separated string into an actual list
Crop a whole video clip to one stable window
Round any frame count to WAN's n×4+1 pattern
Pad or trim a clip toward a target length, WAN-valid
link-comfy-nodes
A collection of custom nodes for ComfyUI covering video editing, image processing, color grading, and workflow utilities.
Nodes
Video & Animation
- Average Mask Region Size — average the white mask bounding-box size across frames
- Video Mask Editor — interactive mask painting over video frames with preview caching
- VACE Sampler — masked WAN/VACE frame repair with internal VACE conditioning
- Stabilizer Trim — trim stabilized video edges
- Replace Alpha — replace or inject alpha channels
- Trim Conditioning — trim VACE conditioning to match frame counts
WAN Video Model
- WAN Frame Calculator — compute frame counts for WAN's n×4+1 pattern
- WAN Frames to Add & Cut — calculate padding needed for target durations
- Native WAN Pose Strength — adjust pose control strength
Image Processing
- Rotate Image — batch rotation with configurable background fill
- Pose Image Setup — expand/offset images around a region
- Crop to Content — auto-crop to non-transparent content
- Auto Cropper — content-aware cropping with multiple detection methods (bbox, contour, alpha, anime segmentation)
- Resize Image and Mask by Side — resize by longest/shortest side
- Add Image to Batch — insert an image at a specific batch index
- Pixelate — pixelate via color quantization, with optional dithering, hex palette remapping, and alpha-aware masking for transparent PNGs
- Sprite Scale Calculator — convert intended real-world sprite size into pixel dimensions
- Remove Background — bulk background removal via bgeraser.com
- Spritesheet Builder — combine frames into a spritesheet with target aspect ratio
- Convert to Pixel Art — pixelation effect with color quantization
Color
- Convert Color Format — parse hex/24-bit colors
- Find Furthest Color — find a color maximally distant from image pixels
- Match Color Palette — Reinhard Lab color grading between images
Preview & Output
- Fast Image Preview — thumbnail + full-res WebP previews
- Preview Image (Alpha) — preview RGBA images with transparency
- Spritesheet Preview — animated spritesheet preview
- Preview (webm) — encode and preview video as WebM
- Image Compare — interactive before/after slider comparing two images
Save
- Batch Image Save — sequential image saving with auto-numbering
- Save to ZIP — save image/mask sequences into a ZIP archive
- Save Folder as ZIP — zip an existing output folder
Text
- Concat — template-based string concatenation (
%1,%2, etc.) - Preview as Markdown — render a string as markdown on the node
- String to List — split a delimited string into a typed list
- Dropdown Select — editable dropdown; set the option list and output the selected value as a string, plus its index
Installation
Clone into your ComfyUI custom_nodes directory:
cd ComfyUI/custom_nodes
git clone https://github.com/linkoid/link-comfy-nodes.git
pip install -r link-comfy-nodes/requirements.txt
Restart ComfyUI. Nodes will appear under their respective categories.