Please confirm your identity

For added security, you need to confirm your identity. You will be taken to your single sign-on provider, where you can enter your password.
Meta Global AI Developer Hackathon. $1M in prizes.Get notified
Meta
Documentation
Muse Code
Overview
Meta Model API
Overview
API Login
Meta Connectors
Meta AI Connectors
Muse Connectors ↗
Muse
Muse Spark 1.3
Muse Glimmer
Muse Image
Muse Voice Transcribe
Segment Anything (SAM)
SAM 3.1
Documentation
Model API docs ↗
Learn
Cookbooks ↗
Videos
Blog
Github
Meta Models ↗
Llama ↗
Hugging Face
Meta Models ↗
Contact Sales
Login
  1. Models
  2. Segment Anything (SAM)
  3. SAM 3.1
Meta
Products
Muse CodeMeta Model APIMeta AI ConnectorsMuse Connectors
Models
Muse Spark 1.2Muse Spark 1.1Muse GlimmerMuse Voice Transcribe
Documentation
Meta Model API DocsMuse Glimmer DocsLlama Docs
Resources
CookbookBlogVideos
Community
Meta-Models GithubLlama GitHubHugging Face
Terms & policies
Terms of ServicePrivacy PolicyCookie Policy
Products
Muse Code
Meta Model API
Meta AI Connectors
Muse Connectors
Models
Muse Spark 1.3
Muse Spark 1.2
Muse Spark 1.1
Muse Glimmer
Muse Image
Muse Voice Transcribe
Documentation
Meta Model API Docs
Muse Glimmer Docs
Llama Docs
Resources
Cookbook
Community
Meta-Models Github
Llama GitHub
Hugging Face
Terms & policies
Terms of Service
Blog
Videos
Privacy Policy
Cookie Policy

Segment Anything Model (SAM) 3.1

Detect, segment and track objects in images and video on Meta Model API, with nothing to host or tune.
Start building
Documentation

Meet SAM 3.1

SAM 3.1 architecture

GET STARTED

More ways to build

Models and pricing

Model

Cookbooks and quickstarts

Read documentation
Meta blue bg
Stay up-to-date

Our latest updates delivered to your inbox

Leading perception with purpose-built inference
SAM 3.1 is our leading perception model for object detection, segmentation and tracking, served on inference built specifically for its DETR architecture. Get production throughput on day one, with nothing to stand up or tune.
Integrated with other Meta models
SAM 3.1 shares its envelope, keys, docs and billing with every other Meta model, so segmentation and video tracking drop smoothly into the pipeline you already have. Reason and generate with Muse Spark, turn speech into text with Muse Voice Transcribe, and detect, segment and track objects with SAM 3.1, all through Meta Model API.
Detection, segmentation and tracking in one model
Most multimodal models give you labels and bounding boxes and leave the rest to you. SAM 3.1 detects the objects, returns pixel-precise segmentation masks and tracks them through video with identity preserved, all from a single call. Zero-shot, with no training data, fine-tuning or extra models required.
Meta Model APIDirect, self-serve access to SAM 3.1.
Start building
PlaygroundExperiment with SAM 3.1 on your own media before you write a line of code.
Try SAM 3.1
Leading capability
Price (Image)
Price (Video)
sam-3-1
Segmentation
$2.50/1k images
$0.20/1k frames
QuickstartYour first working request in under five minutes. Point your existing OpenAI SDK compatible client at Meta Model API.
Learn more
SAM OverviewUse text prompts to identify, segment, and follow any object in images or video.
Learn more
SegmentingGive SAM 3.1 a short noun phrase naming one thing, and it returns a box and a mask for every match.
Learn more

Subscribe to our newsletter to keep up with the latest AI updates, releases and more.

Sign up