Depth Anything Video
fal-ai/depth-anything-videoEdit and transform video with Depth Anything Video from fal through one Spiral API key. It runs in the background and returns video. Pay as you go, with no subscription.
Pricing
resolution: 360p $0.052, 480p $0.052, 720p $0.052, auto (default) $0.052, 1080p $0.052 per second.
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
- 2 GB
- Largest output
- 5 GB
Input
| Field | Kind | Default | Description |
|---|---|---|---|
video_url required | URL or file | — | URL of the input video to estimate depth for. |
model | one of VDA-Small, VDA-Base, VDA-Large | VDA-Large | Depth estimation model size. VDA-Large = best quality, VDA-Small = fastest. |
colormap | one of grayscale, turbo, inferno, magma, viridis | grayscale | Colormap for depth visualization. 'turbo' (recommended) shows near=warm, far=cool. 'grayscale' for raw normalized depth. 'inferno'/'magma' for perceptually uniform. 'viridis' for colorblind-friendly. |
resolution | one of auto, 360p, 480p, 720p, 1080p | auto | Output resolution. 'auto' preserves input (max 1080p). Options: 'auto', '360p', '480p', '720p', '1080p'. |
max_frames | number (whole) | — | Max frames to process (max 2400). None = up to 2400. |
output_fps | number | — | Output video FPS. None = same as input. |
side_by_side | true or false | false | Output original | depth comparison video. |
include_raw_depths | true or false | false | Export raw float32 depths as .npz file with: 'depths' [N,H,W], 'min_depth', 'max_depth', 'fps', 'model', 'shape'. |
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/depth-anything-video",
"input": {
"video_url": "https://v3b.fal.media/files/b/0a8fb1c1/xNTrr7wtczzLBkJdyE5_f_7JTYCmQe.mp4"
}
}'Frequently asked questions
How much does Depth Anything Video cost?
`resolution`: 360p $0.052, 480p $0.052, 720p $0.052, auto (default) $0.052, 1080p $0.052 per second. You pay as you go from one Spiral balance, with no subscription, and a failed run is not charged.
How do I use Depth Anything Video through an API?
Send `POST /v1/runs` with `"provider": "fal"`, `"model": "fal-ai/depth-anything-video"` and the input fields on this page, using one Spiral API key. It runs in the background: poll the run, or name a webhook to be told when it finishes.
Do I need an account with fal to use Depth Anything Video?
No. Spiral runs it on its own fal account and charges your Spiral balance.
Can my AI agent use Depth Anything Video?
Yes. Agents find and run it through Spiral's MCP server, CLI or agent skill, with the same API key.