Sand AISand AI MAGI-2MAGI-2 agora está na SandBase: vídeo em 1080p com áudio nativoExperimente agora

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.
Docs da API
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.

Testar o modelo

Playground

Abrir playground
Entrada
Text prompt for segmentation

PNG, JPEG, WebP ou GIF · máximo de 20 MiB

URL of the image to be segmented
Configurações avançadas
The format of the generated image.
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. Intervalo: 1 a 32.
Whether to include bounding boxes for each mask (when available).
Resultado
Inativo

Sua saída aparecerá aqui

Preencha as entradas e clique em Executar.

Estimativa de execução exibida: $0.005. As cobranças finais seguem as regras de cobrança do modelo abaixo.

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.