Meta SAM 3 Playground

Explainer · Segment Anything · SAM 1 to SAM 3.1

What Is Meta SAM? Segment Anything explained: the AI from Meta that outlines any object you point at or name, in photos and videos. What it is, how it works, where it came from, and how to try it.

click · box · text
Animation of what Segment Anything doesA scene with a cat, a toy car and a plant. First a click on the cat outlines just the cat. Then a box around the car outlines the car. Then the text prompt “plant” outlines the plant. Each time SAM returns the exact shape of what was asked for. click › the cat box › the toy car text › “plant” you point or name · SAM outlines it exactly
Illustration: three ways to ask, one exact outline.

In one sentence

Meta SAM in One Sentence

Meta SAM (Segment Anything Model) is a family of free, open AI models from Meta that draw the exact outline of objects in images and videos when you click them, box them, or (since SAM 3) name them in a few words.

The outline is called a mask. Other tools use it to cut out, blur, recolour, count, measure or track the object. New to the idea? What segmentation means

The name

What “Segment Anything Model” Means

Each word in the name tells you something.

SegmentSeparate an object from everything else, pixel by pixel. More precise than drawing a box around it.
AnythingNot limited to a fixed list like “people, cars, dogs”. It works on objects it was never specifically taught.
ModelA trained AI network you can run in a browser demo, through an API, or on your own GPU.

You’ll also see SAM called a foundation model (one general model many apps build on) and promptable (it does what your click, box or words ask).

The big idea

Why SAM Was a Big Deal: One Model, Any Object

Before SAM, segmentation models were trained for specific object types. SAM made one general model you steer with a prompt.

old vs SAM
Animation comparing old segmentation with promptable segmentationThe old way: a separate model is trained for cats, another for cars, another for plants, and a new object type needs a new model. The SAM way: one model plus a prompt handles all of them, including objects it never saw in training. before: one model per object type cat modelcar modelplant model???? model new object type → collect labels → train again SAM: one model + a prompt SAM clickbox“kettle”“crane” works on objects it was never specifically trained on (zero-shot)
Illustration of task-specific models versus one promptable model.
  • Before: want to segment kettles? Collect thousands of labelled kettle photos and train a model.
  • With SAM: click the kettle. No new training, no labels.
  • Zero-shot: Meta designed SAM to transfer to new kinds of images and tasks without retraining.
  • Building block: apps add SAM for selection, then do their own thing with the mask.

How it works

How SAM Works, Simply

Three parts: one looks at the picture, one reads your prompt, one draws the mask.

three parts
Animation of how SAM works in three partsAn image enters the image encoder, which turns it into features once. A prompt such as a click enters the prompt encoder. The mask decoder combines both and outputs the mask. For video, a memory carries the object to the next frame; in SAM 3 a detector finds every match for a text prompt. image encoderruns once per image click / text prompt encoderfast, per prompt mask decodercombines both + memory (SAM 2): follow it in video + detector (SAM 3): find every match
Simplified diagram of SAM’s parts.
  1. 1Image encoderturns the picture into features. It’s the heavy step and runs once per image.
  2. 2Prompt encoderturns your click, box or words into the same language.
  3. 3Mask decodercombines the two and outputs the outline in a fraction of a second, so you can click again and again.
  4. +Later additions:SAM 2 adds memory to follow objects through video; SAM 3 adds a detector that finds every match for a text prompt.

Deeper dive: how SAM 3 segmentation works

How it learned

How Meta Trained SAM: The Data Engine

SAM’s generality comes from scale. Meta built its datasets with the model in the loop.

data engine
Animation of Meta’s data engine loopA loop of three steps: the model proposes masks, people check and fix them, and the model is retrained on the bigger dataset. Each lap the dataset grows, reaching about 1.1 billion masks for SAM 1. model proposes people fix retrain dataset after each lap SA-1B · 1.1B masks SA-V · video masklets SA-Co · 4M+ concepts scale is why SAM works on things it has never seen
Illustration of the data engine loop.
  • The loop: the model proposes masks, people check and correct them, the model retrains, and the next round is faster.
  • SA-1B (SAM 1): about 11 million licensed images with over 1 billion masks.
  • SA-V (SAM 2): tens of thousands of videos with hundreds of thousands of tracked masks.
  • SA-Co (SAM 3): over 4 million unique concept phrases, including hard “not this” examples.
  • Details per dataset: SAM models · SA-Co benchmark

