Skip to content

Meta Segment Anything Model 2 (SAM 2)

Meta's open model for promptable object segmentation and tracking in images and video

Listed on AiTop3 Last updated ai.meta.com

What is Meta Segment Anything Model 2 (SAM 2)?

Segment Anything Model 2 (SAM 2) is a segmentation model from Meta that selects and tracks objects in both images and videos. Users prompt it with a click, a box or a mask on any image or video frame, and can add prompts to refine predictions. For video, SAM 2 adds a per-session memory module that keeps track of the selected object across frames, even if it temporarily disappears from view. Its streaming architecture processes frames one at a time for real-time, interactive use, and it works zero-shot on objects and videos not seen during training. Meta has publicly released the pretrained model, code and a demo, along with the SA-V training dataset of about 600,000 masklets on about 51,000 videos collected across 47 countries.

Key features

The five features that set Meta Segment Anything Model 2 (SAM 2) apart from most listed video tools.

  • Promptable segmentation

    Select objects with a click, box or mask on an image or frame.

  • Video object tracking

    Memory module tracks objects across frames, including brief occlusions.

  • Real-time streaming

    Processes video frames one at a time for interactive use.

  • Zero-shot use

    Works on objects and videos not seen during training.

  • Open release

    Pretrained model, code, demo and SA-V dataset are publicly available.

FAQ

Short answers to what people ask about Meta Segment Anything Model 2 (SAM 2).

Is SAM 2 free to use?

Meta has publicly released the pretrained SAM 2 model, its code and a demo, along with the SA-V dataset.

What can SAM 2 segment?

Any object in images and videos, prompted by a click, box or mask, and tracked across video frames.

Alternatives to Meta Segment Anything Model 2 (SAM 2)

Other listed video tools, ranked by editor rating. See all alternatives

HeyGen

#1 in AI avatar video
Best for
Presenter and training videos
Price
From $29/mo
9.3 Compare

CapCut

#1 in AI video
Best for
Social video editing
Price
From S$23.48/mo
9.1 Compare