POST /v1/depth
depthEstimate a depth map from an image (or stereo pair, or short clip). Returns width×height floats per frame, which can be several MB for large images. Models: list_models with endpoint "depth". Billed per call unless the key is a sandbox key.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"model": "<model>"
},
"name": "depth"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image | No | base64 JPEG or PNG, optionally a data: URL; or an https:// URL of an image or video (fetched for you, up to 4 MB) | |
| model | Yes | Model id from GET /v1/models, e.g. provider/name | |
| frames | No | ||
| baseline | No | ||
| intrinsics | No | [fx, fy, cx, cy] in pixels of the uploaded image | |
| right_image | No | base64 JPEG or PNG, optionally a data: URL; or an https:// URL of an image or video (fetched for you, up to 4 MB) | |
| prompt_depth | No | base64 JPEG or PNG, optionally a data: URL; or an https:// URL of an image or video (fetched for you, up to 4 MB) |