{"access":{"authentication":{"format":"L402 {macaroon}:{proof_of_payment}","header":"Authorization","protocols":["L402","MPP"],"format_mpp":"Payment <base64url_json>"},"endpoint":"https://sats4ai.com/api/l402/estimate-depth","method":"POST"},"content_type":"api","cover_url":"","description":"Estimate per-pixel depth from a single photo using Depth Anything V2 (NeurIPS 2024). Returns BOTH the raw greyscale depth map — what a ControlNet, AR or 3D reconstruction pipeline consumes — and a colour visualization for humans. Structured geometry a vision LLM cannot produce. 5 sats per image, no API key or signup needed.\n\nSend the image as base64:\n```\n{ \"image\": \"<base64 or data URI>\", \"model_size\": \"Large\" }\n```","name":"Depth Estimation","pricing":[{"tier":"Standard","amount":5,"currency":"SATS"}],"request_body":{"image":{"type":"string","required":true,"description":"Base64 or data URI. PNG, JPEG or WebP."},"model_size":{"type":"string","required":false,"enum":["Small","Base","Large"],"default":"Large","description":"Larger is more accurate; price is the same."}},"response_body":{"depth_map_url":{"type":"string","description":"Greyscale depth map — the one to feed a ControlNet/3D pipeline (temporary, download promptly)"},"depth_color_url":{"type":"string","description":"Colour visualization of the same depth map, for humans (temporary)"}},"quality":{"model":"Depth Anything V2","paper":"Depth Anything V2 (NeurIPS 2024)","benchmark":"monocular relative depth","source":"https://depth-anything-v2.github.io/","note":"3.8M+ runs. Model sizes Small/Base/Large at the same price — Large is the default."}}