How beeefx/comfyui-bat-nodepack works
BAT is a ComfyUI custom-node pack for loading, transforming, masking, compositing, and exporting image and video workflows. Users assemble nodes in ComfyUI; media flows through the chosen graph to an exported result or a downstream workflow. The map preserves the README’s major capability branches and shows SeC’s inference layer. README workflows support the representative media-flow edges; source excerpts are partial, so unverified internal wiring and frontend-to-backend relationships are omitted.
Main entry points: bat_loader.py Loader · bat_video_loader.py Video Loader · bat_animated_grade.py Animated Grade · __init__.py BAT node pack
Components 24
Workflow entry
- ComfyUI graph
- BAT node pack
__init__.py - Node previews
bat_preview.py
Media I/O
- Loader
bat_loader.py - Video Loader
bat_video_loader.py - EXR Layer
bat_exr_layers.py - Frame Picker
bat_frame_picker.py - Video Combine
bat_video_combine.py
Animation and masks
- Animated Crop
bat_animated_crop.py - Animated Grade
bat_animated_grade.py - Roto mask
bat_roto.py - Uncrop
bat_uncrop.py - Mask morph
bat_mask_morph.py
Compositing
- Grade
bat_grade.py - Advanced Blend
bat_advanced_blend.py - Layered Images
bat_layered_images.py - HDR tools
bat_exposure_bracket.py
Specialized tools
- SeC Segmenter
bat_sec_segmenter.py - SeC runtime
bat_sec_runtime.py - SeC inference stack
bat_sec/inference - VACE batch tool
bat_vace_batch.py - WAN helpers
bat_wan_context_calculator.py - BAT Profiler
bat_profiler.py
Other components
- Workflow author
Connections 25
- Workflow author → ComfyUI graph: builds graph
- ComfyUI graph → BAT node pack: loads nodes
- BAT node pack → Loader: registers nodes
- ComfyUI graph → Loader: executes graph
- ComfyUI graph → Video Loader: executes graph
- Loader → EXR Layer: passes EXR
- Loader → Frame Picker: passes frames
- Video Loader → Video Combine: passes video
- Loader → Animated Crop: passes images
- Animated Crop → Animated Grade: passes cropped frames
- Animated Grade → Uncrop: passes processed crop
- Uncrop → Video Combine: passes frames
- Video Loader → Roto mask: passes video
- Roto mask → Animated Grade: passes mask
- Loader → Grade: passes images
- Grade → Advanced Blend: passes images
- Loader → Layered Images: passes layers
- HDR tools → Advanced Blend: passes HDR
- Video Loader → SeC Segmenter: passes video
- SeC Segmenter → SeC runtime: requests tracking
- SeC runtime → SeC inference stack: runs inference
- ComfyUI graph → VACE batch tool: executes graph
- ComfyUI graph → WAN helpers: executes graph
- ComfyUI graph → BAT Profiler: records runs
- Loader → Node previews: generates preview