This ComfyUI workflow performs automatic video object masking from a simple text phrase using the SAM3 Video Masking node (ID: 9cea40bb-b0cf-4b40-a758-8935cfe8d52f). You load a clip with VHS_LoadVideo, describe what you want to isolate (for example, "red car" or "person") in the node’s mask_prompt, and the system finds every matching instance, tracks them across frames with stable IDs, and produces three streams: a mask overlay preview, a raw per-frame binary mask, and a subject cut-out. SaveVideo nodes handle exporting the results.
Technically, VHS_LoadVideo provides a consistent frame sequence (fps, resolution) for inference. During iteration you can cap frames using frame_load_cap to preview quickly, then switch to a full pass by setting it to 0. The SAM3 Video Masking node interprets your text prompt, segments the target across frames, and maintains identity continuity so objects don’t flicker or swap. The outputs are suitable for downstream compositing, selective blurring, color grading, or background replacement. A MarkdownNote node in the graph provides inline tips and reminders while you work.
FAQ
Frequently Asked Questions
Seedance 2.0: Reference to Video


Nano Banana 2 Lite: Text to Image

Seedream 5.0 Pro: Image Edit

Krea-2: Text to Image
4K Seedance 2.0 - Reference to Video


Z-Image-Turbo Text to Image
Grok: Image Edit
Nano Banana 2 Lite: Image Edit
Grok: Video generation

Seedance2.0 4K: Reference to Video

Grok Imagine Image Quality: Generation
LTX 2.3 - Lipdub LoRA + Voice Clone
Seedance 2.0 Mini: Reference to Video
SCAIL-2: Character Replacement

Ideogram v4: Text to Image
Googly Eyes

Seedance 2.0 - Viral Videos Character Swap
Gemini Omni Flash: Image to Video

Nano Banana 2: Image Edit


cinematic_annotate_video
HappyHorse 1.1: Text to Video
HappyHorse 1.1: Image to Video
Beeble SwitchX: Video Edit

3x3 Contact Sheet
Restore Archival Footage - LTX 2.3 Dearchive LoRA













