Open-source ComfyUI node does AI roto: one click yields native 4K hair mattes with SAM3 + LTX-2.5

Last_T_Rex · reddit · 2026-10-29

A VFX compositor released an open-source ComfyUI node, "Comfy Pro Alpha Generator" (SAM3 + LTX-2.5 alpha-gen), that automates the worst part of roto: hair mattes on busy plates.

Workflow: click the person (alt-click splits parts, shift-click adds props); other people are inpainted out of a copy of the plate so LTX-2.5 only mattes the target; on 4K plates LTX re-runs on native 1920x1088 tiles along the edge so strands aren't upscaled; overlap mode handles hair/hands crossing other people via Depth Anything depth ordering.

On a 247-frame shot, edge detail match hit 88.7% vs. 45.0% for SAM3+ViTMatte and 29.4% for a plain SAM3 mask. Runs on 12 GB VRAM and 16 GB RAM, EXR in/out, GPL-3.0, available in the ComfyUI Manager.

Related event: Open-source ComfyUI node delivers 4K hair roto with SAM3 and LTX-2(2 posts)→

Original post →

More from coding & agent

coding & agent channel →