Easy · photo
Product cutout
Shoot a mug on a table; cut it out as a transparent PNG.
- Skill: text prompt + download
- Background removal
Guide · SAM 3 / 3.1 · beginner · no code
The idea
SAM stands for Segment Anything Model. You tell it what you want, and it draws the exact outline of that thing in a photo or video.
Key words
Learn these and every SAM tool will make sense.
| Word | Plain meaning |
|---|---|
| Segment / segmentation | Splitting a picture into “this object” and “everything else” |
| Mask | The object’s exact shape, as a black-and-white layer |
| Prompt | How you tell SAM what you want: words, clicks or a box |
| Text prompt | A short name like “bicycle”; finds every match |
| Click (point) | Green/positive adds an area, red/negative removes one |
| Box / example | Draw around one object; SAM can find more like it |
| Tracking | Following the same object through a video |
| Cutout | The object on a transparent background (a PNG) |
More detail on each prompt type: SAM prompts explained
Prepare
Nothing to install. Five minutes is enough for a first result.
Project 1
Follow these five steps in the Segment Anything Playground. Button names may change a little as Meta updates the site.
What to type
SAM 3 understands short descriptions of things, not full sentences or instructions.
Fix mistakes
Clicks are the quickest way to correct what words got wrong.
Project 2
Video works the same way: pick the object once and SAM 3 follows it. Templates do the rest.
Practice
Each one teaches a different skill. Do them in order.
Easy · photo
Shoot a mug on a table; cut it out as a transparent PNG.
Easy · photo
Photo of coins, apples or birds; type the name and count the masks.
Easy · video
Blur faces or licence plates in a street clip with a template.
Medium · video
Sports clip: click one player and spotlight only them.
Medium · photo
Select an object in a photo and turn it into a 3D model with SAM 3D.
Avoid these
| Mistake | Do this instead |
|---|---|
| Typing a whole sentence | One or two words: “brown dog” |
| Expecting only one object from a word | Words find every match; click to pick one |
| Clicking on the edge of an object | Click the middle of the area you mean |
| Dark, blurry or tiny objects | Use a clearer photo or crop closer |
| Long video on the first try | Start with 10–20 seconds |
| Saving a cutout as JPG | Save as PNG to keep transparency. Export guide |
| Not checking the result up close | Zoom in and view on light and dark backgrounds |
Knowing what SAM can’t do saves time: limitations
What next
When the browser isn’t enough, each step adds more control.
Running it yourself? Check system requirements, then install SAM 3. Costs: pricing.
Questions
No. The Segment Anything Playground runs in your web browser: upload a photo or video, type what you want selected, and apply an effect. Code is only needed if you want to automate it.
The SAM 3 and SAM 3.1 models are released by Meta under the SAM License, and the playground is a free web demo. Hosted APIs from other companies charge per image or per second of video.
A short name for the thing, like “dog”, “red car” or “helmet”. Avoid long sentences; SAM 3 is built for short noun phrases.
A text prompt selects every match. Click the extra ones with a remove (negative) click, or make the words more specific.
Yes. Type or click to pick an object once, and SAM 3 follows it through the clip so you can blur, highlight or cut it out.
Treat any online demo like a public service: don’t upload private documents, ID cards or photos of people who haven’t agreed. For private work, run SAM on your own computer.
Both segment the same way. SAM 3.1 is an update that makes tracking many objects in video faster.