Video Depth Anyting for Video Depth Map
Generate temporally consistent depth maps from any video using Video Depth Anything ViT-L. Upload a clip and get gray, color, and EXR depth outputs in one run.
Video
Video Depth Map
Video to Video
206
Nodes & Models
LoadVideoDepthAnythingModel
video_depth_anything_vits.pth
VideoDepthAnythingProcess
VideoDepthAnythingOutput
VideoDepthAnythingSaveEXR
PreviewAny
VHS_LoadVideo
VHS_VideoInfoLoaded
VHS_VideoCombine
ABOUT THE WORKFLOW
Extract depth maps from video
Upload a video clip and get three depth outputs in a single run: a grayscale depth map video, a color-coded (inferno) depth map video, and a sequence of EXR files for compositing. The model tracks depth across frames, so objects stay consistent as they move through the scene.
Model
Video Depth Anything ViT-L by the Depth Anything team (ByteDance). Extends Depth Anything V2 with temporal modules that produce smooth, flicker-free depth across long video sequences. 335M parameters. Licensed under CC-BY-NC-4.0 (non-commercial use).
HOW IT WORKS
Step 1. Upload your video
Drop in any video file. The loader accepts standard formats (MP4, MOV, AVI). Leave all settings at their defaults for a first run.
Works great with: drone footage · interior walkthroughs · product turntables
Step 2. Run the depth estimation
Hit run. The model processes every frame at 518px input size and up to 1280px output resolution in fp16 precision. It reads temporal context across frames to keep depth stable.
Step 3. Collect three outputs
The workflow produces three results from one pass: a grayscale depth video (white = close, black = far), a color inferno depth video (warm = close, cool = far), and an EXR image sequence with raw depth values for compositing tools.
Ready for: After Effects · Nuke · DaVinci Resolve · Blender
First time? Leave every setting as-is. The defaults are the right starting point for almost everyone.
RECOMMENDED SETTINGS
VHS_LoadVideo:
frame_load_cap: 60–300 (lower for higher res)
custom_width/height: must be divisible by 8, or leave at 0
select_every_nth: 1 (all frames), 2+ to speed up testing
VideoDepthAnythingProcess:
input_size: 252–518 (518 = best quality, lower = less VRAM)
max_res: 256–1920 (don’t exceed source video res)
precision: fp16 (recommended), fp32 (if banding issues)
VHS_VideoCombine:
crf: 17–23 (lower = better quality, bigger file)
pix_fmt: yuv420p10le reduces banding for depth maps
Input video: Clips with camera movement or object motion produce the most useful depth maps. Static locked-off shots still work, but the temporal consistency advantage shows most when things move. Keep clips under 300 frames for a first run, then scale up.
LEARN
📹 Videos
ComfyUI 101 Free Course ft. Sebastian Kamph
Floyo 101 for Team Collaboration
✨ Quick links
USE CASES
🎬 VFX depth passes
Generate depth mattes for compositing without a 3D render. Import the EXR sequence into Nuke or After Effects and use it for depth-of-field, fog, or z-depth compositing.
📱 3D photo and parallax effects
Turn flat video into parallax content for social media. Use the grayscale depth map to drive displacement in After Effects or CapCut for a 3D photo-style scroll effect.
🏠 Architecture and real estate walkthroughs
Extract spatial layout information from interior walkthrough videos. The depth map shows room geometry and furniture placement for spatial analysis or stylized presentations.
🎮 Game and asset reference
Create depth references from real-world footage to guide environment modeling. The inferno colormap highlights relative distances, making it easier to match scale in 3D scenes.
WHAT WORKS BEST / WHAT TO AVOID
✅ Works great
Footage with steady camera motion (dolly, drone, gimbal)
Scenes with clear foreground/background separation
Clips under 5 minutes with consistent lighting
Interior and exterior scenes with varied object distances
⚠️ May produce softer results
Rapid camera shakes or handheld jitter
Transparent or reflective surfaces (glass, water, mirrors)
Extremely flat scenes with little depth variation
Very dark or heavily overexposed footage
FAQ
What is Video Depth Anything?
Video Depth Anything is a monocular depth estimation model built on top of Depth Anything V2. It adds temporal modules that read information across video frames, producing depth maps that stay consistent from frame to frame. The ViT-L variant used in this workflow has 335 million parameters and handles clips of hundreds of frames.
How is Video Depth Anything different from Depth Anything V2?
Depth Anything V2 estimates depth one frame at a time, which can cause flickering when applied to video. Video Depth Anything processes frames with temporal context so depth values stay smooth and stable across the clip. If you need depth maps from still images, Depth Anything V2 is sufficient. For video, this model is the better choice.
Can I use Video Depth Anything for commercial projects?
The ViT-L model (video_depth_anything_vitl.pth) used in this workflow is licensed under CC-BY-NC-4.0, which restricts commercial use. If you need a commercially licensed option, the Video Depth Anything ViT-S (Small) model is available under the Apache 2.0 license with fewer parameters and lower accuracy.
What are the three outputs and when do I use each?
The grayscale video is the standard depth map for compositing and displacement effects. The inferno (color) video is easier to read by eye and useful for reviewing depth accuracy or sharing with collaborators. The EXR sequence contains raw floating-point depth values for precision work in Nuke, Blender, or other tools that support 32-bit depth channels.
Does Video Depth Anything work on long videos?
Yes. The model uses a key-frame-based inference strategy that maintains global scale consistency across long sequences. For clips over 300 frames, processing time increases linearly, and VRAM usage stays constant. Start with shorter clips to dial in settings, then scale up.
What resolution should I use for the best depth maps?
Set input_size to 518 for the highest accuracy. Set max_res to match your source footage resolution, up to 1920. Going beyond your source resolution adds processing time without improving depth quality.
How to run Video Depth Anything online?
You can run Video Depth Anything online through Floyo. No installation, no setup, no API key to wire up. Open the workflow in your browser, upload your inputs, and hit run. Free to try.
WHY FLOYO?
Floyo is the only platform with team collaboration for ComfyUI in the browser. You run workflows with no install. You share run history, assets, and models across your team. You pay only when you generate. Floyo supports open-source and closed-source models.
A designer runs an edit and likes the result. A teammate opens that exact run from shared history and keeps going. No file handoffs. No version confusion.
For studios and enterprise teams, Floyo adds private workspaces, pooled resources, and a team usage dashboard. Other ComfyUI cloud tools run for one person at a time. Floyo runs for the whole team, with transparent per-generation costs.
Ready to try it?
Upload a video clip and generate your first depth map in under a minute.
Questions? Watch the free course or check the FAQ above.
Read more

%20(1)_1777105835912.webp?width=400&height=300&quality=80&resize=contain&format=origin)

