Pricing
Compare models →Pricing is fixed at $0.005 per image.
| Output | Cost |
|---|---|
| One generated depth map | $0.005 |
output_format does not add a separate charge.
Input schema
| Parameter | Type | Description |
|---|---|---|
imageRequired | string | The URL of the input image to estimate depth for. |
output_format | string | The format of the output depth map.jpegpngwebp"jpeg" |
README
Depth Anything Image
Depth Anything Image converts a single input image into a grayscale depth map for depth-conditioned generation, relighting, compositing, 2.5D effects, and 3D workflows.
The generated depth map preserves the input image resolution and represents relative scene depth, with nearby surfaces appearing lighter and distant surfaces appearing darker.
Why Choose This?
- Single-image depth estimation
Generate a detailed depth map directly from one input image.
- Clear depth structure
Preserve object boundaries and scene layering for downstream image and 3D workflows.
- Input-resolution output
The generated depth map matches the resolution of the source image.
- Grayscale depth representation
Nearby surfaces appear lighter, while distant surfaces appear darker.
- Multiple output formats
Export the depth map as jpeg, png, or webp.
- Simple image workflow
Provide an image URL, choose the output format, and generate the depth map.
Parameters
| Parameter | Required | Description |
|---|---|---|
| image | Yes | URL of the input image used for depth estimation. |
| output_format | No | Output image format: jpeg, png, or webp. Default: jpeg. |
How to Use
- Provide an input image — Upload an image or provide its URL.
- Choose output format optional — Select
jpeg,png, orwebp.
- Submit — Run the model to generate the grayscale depth map.
- Use the result — Apply the depth map in generation, relighting, compositing, parallax, or 3D workflows.
Pricing
Pricing is fixed at $0.005 per image.
| Output | Cost |
|---|---|
| One generated depth map | $0.005 |
output_format does not add a separate charge.
Best Use Cases
- Depth-conditioned generation — Use depth maps in image-generation or ControlNet-style workflows.
- Relighting — Estimate scene depth to support depth-aware lighting adjustments.
- Depth of field — Create foreground and background separation for focus effects.
- Fog and atmospheric effects — Apply depth-dependent haze or environmental effects.
- Compositing — Use depth information to improve layering and spatial placement.
- 2.5D parallax — Create depth-based camera movement from a still image.
- 3D prototyping — Use relative depth as a starting point for displacement or scene reconstruction workflows.
Pro Tips
- Use
pngwhen you want to avoid lossy compression in downstream depth workflows.
- Use images with clear foreground and background separation for easier depth interpretation.
- Treat the result as relative depth, not real-world metric distance.
- Lighter areas represent surfaces estimated to be closer to the camera.
- Darker areas represent surfaces estimated to be farther from the camera.
- Use Depth Anything V3 Image when you need the newer image-depth workflow.
Notes
imageis required.
output_formatdefaults tojpeg.
- Supported output formats are
jpeg,png, andwebp.
- Output resolution matches the input image resolution.
- The generated depth map represents relative rather than metric depth.
- Nearby surfaces appear lighter and distant surfaces appear darker.
Related Models
- Depth Anything Image — Generate grayscale depth maps from individual images.
- Depth Anything Video — Generate depth information from video input.
- Depth Anything V3 Image — Generate image depth maps with the newer Depth Anything V3 workflow.
- Depth Anything V3 Video — Generate depth maps from video using Depth Anything V3.
Catalog rates and input examples are published for reference. Contact OpenSI about access and applicable pricing.
Depth Anything Image Depth Map API example
The catalog lists POST https://api.opensi.com.ai/api/v3/opensi-ai/depth-anything/image for the submission step. Confirm the endpoint and access with your supplier before sending a request.
HTTP request body
{
"image": "https://d5v2vcqcwe9y5.cloudfront.net/image-to-video/251121/6784e7f4b50aebc7e17fe396/vi0t8qihzk4j.jpg",
"output_format": "jpeg"
}Depth Anything Image Depth Map API — Frequently asked questions
What is the Depth Anything Image API?
Depth Anything Image is a OpenSIAI model for image processing, exposed as a REST API on OpenSIAI. Depth Anything Image turns a single image into a detailed grayscale depth map for depth-conditioned generation, relighting, 3D and compositing workflows. Ready-to-use REST inference API, best performance, no coldstarts, affordable pricing. You can call it programmatically or try it from the playground above.
How do I call the Depth Anything Image API?
POST your input parameters to the model's REST endpoint (shown in the API tab of this playground) with your OpenSIAI API key in the Authorization header. Submission returns a prediction ID. Poll the result endpoint starting around every 2 seconds, increase the interval for long-running tasks, and stop on any terminal status. The playground generates Python, JavaScript, and cURL examples for submitting requests and polling results. Full request/response shape is documented at /docs/docs-api/opensi-ai/depth-anything/image.
How much does Depth Anything Image cost per run or per second?
Depth Anything Image starts at $0.005 per run or per second. That figure is the base price — the final charge scales with the parameters you set in the form (output size, length, count, references, or whatever knobs this model exposes), so a higher-quality or larger output costs more than a minimal one. The exact cost for your current input is shown live next to the Generate button before you submit, and the actual per-call charge is recorded on the prediction afterwards.
What inputs does Depth Anything Image accept?
Key inputs: image, output_format. The full JSON schema (types, defaults, allowed values) is rendered above the Generate button and mirrored in the API reference at /docs/docs-api/opensi-ai/depth-anything/image.
How long does Depth Anything Image take to generate?
Reported generation time on OpenSIAI is around 17 seconds per request. This is an estimate, not a latency guarantee; queue time and input settings can change the total wait. live status is visible in the prediction record.
Can I use Depth Anything Image outputs commercially?
Commercial usage rights depend on the model's license, set by its provider (OpenSIAI). Check the provider's applicable terms and OpenSIAI's Terms of Service before commercial use.
