Extensions/Link Comfy Nodes
ComfyUI Extension

Link Comfy Nodes

A collection of custom ComfyUI nodes by Mister-Link, including color parsing, frame calculation, and utility nodes for enhanced workflow capabilities.

By Mister-Link·Created 9 months ago·Updated 17 days ago· 0
Mister-Link/link-comfy-nodes
Nodes39
On cloudLocal install
Categoryimage/batch, image/transform
Stars0
Updated17 days ago

Nodes (39)

Add Image to Batch

Slot one frame into an existing image batch

image/batch
Auto Cropper

Four ways to find the subject and crop to it

image/transform
Average Mask Region Size

Measure how big your tracked mask actually is

link/video
Batch Image Save

Auto-numbered frame exports without the filename wrangling

image
Change Latent Dimensions

Resize a latent without breaking its conditioning

latent
Concat Strings

Template-based text building with %1, %2 placeholders

utils
Convert to Pixel Art

Quantize and block your frames into retro pixel art

image/transform
Crop by BBox

Apply one exact crop box across a whole frame batch

image/transform
Crop to Content

Trim transparent padding off a batch automatically

image/transform
Dropdown Select

A custom dropdown widget, plus the index you actually need

utils
Find Furthest Color

Auto-pick a color that will never blend into your image

utils
Fast Image Preview

A lighter, quicker preview than the stock node

image/preview
Convert Color Format

Hex, 24-bit int, and RGB, all from one field

utils
Image Compare

A before/after slider without leaving your graph

image/preview
Rotate Image

Batch-rotate frames with a real background fill

image/transform
KSampler Advanced (Dual Output)

Both denoise states from one sampler pass

sampling
Load Folder

Pull a whole image sequence in as one batch

image/io
Load VACE Module

Merge a VACE module into your Wan model in one node

loaders
Match Color Palette

Grade one image's colors onto another with Reinhard Lab transfer

color
Native Wan Pose Strength

Dial WAN's built-in pose control up, down, or past normal

conditioning/video_models
Palettize

Snap a frame batch onto a fixed color swatch

color
Pixelate

Real color-quantized pixel art, not a blur-and-shrink trick

image/transform
Preview as Markdown

Read text output in your graph, formatted properly

utils
Preview Image (Alpha)

Actually see your transparency before you export it

Video/Masking
Preview (webm)

Check your frame batch as actual motion, not a filmstrip

image/preview
Replace Alpha

Swap or inject transparency into a batch of frames

Video/Masking
Resize Image and Mask by Side

Keep your mask perfectly in step while you resize

image/transform
Save Folder as ZIP

Archive an output folder without leaving ComfyUI

utils
Save to ZIP

Archive multiple frame/mask streams straight from your graph

Video/Masking
SCAIL Pose Frames

Build the looped, inpaint-ready driving video SCAIL wants

animation/utils
Shift Image Batch

Circularly rotate a frame sequence

animation/utils
Snap to Divisible

Round a number to a multiple your model actually needs

utils/math
Sprite Scale Calculator

Turn a real-world size into pixel dimensions

image/transform
Spritesheet Builder

Pack a frame batch into one sheet at a target aspect ratio

image/transform
Spritesheet Preview

Play back a spritesheet before you ship it

image/preview
String to List

Turn a comma-separated string into an actual list

utils
Temporal Mask Cropper

Crop a whole video clip to one stable window

link/video
WAN Frame Calculator

Round any frame count to WAN's n×4+1 pattern

animation/utils
WAN Frames to Add & Cut

Pad or trim a clip toward a target length, WAN-valid

conditioning/video_models
Readme

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.