Chroma key custom node for ComfyUI greenscreen / VFX workflows.
Greenscreen Key Mask — green/blue screen matte with adjustable threshold and softness.
Interactive Key Preview dialog: seek a reference frame, tune tolerance and edge softness with live Source / Matte / Composite views, then Apply before queueing the workflow.
cd ComfyUI\custom_nodes
git clone https://github.com/alpaolo/ComfyUI-GreenscreenKey.git
pip install -r ComfyUI-GreenscreenKey\requirements.txtRestart ComfyUI.
- Wire video frames into Greenscreen Key Mask (e.g. VHS Load Video → node).
- Click Key Preview… on the node.
- Seek a frame, adjust
ToleranceandEdge Softness, switch Source / Matte / Composite. - Click Apply, then queue the workflow as usual.
- White mask = screen area (replace with background in composite).
- Optional
invert= subject mask.
Pair with core nodes: Grow Mask, Feather Mask, Image Composite Masked.
MIT