GET

/v1/schemas/fal/video/fal-ai/sam-3/video

kind inputactivity videohash 3ce0561e…extracted Jul 28, 2026version currentsource upstream spec ↗
fieldrecorded source
schemaSource linked above.
Source trace
c40632a951248f6ac1e3a6af057562c5978233fa6e2555d41dcc189d9b155bbf
{
  "fetchedAt": 1785214897,
  "extractorVersion": "1",
  "verifiedAt": null
}

Request body

8 properties · 1 required · 2 $defs
propertytypedescriptionconstraints
video_url*stringThe URL of the video to be segmented.
apply_maskbooleanApply the mask on the video.default: true
detection_thresholdnumberDetection confidence threshold (0.0-1.0). Lower = more detections but less precise.0.1 ≤ n ≤ 1 · default: 0.5
point_promptsPointPromptBase[]List of point promptsdefault: []
video_output_typeenumThe output type of the generated video.X264 (.mp4) | VP9 (.webm) · default: "X264 (.mp4)"
promptstringText prompt for segmentation. Use commas to track multiple objects (e.g., 'person, cloth').default: ""
text_promptstring[DEPRECATED] Use 'prompt' instead. Kept for backward compatibility.nullable · deprecated
box_promptsBoxPromptBase[]List of box prompt coordinates (x_min, y_min, x_max, y_max).default: []

Types

2 $defs

BoxPromptBaseobject

object_idintegerOptional object identifier. Boxes sharing an object id refine the same object.nullable
y_maxintegerY Max Coordinate of the boxnullable
y_minintegerY Min Coordinate of the boxnullable
x_minintegerX Min Coordinate of the boxnullable
x_maxintegerX Max Coordinate of the boxnullable

PointPromptBaseobject

yintegerY Coordinate of the promptnullable
object_idintegerOptional object identifier. Prompts sharing an object id refine the same object. When a text prompt is also given, the id selects which detected object the points refine.nullable
labelenum1 for foreground, 0 for background0 | 1 · nullable
xintegerX Coordinate of the promptnullable

Validate a payload

before you spend tokens
shell
$ curl -X POST https://modelschemas.com/v1/validate \
    -d '{"provider":"fal","endpointId":"fal-ai/sam-3/video","payload":{…}}'
→ {"valid": false, "errors": [{"path": "#", "keyword": "required", …}]}