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

david20321 /depth-anything-v3-metric-large:c553df43

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
image
string
Input image (URL or file)
focal_length_px
number
0
Focal length in pixels. Default: 60-deg HFOV heuristic.
max_process_res
integer
0
Optional per-request cap for model process_res. 0 uses server default cap.
return_raw_depth
boolean
False
Include float32 metric depth map in compressed NPZ output.
include_base64
boolean
True
Include depth PNG as base64 string for compatibility.

Output schema

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

Schema
{'description': 'Public output contract for external Replicate users.',
 'properties': {'contract_version': {'title': 'Contract Version',
                                     'type': 'string'},
                'depth_max_m': {'title': 'Depth Max M', 'type': 'number'},
                'depth_min_m': {'title': 'Depth Min M', 'type': 'number'},
                'depth_npz': {'format': 'uri',
                              'nullable': True,
                              'title': 'Depth Npz',
                              'type': 'string'},
                'depth_png': {'format': 'uri',
                              'title': 'Depth Png',
                              'type': 'string'},
                'depth_png_base64': {'nullable': True,
                                     'title': 'Depth Png Base64',
                                     'type': 'string'},
                'focal_length_used': {'title': 'Focal Length Used',
                                      'type': 'number'},
                'input_height_px': {'title': 'Input Height Px',
                                    'type': 'integer'},
                'input_width_px': {'title': 'Input Width Px',
                                   'type': 'integer'},
                'model_commit': {'title': 'Model Commit', 'type': 'string'},
                'model_name': {'title': 'Model Name', 'type': 'string'},
                'model_ref': {'title': 'Model Ref', 'type': 'string'},
                'offset_m': {'title': 'Offset M', 'type': 'number'},
                'process_res_used': {'title': 'Process Res Used',
                                     'type': 'integer'},
                'scale_m_per_unit': {'title': 'Scale M Per Unit',
                                     'type': 'number'}},
 'required': ['contract_version',
              'model_name',
              'model_ref',
              'model_commit',
              'input_width_px',
              'input_height_px',
              'process_res_used',
              'focal_length_used',
              'depth_png',
              'depth_min_m',
              'depth_max_m',
              'scale_m_per_unit',
              'offset_m'],
 'title': 'DepthOutput',
 'type': 'object'}