Per-channel LAB mean/std matching against a reference image, with an optional mask that restricts both measurement and application, a strength blend, and batch-1 reference broadcasting. Pixels outside the mask stay bit-identical.
ComfyUI-AusBoss is a curated collection of polished nodes designed to streamline the ComfyUI workflows I use most. Each node replaces repetitive setup with focused controls, compact graph footprints, and only the outputs needed downstream. Larger visual tasks open into dedicated full-screen editors, while experiments and one-off utilities stay out of the public pack.
Nodes
Image Crop + Rotate + Pad (AusBoss)
A Load Image-style node with a compact transformed preview and a full-screen editor for precise crop, rotation, padding, fill, mask feathering, and output-size alignment.
Video Crop + Rotate + Pad (AusBoss)
Targets an exact video frame from an uploaded input file or local path. The full-screen editor adds a long timeline, playback, exact frame steps, and the same transform controls as the image node.
Select Frame (AusBoss)
Returns one unchanged frame from an IMAGE batch using a clear one-based frame number. Out-of-range requests report the valid range instead of silently selecting the wrong image.
Select Frame Range (AusBoss)
Returns a contiguous sub-batch: one-based start_frame plus frame_count (0 means through the last frame), along with the actual frame count as an INT. Out-of-range requests report the available range instead of clamping.
Frame Chooser (AusBoss)
Pauses the graph and shows the incoming batch as a clickable filmstrip: pick the frames to keep, or Keep all / Cancel. A keep last selection mode replays your previous pick on re-runs without pausing. Outputs the kept sub-batch, its count, and the one-based indices.
LoRA Loader (AusBoss)
A stacked multi-LoRA node. Each row has an on/off pill, a searchable picker (type to filter, arrow keys + Enter to pick; browse view groups by folder and hovering shows the preview image), and strengths you can drag left/right to scrub (Shift for fine steps) or click to type. A header pill toggles the whole stack. The per-row info card shows the LoRA's preview image, base model, trigger words from its file metadata, a one-click Civitai lookup, or your own saved words — click words to toggle them into the deduplicated trigger_words output — plus an optional suggested strength range that tints out-of-range values. CLIP input is optional.
LaMa Inpaint (AusBoss)
Inpaints white mask regions with a TorchScript LaMa checkpoint, preserves pixels where the mask is zero, and processes large video batches one frame at a time to keep VRAM bounded. Place big-lama.pt in ComfyUI/models/lama/; the node never performs automatic downloads.
Crop For Inpaint / Stitch Inpaint (AusBoss)
Inpaint only where it matters: Crop For Inpaint grows the mask's bounding box by a context factor and emits the crop, the raw sampling mask, and a stitcher; Stitch Inpaint pastes the result back with a separately feathered blend so every pixel outside the blend region stays bit-identical to the original. The stitcher broadcasts across a video batch, so one crop serves a whole clip.
Load Video (AusBoss)
Loads a video as frames plus audio with frame_count, fps, width, height, and duration outputs. Its single responsive player includes a two-handle trim timeline: drag IN and OUT (shown as h:mm:ss.s timecodes you can type into), preview exactly that window, and optionally loop it. Only the selected window is decoded, with a memory guard that reports oversized trims instead of exhausting RAM; audio is extracted lazily only when consumed. Optional custom width/height with aspect-preserving single-side mode.
Refine Mask (AusBoss)
Grows or shrinks a mask, optionally fills enclosed holes, and feathers the edge — returning both the refined mask and its inverse from one compact node.
Save Video (AusBoss)
Encodes frames to an H.264 mp4 tagged bt709 (so platforms don't shift your colors), with optional muxed audio and the workflow embedded — drag a saved mp4 back onto the canvas to restore its workflow. The responsive in-node player previews the encoded result with loop and reload controls. Wire fps from Load Video to preserve source timing; audio and video land in a single file.
Video Bundle / Unbundle / Bundle Edit (AusBoss)
One wire for a whole video: frames, audio, fps, and derived frame count, size, and duration travel together as AUSBOSS_VIDEO. Bundle Edit overrides only what you connect and re-derives the rest, so the numbers can never drift.
Compare (AusBoss)
A/B any two images: slide mode sweeps B over A under your pointer with a seam line, hold mode shows B while pressed. Passes image A through, so it sits mid-graph without rewiring.
The two transform nodes return exactly:
image— transformed ComfyUIIMAGEmask— generated-areaMASK, including source transparency, rotation corners, and padding
The operation order is always rotate → crop → pad. New sources start with zero rotation, full crop, zero padding, and a canvas multiple of 1.
Install
cd ComfyUI/custom_nodes
git clone https://github.com/ausboss/ComfyUI-AusBoss.git
Restart ComfyUI, then search for AusBoss. There are no additional Python dependencies; the pack uses Pillow, NumPy, Torch, and PyAV already distributed with ComfyUI. LaMa Inpaint additionally needs a TorchScript big-lama.pt checkpoint in ComfyUI/models/lama/.
Model Links
lama
Model Storage Location
📂 ComfyUI/
└── 📂 models/
└── 📂 lama/
└── big-lama.pt
After updating frontend files, hard-refresh the browser with Ctrl+Shift+R.
Quick start
- Add either transform node.
- Pick or upload a source. For very large videos, switch the video node to
local pathmode. Queued workflows always read local paths, but the editor's live preview of paths outside ComfyUI's own folders is opt-in: start ComfyUI withAUSBOSS_TRANSFORM_LOCAL_PREVIEW=1to enable it. This keeps the preview routes from exposing arbitrary files to anything that can reach your ComfyUI server (for example on--listen). - Click Open editor.
- Drag cyan crop handles, orange padding handles, or the green rotation handle.
- Close the editor and connect
imageandmaskdownstream.
Use the matching examples in example_workflows as small starting graphs.
Editor controls
- Eight crop handles with generous hit targets
- Four visually distinct padding handles
- Rotation handle with alignment grid and
Shiftsnapping to 15 degrees - Free or ratio-locked crop
- Mouse-wheel zoom; middle-mouse or
Alt-drag pan - Reset view, reset padding, and reset all
- Video first/last, ±1, ±25, ±50, ±100, playback, and timeline scrubbing
Settings
Under Settings → 🆎 AusBoss you can pick an AusBoss node color scheme (Graphite, Slate, Teal, Moss, Plum, Rust, Navy). It recolors every AusBoss node in the open workflow immediately and applies to nodes you add later. Nodes you have colored by hand keep their own colors, and Theme default returns everything to the stock look. Right-click any AusBoss node for a per-node AusBoss color override, and press Alt+E (rebindable in Settings → Keybindings) to open the selected transform node's editor.
Custom crop aspect-ratio presets live in an optional ausboss_presets.json
next to the pack — copy ausboss_presets_example.json to start; your file is
gitignored and survives updates.
Under Chrome: the browser tab's icon and title can show rendering state and queue depth (on by default), and optional node runtime badges stamp each node with its seconds after a run (off by default).
Compatibility
- Classic V1 node definitions for broad ComfyUI compatibility
- Classic canvas and Nodes 2.0 frontend support
- API-mode execution does not require the editor to be open
- Transform editors validated on ComfyUI
0.27.1; the pack scaffold was also validated on0.28.0
No minimum ComfyUI version is declared. If a frontend update changes custom-widget behavior, please include your ComfyUI and frontend versions in the issue.
Development
python scripts/validate_nodes.py
python scripts/release_preflight.py
python -m unittest discover -s tests -p "test_*.py" -v
node --test tests/*.test.mjs
See AGENTS.md for compatibility rules and docs/adding_a_node.md for the node checklist.
License
MIT. See LICENSE.