Nodes/ComfyUI_LC_MaskMaker_nodes/LC Depth Anything V2 🌊
ComfyUI Node

LC Depth Anything V2 🌊

Depth Anything V2 depth map, normalized 0-1 per image. Bright = near unless invert is on. Outputs a 3-channel image and a MASK of the same map.

By lonecatone23Β·Created 6 days agoΒ·Updated about 10 hours agoΒ· 0
LC Depth Anything V2 🌊
  • image
  • depth
  • depth_mask
β—„modelβ–Ύβ–Ί
β—„resolution518β–Ί
β—„invertfalseβ–Ί
CategoryLC MaskMaker/depth

Inputs (4)

NameTypeDefaultDescription
imageIMAGEImage to estimate depth for.
modelCOMBODepth Anything V2 weights. The license is in the label: Small is Apache-2.0, Base / Large / Giant are CC-BY-NC-4.0 (non-commercial). Uses the file you already have (models/depthanything or comfyui_controlnet_aux), or downloads it the first time you run.
resolutionINT518224–2044Size the shorter side is processed at (rounded to a multiple of 14). 518 is what the model was trained at; higher can add detail on big images.
invertBOOLEANfalseOff: bright = near (what Depth Anything and depth ControlNets use). On: bright = far.

Outputs (2)

NameTypeDescription
depthIMAGEβ€”
depth_maskMASKβ€”