FoundationStereo API
Zero-shot stereo matching model trained on 1M synthetic pairs with monocular priors. It was a CVPR 2025 best paper nominee, and a real-time Fast-FoundationStereo also exists. Used for robot depth from stereo cameras.
Call FoundationStereo
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": "nvidia/foundationstereo", "image": "<base64 JPEG or PNG>", "right_image": "<…>", # The right view of a rectified stereo pair (`image` is the left), the same size. "baseline": "<…>", # Distance between the two cameras in meters (0–10). "intrinsics": "<…>", # [fx, fy, cx, cy] in pixels of the image; depth = fx · baseline / disparity. },).json()res["depth"]["data"] # row-major depth mapGPUs start on demand. If FoundationStereo 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 FoundationStereo needs in a request as served (nvidia/c-foundationstereo-s), beyond the fields every /v1/depth call takes. The same spec is in inputs on GET /v1/models.
right_image- Required. The right view of a rectified stereo pair (
imageis the left), the same size. baseline- Required. Distance between the two cameras in meters (0–10).
intrinsics- Required. [fx, fy, cx, cy] in pixels of the image; depth = fx · baseline / disparity.
- Notes
- A stereo model:
imageis the left view of a rectified pair.
Guides about FoundationStereo
- NVIDIA GR00T N1 explained: N1, N1.5, N1.6 and N1.7
- What NVIDIA Isaac GR00T is, how its System 1/System 2 design works, what changed from N1 to N1.7, and which versions you can use commercially.
- 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.
FoundationStereo FAQ
- How do I run FoundationStereo without my own GPU?
- Call POST /v1/depth on the OpenRobotics API with "model": "nvidia/foundationstereo". We run FoundationStereo on cloud GPUs that start on demand, so there is nothing to install or host.
- How much does the FoundationStereo 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 FoundationStereo use?
- The weights we serve (nvidia/c-foundationstereo-s) are released under NVIDIA Open Model License (C-FoundationStereo-S; its frozen Depth Anything V2 feature extractor is ViT-S: DAv2-Small, Apache-2.0; EdgeNeXt side-tuned from NVIDIA's own ImageNet training). Check the license for your use case.
- Is FoundationStereo open source?
- FoundationStereo's weights are publicly available under NVIDIA Open Model License (C-FoundationStereo-S; its frozen Depth Anything V2 feature extractor is ViT-S: DAv2-Small, Apache-2.0; EdgeNeXt side-tuned from NVIDIA's own ImageNet training). OpenRobotics serves them behind an API so you can use the model without hosting it.
Run FoundationStereo with one API call
Create a key, send POST /v1/depth with "model": "nvidia/foundationstereo", and pay $0.10 per 1,000 calls.