Implements the mocked-up sidebar refinements: each section header now carries a small marker matching its on-canvas handle (cyan square for crop, green rotate knob, orange diamond for padding), teaching the editor's color language without explanatory text, and a Preview section at the bottom of the sidebar renders the actual output composite - fill background, rotated source clipped to the crop, padded canvas, no overlays - live while dragging any handle. Browser-verified: all three markers render, sections appear in order (Crop, Rotate, Padding & mask, View & reset, Preview), and the preview canvas resizes and repaints when rotation and padding change, with fill color in the padding corners and image content in the center.
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.
Both 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.
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
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 -m unittest discover -s tests -p "test_*.py" -v
node --test tests/transform_geometry.test.mjs
See AGENTS.md for compatibility rules and docs/adding_a_node.md for the node checklist.
License
MIT. See LICENSE.