ComfyUI Node
Depth Anything
A ComfyUI node in BCNodes/image with 5 inputs and 1 output.
Depth Anything
- image
- depth
◄resolution518►
◄modelv2-small►
◄width—►
◄height—►
CategoryBCNodes/image
Inputs (5)
| Name | Type | Default | Description |
|---|---|---|---|
| image | IMAGE | — | |
| resolution | INT | 51814–2044 | Short side the model sees, rounded to a multiple of 14, and the short side of the depth map when width / height are not connected. Higher gives finer detail and costs more memory. |
| modelopt | COMBO | v2-small | v2-small: Depth Anything V2 Small, this pack's own code. v3-*: Depth Anything 3 through ComfyUI core, weights in models/geometry_estimation (small 137 MB, base 542 MB, mono-large and metric-large 1.3 GB). All Apache-2.0. |
| widthopt | INT | 1–16384 | With height: the depth map comes out at exactly width x height (covering it with its aspect kept, centre-cropped), e.g. the latent's pixel size. |
| heightopt | INT | 1–16384 | With width: the depth map comes out at exactly width x height. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| depth | IMAGE | — |