BeeeFX/ComfyUI-BAT-NodePack

Python

2

71 commits

updated Sep 23, 2026

See the code

README

BAT — Video, animation and compositing tools for ComfyUI

🦇 ComfyUI-BAT-NodePack

43 nodes Last commit GitHub stars MIT license Download ZIP

BAT is my ComfyUI node pack for video, animation, masking, and compositing. Many nodes have previews and editors directly on the graph.

On-node editors · BAT Profiler

Highlights · All nodes · Install · Example workflows · Help

Highlights

Load and export

Loader reads stills, sequences, folders, movies, and layered EXRs. Video Loader offers visual trimming. Video Combine exports video, GIF, WebP, or image sequences.

For EXRs, EXR Layer selects passes and Cryptomatte Matte builds masks from clicked points. Audio and alpha are available where the source supports them.

BAT Video Loader and Video Combine showing trim controls and an inline video preview

Video Loader → Video Combine.

Keyframed adjustments and masks

Animated Crop, Animated Grade, and Roto put keyframes on the node. Uncrop places a processed crop back into its source frame.

Full workflow connecting Loader, Animated Crop, Animated Grade, Uncrop, and Video Combine

Animated Crop → Animated Grade → Uncrop.

Full workflow connecting Loader, Roto, Animated Grade, and Video Combine

Roto mask → Animated Grade.

Compositing nodes

Grade, Advanced Blend, Layered Images, and Rescale cover common compositing tasks. The HDR nodes handle exposure-bracket reconstruction and tonal blending.

SeC object segmentation

SeC Segmenter tracks an object mask through a clip from points or a box. It needs extra setup.

Profiler

BAT Profiler shows per-node time, RAM, and VRAM in the sidebar. It records run history and can copy a report.

VACE Batch Tool for WAN VACE 2.1

VACE Batch Tool places image and mask keyframes into a WAN VACE 2.1 batch, with fill and premultiplication controls.

All nodes

Names match the Add Node menu; the 🦇 prefix is omitted here.

Loading · Video · Animation · Compositing · SeC · WAN / VACE · Helpers · Graph utilities

Loading media

NodeUse it to…
LoaderLoad stills, sequences, folders, movies, and layered EXRs.
EXR LayerExtract a named EXR pass.
Cryptomatte MatteMake an EXR object mask from clicked points.

Video and frames

NodeUse it to…
Video LoaderPreview and trim video, with audio and alpha.
Video CombineExport video, GIF, WebP, or image sequences.
BAT Frame PickerChoose a frame from a contact sheet.
FrameholdHold one frame across a batch.
Video Grid SplitSplit video into overlapping grid regions.
Batch FormatMatch frame counts for supported video models.

Crop, animation, and masks

NodeUse it to…
CropDraw a crop for later Uncrop.
Animated CropKeyframe a moving crop.
UncropReturn a processed crop to its source.
Animated GradeKeyframe colour adjustments.
RotoDraw animated Bézier masks.
Grow MaskExpand mask edges.
Erode MaskShrink mask edges.

Colour and compositing

NodeUse it to…
GradeAdjust blackpoint, lift, gain, and gamma.
Advanced BlendBlend images; mix tone and detail separately.
Layered ImagesComposite up to eight masked layers.
RescaleResize while comparing at a fixed viewing size.
Exposure BracketPrepare exposures for LTX HDR reconstruction.
Exposure MergeMerge reconstructed passes into linear HDR.
HDR Tonal CompositeBlend reconstructed shadows and highlights into a shot.

The HDR nodes work with a separate LTX reconstruction workflow. Export their linear output in a suitable format such as EXR.

SeC masking

NodeUse it to…
SeC SegmenterTrack an object mask through video.
SeC Advanced ParamsSet model, device, and tracking options.

WAN and VACE

NodeUse it to…
VACE Batch ToolArrange WAN VACE 2.1 image and mask keyframes.
WAN Context CalculatorSet context, stride, and overlap.
WAN Batch FormatPrepare and pad a WAN video batch.
Batch CropRemove padding after generation.
Wan Reference AlignerAlign references with WAN context windows.

Workflow helpers

NodeUse it to…
Points EditorPlace labelled points on an image.
Filename PrefixBuild output names from workflow context.
Bypass SwitchToggle bypass for node groups and backdrops.

Graph utilities

NodeUse it to…
Show AnyDisplay a value and pass it through.
Show Tensor ShapeShow a tensor's shape, range, and memory use.
Convert AnyConvert to text, number, or boolean.
Any to StringRender a value as text or JSON.
Number to StringFormat numbers with padding and precision.
CompareCompare values for a boolean output.
Index SwitchSelect one of ten inputs; others don't run.
List LengthCount items or frames.
List IndexSelect an item or frame.
List BatchJoin lists or image batches.

