falVideoComing soon

fal-ai/sam2/video

fal-ai/sam2/video is a video tool from fal that runs in the background and returns video. Coming soon: listed with its price, not yet open to runs.

This tool is listed but not yet available to run.

Pricing

Coming soon

Price pending

Limits

Runs
In the background
Returns
video
Longest queue wait
1 hour
Run deadline
30 minutes
Longest run, end to end
930 minutes
Largest inline input
1 MB
Largest input file
500 MB
Largest output
5 GB
Outputs per run
16

Input

FieldKindDefaultDescription
video_url requiredURL or file—

The URL of the video to be segmented.

mask_urlURL or file—

The URL of the mask to be applied initially.

promptsJSON[]

List of prompts to segment the video

box_promptsJSON[]

Coordinates for boxes

apply_masktrue or falsefalse

Apply the mask on the video.

boundingbox_ziptrue or falsefalse

Return per-frame bounding box overlays as a zip archive.

Same request in code

curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "fal",
    "model": "fal-ai/sam2/video",
    "input": {
      "video_url": "https://drive.google.com/uc?id=1iOFYbNITYwrebBBp9kaEGhBndFSRLz8k"
    }
  }'