Run Segment Anything 2

Ready in about 90 seconds. No install, no setup. From $0.45 per hour.

SOC 2 controls 142 verified providers 99.2% uptime Ready in about 90 seconds

What it does

Segment Anything 2 separates an object from its background. Click the thing you want and it traces the edge, including hair, glass, and motion blur.

On video it keeps tracking the same object across every frame, so a cut-out you make once follows the subject through the whole clip.

The usual jobs are removing backgrounds from product photos at volume, isolating a person for a composite, and masking an object so a color change only affects that object.

What you can make

Five hundred product photos cut out onto white
A person isolated from a busy street background
A car masked across a 20 second tracking shot
Furniture cut out for a room-planner tool
Clothing separated from a model for a catalog
A logo lifted off a photographed sign

These are prompts, not fixed presets. The workspace opens with one of them already loaded so your first result is one click away.

Your setup

WE RUN THIS ON RTX 4090

We run this on an RTX 4090. One photo takes about 2 seconds, and video runs at roughly 6 frames per second. $0.45 per hour, billed by the minute.

Why this card?

The large version of Segment Anything 2 needs about 10GB of memory for images and more for video, because it holds a memory of previous frames to keep the same object selected. A 24GB card gives it room for that frame memory at 4K without dropping to a smaller window, which is what keeps the mask from drifting on longer clips.

Memory
24GB
Speed
about 2 seconds per image
Rate
$0.45/hr

What will it cost you?

500 images 17 minutes $0.13

Billed by the minute on a RTX 4090 at $0.45 per hour. A batch job shuts the GPU off when the last image is done, so this is the whole cost.

Two ways to run it

OPEN THE APP

Click and use it

Click on the object you want in your browser, drag the edges if you need to, export the cut-out.

Get early access Best for exploring.
RUN A BATCH JOB

Hand us the whole pile

Send a folder of product photos with one rule, such as "keep the largest object", and get transparent PNGs back.

Join the list Best for volume. The GPU shuts off automatically when it is done.
508 Segment Anything 2 jobs run on GPUVault in the last 30 days
Model facts
Parameters224M (hiera-large)
LicenseApache 2.0
Memory required10GB minimum
Base modelTrained from scratch by Meta
PublisherMeta
Recommended hardwareRTX 4090, 24GB
Hugging Facefacebook/sam2-hiera-large
COMING SOON

Want Segment Anything 2 the day it opens?

We are testing the rental flow with a small group first. Leave an email and we will tell you when Segment Anything 2 is ready to run. One message, no newsletter.

Segment Anything 2 questions

Do I need to install anything to use Segment Anything 2?

No. We start a machine with Segment Anything 2 already loaded and hand you a link. Everything runs in your browser, there is nothing to download, and nothing is left on your computer afterwards. It works the same on a Mac, a Windows laptop, or a Chromebook. A workspace is usually ready in about 90 seconds.

How much does it cost to run 500 images?

About $0.13. Segment Anything 2 takes about 2 seconds per image on the RTX 4090 we recommend, so 500 images is roughly 17 minutes of GPU time at $0.45 per hour. Billing is by the minute, and a batch job shuts the GPU off the moment the last item finishes. The calculator above works this out for your own numbers.

Can I run Segment Anything 2 on a cheaper card?

Sometimes, and the calculator will not always make it look worth it. The large version of Segment Anything 2 needs about 10GB of memory for images and more for video, because it holds a memory of previous frames to keep the same object selected. A 24GB card gives it room for that frame memory at 4K without dropping to a smaller window, which is what keeps the mask from drifting on longer clips. If you want to try a different card anyway, the advanced catalog lets you pick one and shows the estimated time before you commit.

Can I use Segment Anything 2 commercially?

Yes. Segment Anything 2 is released under the Apache 2.0 license, which permits commercial use with no conditions worth worrying about. You can use the output in paid client work and in products you sell.

What happens to my files after I stop?

Anything you save into your workspace folder stays in your account and is there when you come back. Everything else is destroyed: the machine is terminated and its disk is wiped. Batch job inputs and outputs are deleted from our storage 24 hours after you download them. We do not read your files or use them to train anything.

What if it fails partway through?

You are not charged for work that did not complete, and failed sessions are refunded automatically. Batch jobs write each output as it finishes rather than at the end, so a failure at item 380 of 400 leaves you 379 usable files and a message saying what broke. Restarting picks up where it stopped rather than redoing the work.

Own a GPU that sits idle? Put it to work. The average provider earns $180 to $420 per month per card.

List your GPU