Also included, without adding a node:

  • BAT Profiler: per-node timing and memory in the sidebar.
  • Canvas zoom: a wider zoom range under Settings → 🦇 BAT → Canvas.
  • Run selected outputs: Alt+Enter queues selected output branches.
  • Larger editors: maximise an editor; Esc exits.

Install

Clone into your active ComfyUI installation's custom_nodes folder, then restart:

cd ComfyUI/custom_nodes
git clone https://github.com/BeeeFX/ComfyUI-BAT-NodePack.git

For Desktop, use its active custom_nodes folder. Downloading the repository ZIP also works; keep __init__.py at the folder root. Search the Add Node menu for BAT or 🦇.

Optional features

Install these with the Python environment that runs ComfyUI:

  • EXR: python -m pip install OpenImageIO. Other Loader formats work without it.
  • SeC: python -m pip install -r requirements.txt. Restart after installation. The default model is about 7.35 GB and downloads on first use. See model setup.

To prevent the SeC model download, connect SeC Advanced Params and turn off auto_download before running.

Example workflows

GoalNodes
Trim and exportVideo Loader → Video Combine; connect frame rate and audio.
Moving cropAnimated Crop → processing → Uncrop; also connect crop_info.
EXR passLoader → EXR Layer → processing.
Object maskLoader → Points Editor + Cryptomatte Matte.
Tracked maskVideo Loader → SeC Segmenter.

Help

Nodes missing after install

Check the active custom_nodes folder, restart ComfyUI, and look for a BAT import error in the startup log.

Older BAT or Volt workflows

Batch Format replaces Video Batch Format and WAN Batch Frame Format. Batch Crop was WAN Batch Crop; BAT Frame Picker replaces VRI Frame Picker. Legacy Volt_* nodes need the separate ETC migration tool or manual replacement.

For bugs or suggestions, open an issue. Include the node name and a small workflow or screenshot.

More detail: technical notes.


Made by BeeeFX.

BAT code is MIT licensed. The bundled SeC stack has separate third-party attribution and licensing; model weights are downloaded separately.

BeeeFX/ComfyUI-BAT-NodePack

Python

2

71 commits

updated Sep 23, 2026

See the code

README

BAT — Video, animation and compositing tools for ComfyUI

🦇 ComfyUI-BAT-NodePack

43 nodes Last commit GitHub stars MIT license Download ZIP

BAT is my ComfyUI node pack for video, animation, masking, and compositing. Many nodes have previews and editors directly on the graph.

On-node editors · BAT Profiler

Highlights · All nodes · Install · Example workflows · Help

Highlights

Load and export

Loader reads stills, sequences, folders, movies, and layered EXRs. Video Loader offers visual trimming. Video Combine exports video, GIF, WebP, or image sequences.

For EXRs, EXR Layer selects passes and Cryptomatte Matte builds masks from clicked points. Audio and alpha are available where the source supports them.

BAT Video Loader and Video Combine showing trim controls and an inline video preview

Video Loader → Video Combine.

Keyframed adjustments and masks

Animated Crop, Animated Grade, and Roto put keyframes on the node. Uncrop places a processed crop back into its source frame.

Full workflow connecting Loader, Animated Crop, Animated Grade, Uncrop, and Video Combine

Animated Crop → Animated Grade → Uncrop.

Full workflow connecting Loader, Roto, Animated Grade, and Video Combine

Roto mask → Animated Grade.

Compositing nodes

Grade, Advanced Blend, Layered Images, and Rescale cover common compositing tasks. The HDR nodes handle exposure-bracket reconstruction and tonal blending.

SeC object segmentation

SeC Segmenter tracks an object mask through a clip from points or a box. It needs extra setup.

Profiler

BAT Profiler shows per-node time, RAM, and VRAM in the sidebar. It records run history and can copy a report.

VACE Batch Tool for WAN VACE 2.1

VACE Batch Tool places image and mask keyframes into a WAN VACE 2.1 batch, with fill and premultiplication controls.

All nodes

Names match the Add Node menu; the 🦇 prefix is omitted here.

Loading · Video · Animation · Compositing · SeC · WAN / VACE · Helpers · Graph utilities

Loading media

NodeUse it to…
LoaderLoad stills, sequences, folders, movies, and layered EXRs.
EXR LayerExtract a named EXR pass.
Cryptomatte MatteMake an EXR object mask from clicked points.

