You're looking at a specific version of this model. Jump to the model overview.

vufinder /depth-anything-v3-metric:dee9f093

Input schema

The fields you can use to run this model with an API. If you don’t give a value for a field its default value will be used.

Field Type Default value Description
output_format
None
json
Output format of the prediction results.
processing_resolution
None
default
Maximum spatial dimension of input tensor passed to the model. The 'default' is 504 px, 36 patches 14 x 14 px. For the 'match_input' option, the dimension will be computed across th batch. The 'custom' option allows to set the spatial dimension manually via the num_patches parameter.
alpha_blend_onto
None
keep
Blend mode for images with alpha channels. The 'mean' mode blends the image onto ImageNet mean RGB values. The 'keep' mode keeps the original pixel values.
images
array
Input images, accepts JPG, JPEG, PNG, WEBP files
num_patches
integer
36
The maximum spatial dimension of input tensor defined in number of patches. The patch dimension is 14 px. Only used if processing_resolution is set to 'custom'.
return_depth
boolean
True
Whether to return depth images or not.
keys_to_exclude
string
Comma-separated list of keys to exclude from the output JSON files.

Output schema

The shape of the response you’ll get when you run this model with an API.

Schema
{'description': 'Class defining structure of the output.\n'
                '\n'
                'Attributes:\n'
                '    depth_images (Optional[list[Path]]): List of paths to '
                'depth images.\n'
                '    data (list[Path]): List of paths to the NPZ/JSON files '
                'containing the prediction results.',
 'properties': {'data': {'items': {'format': 'uri', 'type': 'string'},
                         'title': 'Data',
                         'type': 'array'},
                'depth_images': {'items': {'anyOf': [],
                                           'format': 'uri',
                                           'type': 'string'},
                                 'nullable': True,
                                 'title': 'Depth Images',
                                 'type': 'array'}},
 'required': ['data'],
 'title': 'PredictorOutput',
 'type': 'object'}