meta/sam-3

SAM 3 segments anything you can name: give it an image and a word, and it returns the mask.

$0.005 / request
GPU: A100

Model Inputs

file

Image to segment (.jpg/.png/.webp)

string

Text prompt for segmentation

boolean

Apply the mask on the image.

string

The format of the generated image.

boolean

If True, upload and return multiple generated masks as defined by `max_masks`.

integer

Maximum number of masks to return when `return_multiple_masks` is enabled.

boolean

Whether to include mask confidence scores.

boolean

Whether to include bounding boxes for each mask (when available).

Result

Idle
Waiting for your input...

Pricing

meta/

sam-3

Pricing for Synexa AI models works differently from other providers. Instead of being billed by time, you are billed by input and output, making pricing more predictable.

Output
$0.005 / request
or
200 requests / $1

For example, generating 100 requests costs about $0.50.

Check out our docs for more information about how per-request pricing works on Synexa.

ProviderPrice ($)Saving (%)
Synexa$0.005-
fal$0.005same price

Readme

SAM 3 is a promptable segmentation foundation model. Name the thing you want isolated in prompt ("wheel", "the red car", "person on the left") and it detects and segments every matching instance.

apply_mask returns the image with the mask composited on; turn it off to get the raw masks. Enable return_multiple_masks with max_masks when several distinct objects match, and include_scores / include_boxes to get confidence values and bounding boxes back.

Point and box prompting exist upstream but are not exposed here, because they take nested coordinate objects.