SAM 3 Image

SAM 3 Image is Meta's segmentation model. It finds objects in an image from a text, point, or box prompt and returns masks and the masked image, with optional confidence scores.
meta/sam-3/image

SAM 3 Image is Meta's segmentation model. It finds objects in an image from a text, point, or box prompt and returns masks and the masked image, with optional confidence scores.

Try the model

Playground

Open playground
Input
Text prompt for segmentation

PNG, JPEG, WebP, or GIF · 20 MiB maximum

URL of the image to be segmented
Additional Settings More

Customize your input with more control.

The format of the generated image. Allowed values: jpeg, png.
Box prompt coordinates (x_min, y_min, x_max, y_max). Multiple boxes supported - use object_id to group boxes for the same object or leave empty for separate objects.
[DEPRECATED] Use 'prompt' instead. Kept for backward compatibility.
Whether to include mask confidence scores.
Apply the mask on the image.
List of point prompts
If True, upload and return multiple generated masks as defined by `max_masks`.
132
Maximum number of masks to return when `return_multiple_masks` is enabled. Range: 1 to 32.
Whether to include bounding boxes for each mask (when available).
Result
Idle

Your output will appear here

Complete the inputs, then click Run.

Displayed run estimate: $0.005. Final charges follow the model’s billing rules below.

SAM 3 Image

SAM 3 segments objects in an image from a text, point, or box prompt and returns masks.

Fields

FieldTypeDefaultNotes
promptstring, requiredwheelWhat to segment, e.g. “the red car”.
imageimage URL, required—Image to segment. JPEG, PNG, or WebP URL.
output_formatjpeg / pngpngOutput file format.
box_promptsitem[][]Optional boxes.
text_promptstring—[DEPRECATED] Use 'prompt' instead.
include_scoresbooleanfalseWhether to include mask confidence scores.
apply_maskbooleantrueReturn the masked image.
point_promptsitem[][]Optional points.
return_multiple_masksbooleanfalseIf True, upload and return multiple generated masks as defined by max_masks.
max_masksinteger 1–323Maximum masks to return.
include_boxesbooleanfalseWhether to include bounding boxes for each mask (when available).

Billing

$0.005 per image.

RequestPrice
One image$0.005

Failed runs are not charged.

Also on SandBase

Related: meta/sam-3/3d-objects.