falVideo to videoComing soon
fal-ai/sam2/video
fal-ai/sam2/video is a video to 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.
Price pendingPricing
Price pending.
Limits
- Runs
- In the background
- Returns
- video
- Longest queue wait
- 3600s
- Run deadline
- 1800s
- Largest inline input
- 1024 KB
- Largest input file
- 500 MB
- Largest output
- 4768 MB
- Outputs per run
- 16
Input
| Field | Kind | Default | Description |
|---|---|---|---|
video_url required | URL or file | — | The URL of the video to be segmented. |
mask_url | URL or file | — | The URL of the mask to be applied initially. |
prompts | JSON | [] | List of prompts to segment the video |
box_prompts | JSON | [] | Coordinates for boxes |
apply_mask | true or false | false | Apply the mask on the video. |
boundingbox_zip | true or false | false | 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"
}
}'