Family

The SAM Family at a Glance

One idea, applied to more and more kinds of media.

SAM timeline
Animated timeline of the SAM familyA timeline lights up: SAM 1 in April 2023 for click-to-mask on images, SAM 2 in July 2024 adding video, SAM 3 in November 2025 adding text concepts, SAM 3D in November 2025 for 3D, SAM Audio in December 2025 for sound, and SAM 3.1 in March 2026 for faster video. SAM 1Apr 2023click → maskSAM 2Jul 2024+ videoSAM 3Nov 2025+ text conceptsSAM 3DNov 2025+ 3DSAM AudioDec 2025+ soundSAM 3.1Mar 2026faster video each generation keeps the last one’s skills and adds one
Timeline of SAM releases.
ModelIn one line
SAM 1Click or box an object in a photo, get its mask
SAM 2Same for video: the mask follows the object
SAM 3Type “red car” and every red car is found, masked and tracked
SAM 3.1Today’s version: SAM 3 with much faster multi-object video
SAM 3DTurn an object or person in one photo into a 3D model
SAM AudioPull one sound out of a recording

Full specs, datasets and licences side by side: all SAM models

Uses

What People Use SAM For

AreaExample
Photo and video editingBackground removal, spotlight effects, blurring faces and plates
E-commerceClean product cut-outs at scale
AI training dataLabelling images in seconds instead of minutes
Science and medicine (research)Counting cells, outlining organs or tumours for study
Mapping and agricultureFields, buildings, trees and crops from aerial images
Robotics and ARKnowing exactly where an object is in view

Worked examples: use cases · background removal

Clearing up confusion

What SAM Is Not

Common misunderstandings about Segment Anything.

Not an image generator

It doesn’t create or change pixels. It only outlines; editing is done by other tools using the mask.

Not a chatbot or captioner

SAM 3 understands short phrases like “striped cat”, but it won’t describe a scene or answer questions.

Not a face recogniser

It can outline a person, but it doesn’t identify who they are.

Not perfect

Tiny, thin, transparent or very crowded objects can trip it up. See limitations.

Not one fixed app

It’s a model. You use it through Meta’s playground, other apps, APIs, ComfyUI or your own code.

Not only for images

The family now covers video, 3D and sound too.

Licence

Is Meta SAM Free and Open?

Yes, with a licence

  • SAM 1, SAM 2 / 2.1: Apache 2.0, a permissive open-source licence.
  • SAM 3, 3.1, 3D: Meta’s SAM License: free, commercial use allowed, with some restrictions.
  • Newer weights are gated: request access on Hugging Face first.

What costs money

  • Your own GPU or cloud server, if you self-host.
  • Hosted APIs from other companies, charged per image or frame.
  • The playground demo is free to try.
  • Details: pricing · terms

This is a summary, not legal advice; read the licence for your model before shipping a product.

Questions

Meta SAM FAQ

What does SAM stand for?

Segment Anything Model. “Segment” means outlining an object pixel by pixel, and “anything” means it isn’t limited to a fixed list of object types.

Who made Meta SAM?

Meta’s AI research team (FAIR). The first model was released in April 2023, with SAM 2, SAM 3, SAM 3.1, SAM 3D and SAM Audio following.

What is the latest version of SAM?

For images and video, SAM 3.1, released on 27 March 2026. SAM 3D (3D models) and SAM Audio (sound) extend the family.

Is Meta SAM free?

Yes to download and use under its licence: SAM 1 and SAM 2 are Apache 2.0; SAM 3, 3.1 and 3D use Meta’s SAM License, which allows commercial use with some restrictions. The online playground is free to try.

Does SAM know what objects are called?

SAM 1 and SAM 2 don’t: they outline what you point at. SAM 3 understands short text like “red car” and finds every match, but it doesn’t describe images or answer questions.

Is SAM an image generator?

No. SAM doesn’t create or change pixels. It produces masks (outlines) that other tools use to cut out, blur, recolour or edit objects.

Do I need a powerful computer?

Not to try it: the playground runs in a browser. Running SAM 3 yourself needs a recent NVIDIA GPU; hosted APIs avoid that.

Keep reading