Video Segmentation: SAM3

Segment one named object through a whole clip with SAM3: type the object, get its mask per frame.

Input

One noun for the thing to mask, e.g. unicorn.

The clip to segment; the mask follows it frame by frame.

Advanced settings

Return one mask per detected instance.

Edge cleanup passes. The graph ships 2.

Default: 2

0.5 by default: higher keeps only confident matches.

Default: 0.5

Output

Your output will appear here.

About this workflow

Video Segmentation runs SAM3 frame by frame on a clip and returns the mask of whatever the text prompt names — "unicorn" in the shipped graph. It is the video counterpart of a click-to-segment image node: no box drawing, no tracking pass to configure, the noun does the work. Threshold and refine iterations are the two knobs that matter; loose thresholds pull in background objects, tight ones drop the subject.

Graph: LoadVideo -> GetVideoComponents -> SAM3_Detect (checkpoint sam3.1_multiplex_fp16, conditioning from CLIPTextEncode "unicorn", threshold 0.5, refine_iterations 2, individual_masks off) -> MaskPreview. The mask is what the graph returns; the repo's render is a mask preview clip cut from this run.

Runs on open weights (the SAM3 checkpoint) inside the cloud worker — no partner API.