MoGe-2 API
Monocular geometry model that predicts metric-scale 3D point maps with sharp detail. Extends MoGe, which predicted affine-invariant point maps.
Call MoGe-2
Send one request with your API key. The response comes back in the same call. See the API reference for every field.
import os, requests res = requests.post( "https://api.openrobotics.dev/v1/depth", headers={"Authorization": f"Bearer {os.environ['OPENROBOTICS_API_KEY']}"}, json={ "model": "microsoft/moge-2", "image": "<base64 JPEG or PNG>", },).json()res["depth"]["data"] # row-major depth mapGPUs start on demand. If MoGe-2 hasn't been called for a while, the first request returns 503 with a Retry-After header while it boots (usually a few minutes, never billed).
Inputs
What MoGe-2 needs in a request as served (Ruicheng/moge-2-vitl-normal), beyond the fields every /v1/depth call takes. The same spec is in inputs on GET /v1/models.
intrinsics- Optional. [fx, fy, cx, cy] in pixels of the image: fx fixes the field of view (without it the focal length is recovered from the predicted point map).
Guides about MoGe-2
- Depth Anything V2 and 3: relative vs metric depth
- Understand Depth Anything V2 and 3, relative versus metric depth, API output units, and a tested offline Python pinhole backprojection example.
- Physical AI explained: the open model stack for robots
- What physical AI (embodied AI) means, the five kinds of models a robot uses, from perception to VLAs and world models, and open examples of each.
MoGe-2 FAQ
- How do I run MoGe-2 without my own GPU?
- Call POST /v1/depth on the OpenRobotics API with "model": "microsoft/moge-2". We run MoGe-2 on cloud GPUs that start on demand, so there is nothing to install or host.
- How much does the MoGe-2 API cost?
- $0.10 per 1,000 calls, billed only for successful calls. Pay with prepaid credits or monthly pay-as-you-go.
- What license does MoGe-2 use?
- The weights we serve (Ruicheng/moge-2-vitl-normal) are released under MIT. Check the license for your use case.
- Is MoGe-2 open source?
- MoGe-2's weights are publicly available under MIT. OpenRobotics serves them behind an API so you can use the model without hosting it.
Run MoGe-2 with one API call
Create a key, send POST /v1/depth with "model": "microsoft/moge-2", and pay $0.10 per 1,000 calls.