Browse workflows
ComfyUI and workflows

Apple Depth Pro 2 gets ComfyUI nodes for metric depth on 8 GB GPUs

Nine ComfyUI nodes run Apple's Depth Pro 2 sizes S through H+ with EXR, TIFF, 16-bit PNG, and PLY point-cloud export.

From the makerFreeOpen sourceOpen weightsLocalComfyUI
Five outdoor photos of trees, cattle, utility wires, a cactus, and a goat above their corresponding Depth Pro 2 color depth maps.
Image: Apple ML Research

Following Apple's open-weights release of Depth Pro 2 (24M to 872M metric monocular depth models for photos and video with improved temporal consistency), developer Stan Shumsky shipped ComfyUI-DepthPro2. The custom nodes output full-resolution metric depth in meters for single images and video batches and run on 8 GB laptop GPUs.

Why it mattersCleaner, less jittery video depth maps in meters for ControlNet, 3D projection and VFX compositing.

What is new

Apple Depth Pro 2 uses a multi-view DINOv3 transformer with alternating within-frame and cross-frame attention plus a DPT decoder to predict full-resolution depth maps in meters. Stan Shumsky's ComfyUI-DepthPro2 package adds a custom loader and nine nodes across estimation and export.

Four model presets download automatically to ComfyUI's depthpro2 folder: S (24M, 97 MB), B (97M, 386 MB), L (334M, 1.3 GB), and H+ (872M, 3.5 GB), alongside a shared 94 MB focal-length estimator for images missing camera metadata.

How it works

The custom loader supports fp32, bf16, fp16, fp8 weight-storage compression, and auto precision across CUDA, Apple MPS, and CPU backends.

  • Estimate Depth processes individual images and outputs a normalized depth preview, raw depth_meters tensor, pixel focal length, and a sky_mask.
  • Video Depth processes frame batches in sliding windows with buffered or unbuffered modes for steady frame-to-frame depth.
  • DepthPro2 Focal Length converts millimeter lens values using presets for full frame, ALEXA 35, URSA 12K, Pocket 6K, Super 35, APS-C, Micro Four Thirds, and 1-inch sensors.
  • Export nodes generate colorized maps, camera-space XYZ position passes, 16-bit PNGs, 32-bit float EXR or TIFF files in meters, and binary RGB PLY point clouds for Blender or MeshLab.

Requirements and licence

ComfyUI-DepthPro2 is free and requires Python 3.9 or newer with ComfyUI API 0.11.0 or newer; EXR saving needs the optional OpenEXR Python package. The node code is Apache-2.0 licensed, whereas Apple's Depth Pro 2 weights carry a non-commercial research and academic licence.

More from this issue

All 81 stories
Make videos with these toolsOur workflows turn Blender, Unreal, ComfyUI and AI video into finished Shorts, explainers and reels. Claude sets them up for you.
Browse workflows