Video and frames

NodeUse it to…
Video LoaderPreview and trim video, with audio and alpha.
Video CombineExport video, GIF, WebP, or image sequences.
BAT Frame PickerChoose a frame from a contact sheet.
FrameholdHold one frame across a batch.
Video Grid SplitSplit video into overlapping grid regions.
Batch FormatMatch frame counts for supported video models.

Crop, animation, and masks

NodeUse it to…
CropDraw a crop for later Uncrop.
Animated CropKeyframe a moving crop.
UncropReturn a processed crop to its source.
Animated GradeKeyframe colour adjustments.
RotoDraw animated Bézier masks.
Grow MaskExpand mask edges.
Erode MaskShrink mask edges.

Colour and compositing

NodeUse it to…
GradeAdjust blackpoint, lift, gain, and gamma.
Advanced BlendBlend images; mix tone and detail separately.
Layered ImagesComposite up to eight masked layers.
RescaleResize while comparing at a fixed viewing size.
Exposure BracketPrepare exposures for LTX HDR reconstruction.
Exposure MergeMerge reconstructed passes into linear HDR.
HDR Tonal CompositeBlend reconstructed shadows and highlights into a shot.

The HDR nodes work with a separate LTX reconstruction workflow. Export their linear output in a suitable format such as EXR.

SeC masking

NodeUse it to…
SeC SegmenterTrack an object mask through video.
SeC Advanced ParamsSet model, device, and tracking options.

WAN and VACE

NodeUse it to…
VACE Batch ToolArrange WAN VACE 2.1 image and mask keyframes.
WAN Context CalculatorSet context, stride, and overlap.
WAN Batch FormatPrepare and pad a WAN video batch.
Batch CropRemove padding after generation.
Wan Reference AlignerAlign references with WAN context windows.

Workflow helpers

NodeUse it to…
Points EditorPlace labelled points on an image.
Filename PrefixBuild output names from workflow context.
Bypass SwitchToggle bypass for node groups and backdrops.

Graph utilities

NodeUse it to…
Show AnyDisplay a value and pass it through.
Show Tensor ShapeShow a tensor's shape, range, and memory use.
Convert AnyConvert to text, number, or boolean.
Any to StringRender a value as text or JSON.
Number to StringFormat numbers with padding and precision.
CompareCompare values for a boolean output.
Index SwitchSelect one of ten inputs; others don't run.
List LengthCount items or frames.
List IndexSelect an item or frame.
List BatchJoin lists or image batches.

Also included, without adding a node:

  • BAT Profiler: per-node timing and memory in the sidebar.
  • Canvas zoom: a wider zoom range under Settings → 🦇 BAT → Canvas.
  • Run selected outputs: Alt+Enter queues selected output branches.
  • Larger editors: maximise an editor; Esc exits.

Install

Clone into your active ComfyUI installation's custom_nodes folder, then restart:

cd ComfyUI/custom_nodes
git clone https://github.com/BeeeFX/ComfyUI-BAT-NodePack.git

For Desktop, use its active custom_nodes folder. Downloading the repository ZIP also works; keep __init__.py at the folder root. Search the Add Node menu for BAT or 🦇.

Optional features

Install these with the Python environment that runs ComfyUI:

  • EXR: python -m pip install OpenImageIO. Other Loader formats work without it.
  • SeC: python -m pip install -r requirements.txt. Restart after installation. The default model is about 7.35 GB and downloads on first use. See model setup.

To prevent the SeC model download, connect SeC Advanced Params and turn off auto_download before running.

Example workflows

GoalNodes
Trim and exportVideo Loader → Video Combine; connect frame rate and audio.
Moving cropAnimated Crop → processing → Uncrop; also connect crop_info.
EXR passLoader → EXR Layer → processing.
Object maskLoader → Points Editor + Cryptomatte Matte.
Tracked maskVideo Loader → SeC Segmenter.

Help

Nodes missing after install

Check the active custom_nodes folder, restart ComfyUI, and look for a BAT import error in the startup log.

Older BAT or Volt workflows

Batch Format replaces Video Batch Format and WAN Batch Frame Format. Batch Crop was WAN Batch Crop; BAT Frame Picker replaces VRI Frame Picker. Legacy Volt_* nodes need the separate ETC migration tool or manual replacement.

For bugs or suggestions, open an issue. Include the node name and a small workflow or screenshot.

More detail: technical notes.


Made by BeeeFX.

BAT code is MIT licensed. The bundled SeC stack has separate third-party attribution and licensing; model weights are downloaded separately.