
MoGe-2 ViT-L Normal
Estimates metric depth, surface normals and the camera's field of view from a single photo of any scene, indoors or out.
Fine-tunableZOEDEPTH_NYUMeasures how far away every point of an indoor photo is, in metres (up to 10 m).

| Name | Type | Required | Default | Details |
|---|---|---|---|---|
image | file | Yes | — | The photo: PNG, JPEG or WebP, at most 50 MB and 40 megapixels, at least 32 pixels a side and at most 4:1. The depth map has the photo's size, scaled down to 2048 pixels on the longer side. 1–2048 characters · image/png, jpeg, webp |
output | text | No | png16 | png16: a 16-bit grayscale PNG with the raw depth (metric models: millimetres; relative models: nearness scaled to 0-65535). colormap: a colour picture for viewing, near is bright. Allowed: png16, colormap |
Output. Returns PNG image: The depth map as a PNG (16-bit grayscale or a colour picture, as chosen in output).
Send your API key in the X-API-Key header. The run is asynchronous: submit it, then poll it until it finishes. Create an API key.
curl -X POST "https://api.kainguru.com/api/v1/executions?mlFlowId=ZOEDEPTH_NYU" \
-H "X-API-Key: kg_your_api_key" \
-H "Content-Type: application/json" \
-d '{
"input": {
"image": "https://example.com/input.png",
"output": "png16"
},
"outputFormat": "json"
}'
# Poll until the execution reaches a terminal state
curl "https://api.kainguru.com/api/v1/executions/{executionId}" \
-H "X-API-Key: kg_your_api_key"from kainguru import KainguruClient
with KainguruClient(api_key="kg_your_api_key", base_url="https://api.kainguru.com/api") as client:
submitted = client.executions.execute(
"ZOEDEPTH_NYU",
{
"image": "https://example.com/input.png",
"output": "png16"
},
output_format="json",
)
result = client.executions.await_completion(submitted.id)
print(result.execution.output)You can fine-tune ZoeDepth NYU on your own data and run the tuned model through the same API. Dataset: One ZIP (at most 4 GB, 5000 entries, no password) with 4 to 1000 photos, a depth map for each and a manifest.jsonl with one {"file", "depth"} line per pair. Depth maps are 16-bit grayscale PNGs of distance. More rules: Good to know, in the README.
The steps are in the docs.
Price per image: 0.0418 credits ($0.000418). The price is shown again before every run; all prices are on the pricing page.

Estimates metric depth, surface normals and the camera's field of view from a single photo of any scene, indoors or out.
Fine-tunable
Removes the background from a photo and returns the subject on a transparent background, or as a black-and-white mask.
Fine-tunable
Finds the clothes a person wears in a photo and returns a mask for the upper body, the lower body and full-body…
Fine-tunable
Turns any photo into a depth map that shows which parts are near and which are far.
Fine-tunable
Splits a picture into its objects and regions, such as people, cars, sky and road, with a label and a mask for each one.
Fine-tunable
Removes the background from a photo with fine detail at hair and edges, and returns the subject on a transparent…
Fine-tunable