The Segment Anything Model 2 (SAM 2) is a foundation model for promptable visual segmentation in images and videos. It extends the previous SAM model to video by considering images as a video with a single frame and uses a simple transformer architecture with streaming memory for real-time video processing. The model is released under the Apache 2.0 license, along with the code, dataset, and research paper. SAM 2 provides strong performance across a wide range of tasks and visual domains.