Fast-FoundationStereo (C-Fast-FoundationStereo) API
Real-time zero-shot stereo matching distilled from FoundationStereo, >10x faster at near-FoundationStereo accuracy. The C- (commercial) checkpoint is released separately from the research checkpoints.
Call Fast-FoundationStereo (C-Fast-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/fast-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 Fast-FoundationStereo (C-Fast-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 Fast-FoundationStereo (C-Fast-FoundationStereo) needs in a request as served (nvidia/c-fast-foundationstereo), 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 Fast-FoundationStereo (C-Fast-FoundationStereo)
- 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.
Fast-FoundationStereo (C-Fast-FoundationStereo) FAQ
- How do I run Fast-FoundationStereo (C-Fast-FoundationStereo) without my own GPU?
- Call POST /v1/depth on the OpenRobotics API with "model": "nvidia/fast-foundationstereo". We run Fast-FoundationStereo (C-Fast-FoundationStereo) on cloud GPUs that start on demand, so there is nothing to install or host.
- How much does the Fast-FoundationStereo (C-Fast-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 Fast-FoundationStereo (C-Fast-FoundationStereo) use?
- The weights we serve (nvidia/c-fast-foundationstereo) are released under NVIDIA Open Model Agreement (weights, commercial use allowed; EdgeNeXt student distilled from FoundationStereo, no DAv2 weights); upstream NVlabs code is research-only and not used. Check the license for your use case.
- Is Fast-FoundationStereo (C-Fast-FoundationStereo) open source?
- Fast-FoundationStereo (C-Fast-FoundationStereo)'s weights are publicly available under NVIDIA Open Model Agreement (weights, commercial use allowed; EdgeNeXt student distilled from FoundationStereo, no DAv2 weights); upstream NVlabs code is research-only and not used. OpenRobotics serves them behind an API so you can use the model without hosting it.
Run Fast-FoundationStereo (C-Fast-FoundationStereo) with one API call
Create a key, send POST /v1/depth with "model": "nvidia/fast-foundationstereo", and pay $0.10 per 1,000 calls.