Depth Anything Video

Turn a video into temporally consistent depth maps for compositing, 3D work and visual effects, with three model sizes and five color maps.

Depth Anything Video estimates relative depth in every frame while keeping it consistent over time. Use the grayscale depth video as a compositing guide, or choose a color map to inspect the scene.

Send a video link or upload. VDA-Large gives the best quality; VDA-Base and VDA-Small trade detail for speed. Choose grayscale, turbo, inferno, magma or viridis, and auto, 360p, 480p, 720p or 1080p resolution. side_by_side includes the original beside its depth visualization. max_frames limits processing; output_fps changes playback speed.

FlyMyAI accepts non-fragmented MP4 or MOV, 1-120 seconds, up to 2400 frames, 1920 pixels per side, with the shorter side at most 1080. Output: an H.264 MP4, up to 32 MiB. Files are returned as download links.

Optional raw_depths is an NPZ with float32 depth maps and metadata. It requires resolution auto and at most 4,194,304 input pixels across the selected frames; trim the video, reduce its size or lower max_frames. This keeps the uncompressed depth array within 16 MiB and the returned archive within 24 MiB. Raw export is off by default.

Price: $0.04 per processed second of source video. max_frames can shorten the processed section; output_fps changes playback speed without changing its price. Before dispatch the input duration reserves at most $4.80; the final charge follows the provider's bill. A 10-second video costs $0.40 when processed in full. Relative depth is not a calibrated distance measurement.

Price: $0.04 per second of the video you send. A 10-second video costs $0.40.

Run Depth Anything Video via API

curl -X POST https://api.flymy.ai/api/v1/flymyai/depth-anything-video/predict \
  -H "X-API-KEY: $FLYMYAI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"video":"https://v3b.fal.media/files/b/0a8fb1c1/xNTrr7wtczzLBkJdyE5_f_7JTYCmQe.mp4","model":"VDA-Large","colormap":"turbo","resolution":"720p","max_frames":24}'

API documentation · Create a free account · Pricing

Related models