Image as Input
Depth Estimation
Estimate depth in images using the Depth-Anything-V2-Base-hf
model.
POST
Authorizations
Provide your API key as Key your-key-here
in the Authorization
header.
Body
application/json
URL of the image to process.
Example:
"https://ocean.si.edu/sites/default/files/styles/3_2_largest/public/2023-11/Screen_Shot_2018-04-16_at_1_42_56_PM.png.webp?itok=Icvi-ek9"
Base64-encoded image data.
Example:
"/9j/4AAQSkZJRgABAQAAAQABAAD..."
URL of the image to process.
Example:
"https://ocean.si.edu/sites/default/files/styles/3_2_largest/public/2023-11/Screen_Shot_2018-04-16_at_1_42_56_PM.png.webp?itok=Icvi-ek9"
Base64-encoded image data.
Example:
"/9j/4AAQSkZJRgABAQAAAQABAAD..."
Response
200 - application/json
Successful response with depth estimation results.
Depth map of the image.