FoundationPose API

Unified model for 6D pose estimation and tracking of novel objects, from a CAD model or a few reference images, with no fine-tuning. CVPR 2024 highlight, widely used in manipulation.

Live$0.10 per 1,000 callsGet an API key

Call FoundationPose

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/pose",  headers={"Authorization": f"Bearer {os.environ['OPENROBOTICS_API_KEY']}"},  json={    "model": "nvidia/foundationpose",    "image": "<base64 JPEG or PNG>",    "object": "mug",    "depth": "<…>",  # Metric depth of the image: 16-bit PNG in millimetres, the image's size.    "intrinsics": "<…>",  # [fx, fy, cx, cy] in pixels of the image.    "meshes": "<…>",  # The CAD model (ply or obj) of each object, by object name.    "boxes": "<…>",  # Where each object is in the image, [x0, y0, x1, y1] by object name (e.g. from /v1/detect).  },).json()res["poses"]           # translation (m) + rotation quaternion

GPUs start on demand. If FoundationPose 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 FoundationPose needs in a request as served (nvidia/foundationpose), beyond the fields every /v1/pose call takes. The same spec is in inputs on GET /v1/models.

depth
Required. Metric depth of the image: 16-bit PNG in millimetres, the image's size.
intrinsics
Required. [fx, fy, cx, cy] in pixels of the image.
meshes
Required. The CAD model (ply or obj) of each object, by object name.
boxes
Required. Where each object is in the image, [x0, y0, x1, y1] by object name (e.g. from /v1/detect).

Guides about FoundationPose

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.

FoundationPose FAQ

How do I run FoundationPose without my own GPU?
Call POST /v1/pose on the OpenRobotics API with "model": "nvidia/foundationpose". We run FoundationPose on cloud GPUs that start on demand, so there is nothing to install or host.
How much does the FoundationPose 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 FoundationPose use?
The weights we serve (nvidia/foundationpose) are released under NVIDIA Open Model License (refiner_net.onnx + score_net.onnx, hf.co/nvidia/foundationpose); NVlabs/FoundationPose code and nvdiffrast: NVIDIA non-commercial source licenses, not used. Check the license for your use case.
Is FoundationPose open source?
FoundationPose's weights are publicly available under NVIDIA Open Model License (refiner_net.onnx + score_net.onnx, hf.co/nvidia/foundationpose); NVlabs/FoundationPose code and nvdiffrast: NVIDIA non-commercial source licenses, not used. OpenRobotics serves them behind an API so you can use the model without hosting it.

Run FoundationPose with one API call

Create a key, send POST /v1/pose with "model": "nvidia/foundationpose", and pay $0.10 per 1,000 calls.

Get an API keyRead the /v1/pose referenceBrowse pose estimation models