# OpenRobotics docs > OpenRobotics is one HTTP API for 182 live open robot foundation models: vision-language-action (VLA) policies, world models, vision encoders, perception (depth, segmentation, detection, tracking, pose, grasping, 3D) and embodied-reasoning models. Send JSON with an API key; a GPU runs the model; you pay per successful call. - No account? `curl -X POST https://api.openrobotics.dev/v1/sandbox/keys` returns a free sandbox key at once (`{"key": "sk-orb-test-…"}`): every call returns simulated output of the real shape with `"sandbox": true`, never billed; it lasts 24 h and makes 20 calls a minute. Real output needs a key from https://www.openrobotics.dev/keys. - Base URL: `https://api.openrobotics.dev/v1`. Every model of a kind takes the same request, so switching models means changing `"model"`. - Auth: `Authorization: Bearer ` on every request. Only `GET /models`, `GET /models/{provider}/{name}` and `POST /sandbox/keys` work without a key. - Get a key: https://www.openrobotics.dev/keys (keys start with `sk-orb-v1-`). From a terminal: `openrobotics login` (browser device flow at https://www.openrobotics.dev/cli). - Test keys: tick "Test key" when creating one. They start with `sk-orb-test-`, are free, never touch a GPU, and return simulated output of the real shape with `"sandbox": true`. - MCP server: `https://api.openrobotics.dev/mcp` (Streamable HTTP). Clients with OAuth (claude.ai and ChatGPT connectors) need only the URL: they sign in and get a key. Others send `Authorization: Bearer `; without a key every request gets `401` with `WWW-Authenticate`. Tools: `list_models`, `get_model`, `get_key`, `act`, `embed`, `depth`, `segment`, `detect`, `track`, `pose`, `grasp`, `hands`, `reconstruct`, `reason`, `reward`, `predict`, `get_job`. - OpenAPI 3.1 spec: https://www.openrobotics.dev/openapi.json (also https://api.openrobotics.dev/v1/openapi.json). - SDKs: Python `pip install openrobotics-sdk` (`from openrobotics import OpenRobotics`), TypeScript `npm i openrobotics` (`import OpenRobotics from "openrobotics"`), CLI `openrobotics`. - Errors: `{"error": {"code", "message", "type", "docs_url"}}`. On `503` with `type: "model_warming"`, wait `Retry-After` seconds and retry (cold starts are never billed). - Every docs, model and blog page has a Markdown version at its URL + `.md`, or with `Accept: text/markdown`. The whole docs in one file: https://www.openrobotics.dev/llms-full.txt. Quickstart, no account (paste into a shell): ```sh # Get a free sandbox key (no account; 24 h, simulated output) KEY=$(curl -s -X POST https://api.openrobotics.dev/v1/sandbox/keys | jq -r .key) # List live models for an endpoint (no key needed) curl -s "https://api.openrobotics.dev/v1/models?status=live&endpoint=act" # Call one (POST /act) curl -s https://api.openrobotics.dev/v1/act -H "Authorization: Bearer $KEY" -H "Content-Type: application/json" -d '{"model":"physical-intelligence/pi0","instruction":"pick up the red cup","observation":{"state":[0,0,0,0,0,0,0,0]},"action_horizon":8}' ``` --- # Quickstart > Call any robot foundation model with one API key and one request format. ## Overview OpenRobotics serves open robot foundation models behind one HTTP API: VLA policies, world models, vision encoders, perception models and embodied-reasoning models. You send JSON with an API key, and a GPU runs the model. Every endpoint is relative to the base URL `https://api.openrobotics.dev/v1`. | You want to | Call | | --- | --- | | Get robot actions from a VLA | [`POST /act`](https://www.openrobotics.dev/docs/api/act) | | Embed an image or clip | [`POST /embed`](https://www.openrobotics.dev/docs/api/embed) | | Depth, segmentation, detection, tracking, 3D | [Perception endpoints](https://www.openrobotics.dev/docs/api/depth) | | Ask about a scene in words | [`POST /reason`](https://www.openrobotics.dev/docs/api/reason) | | Predict the future with a world model | [`POST /predict`](https://www.openrobotics.dev/docs/api/predict) | ## 1. Create an API key [Sign in](https://www.openrobotics.dev/sign-in) and create a key on the [API keys](https://www.openrobotics.dev/keys) page. Keys start with `sk-orb-v1-`. Keep yours in an environment variable, and only on servers or robots you control. Just trying it out? `curl -X POST https://api.openrobotics.dev/v1/sandbox/keys` returns a free [sandbox key](https://www.openrobotics.dev/docs/authentication#test-keys) with no account: simulated output, valid for 24 hours. ```bash export OPENROBOTICS_API_KEY=sk-orb-v1-… ``` ## 2. Check the key [`GET /key`](https://www.openrobotics.dev/docs/api/get-key) returns the key's name, spend and remaining credit limit. A `200` means the key works. cURL: ```bash curl https://api.openrobotics.dev/v1/key \ -H "Authorization: Bearer $OPENROBOTICS_API_KEY" ``` Python: ```python import os, requests res = requests.get( "https://api.openrobotics.dev/v1/key", headers={"Authorization": f"Bearer {os.environ['OPENROBOTICS_API_KEY']}"}, ) print(res.json()) # {"data": {"name": ..., "limit_remaining": ...}} ``` TypeScript: ```typescript const res = await fetch("https://api.openrobotics.dev/v1/key", { headers: { Authorization: `Bearer ${process.env.OPENROBOTICS_API_KEY}` }, }); console.log(await res.json()); ``` ## 3. Call a model Send a VLA the robot's camera image, its state and an instruction. It answers with the next chunk of actions. Python: ```python import os, base64, requests b64 = lambda path: base64.b64encode(open(path, "rb").read()).decode() # π0 as served is a LIBERO fine-tune: its cameras and state layout are in "inputs" on GET /v1/models. obs = { "images": {"agentview": b64("agentview.jpg"), "wrist": b64("wrist.jpg")}, "state": [-0.09, -0.13, 0.56, 3.2, 0.18, -0.12, 0.04, -0.04], # eef xyz, axis-angle, 2 gripper joints } res = requests.post( "https://api.openrobotics.dev/v1/act", headers={"Authorization": f"Bearer {os.environ['OPENROBOTICS_API_KEY']}"}, json={ "model": "physical-intelligence/pi0", "instruction": "pick up the red cup and place it in the sink", "observation": obs, "action_horizon": 50, }, ) actions = res.json()["actions"] # one row per time step ``` TypeScript: ```typescript const res = await fetch("https://api.openrobotics.dev/v1/act", { method: "POST", headers: { Authorization: `Bearer ${process.env.OPENROBOTICS_API_KEY}`, "Content-Type": "application/json", }, body: JSON.stringify({ model: "huggingface/smolvla", instruction: "put the bowl on the stove", // SmolVLA as served (LIBERO): two cameras and LIBERO's 8-number state. observation: { images: { agentview: agentviewBase64, wrist: wristBase64 }, state: eefState }, action_horizon: 10, }), }); const { actions } = await res.json(); ``` cURL: ```bash curl https://api.openrobotics.dev/v1/act \ -H "Authorization: Bearer $OPENROBOTICS_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "model": "openvla/openvla-7b", "instruction": "put the carrot on the plate", "observation": { "image": "" }, "action_horizon": 1 }' ``` The response carries `actions` (one row per time step) and `usage.cost_usd`, the amount charged. Every model of a kind takes the same request, so trying another VLA means changing `model`. Each model page has a ready-made request, and [Get actions](https://www.openrobotics.dev/docs/api/act) lists every field. ## 4. Handle cold starts GPUs start on demand. The first call to a model that hasn't been used for a while returns `503` with a `Retry-After` header while a GPU boots, which usually takes a few minutes. Wait that many seconds and send the request again. These calls are never billed. Python: ```python import os, time, requests def call(endpoint, body): while True: res = requests.post( f"https://api.openrobotics.dev/v1/{endpoint}", headers={"Authorization": f"Bearer {os.environ['OPENROBOTICS_API_KEY']}"}, json=body, ) if res.status_code != 503: res.raise_for_status() return res.json() time.sleep(int(res.headers.get("Retry-After", "30"))) ``` TypeScript: ```typescript async function call(endpoint: string, body: unknown) { for (;;) { const res = await fetch(`https://api.openrobotics.dev/v1/${endpoint}`, { method: "POST", headers: { Authorization: `Bearer ${process.env.OPENROBOTICS_API_KEY}`, "Content-Type": "application/json", }, body: JSON.stringify(body), }); if (res.status !== 503) { if (!res.ok) throw new Error((await res.json()).error.message); return res.json(); } const wait = Number(res.headers.get("Retry-After") ?? 30); await new Promise((r) => setTimeout(r, wait * 1000)); } } ``` ## Next steps - [Models](https://www.openrobotics.dev/docs/models): how to find a model and read its catalog entry. - [Errors](https://www.openrobotics.dev/docs/errors): every status code and what to do about it. - [Pricing and limits](https://www.openrobotics.dev/docs/limits): how calls are billed, and size limits. - [AI agents](https://www.openrobotics.dev/docs/agents): the MCP server, `llms.txt`, the OpenAPI spec and test keys. - The [model catalog](https://www.openrobotics.dev/models): every model with a ready-made request. --- # Authentication > Every request carries an API key as a bearer token. ## API keys Create keys on the [API keys](https://www.openrobotics.dev/keys) page. Keys start with `sk-orb-v1-`, and the full key is shown only once, when you create it. Keys belong to the organization selected when you create them, or to your personal account when none is. ## Sending the key Put the key in the `Authorization` header of every request. Requests with a body also need `Content-Type: application/json`. Header: ``` Authorization: Bearer sk-orb-v1-… ``` cURL: ```bash curl https://api.openrobotics.dev/v1/key \ -H "Authorization: Bearer $OPENROBOTICS_API_KEY" ``` Only [`GET /models`](https://www.openrobotics.dev/docs/api/list-models), [`GET /models/{id}`](https://www.openrobotics.dev/docs/api/get-model) and [`POST /sandbox/keys`](https://www.openrobotics.dev/docs/api/create-sandbox-key) work without a key. ## Test keys Tick **Test key** when you create a key on the [API keys](https://www.openrobotics.dev/keys) page to get a sandbox key. Test keys start with `sk-orb-test-` and work on every endpoint, but: - every call returns simulated output of the real shape, with `"sandbox": true` in the response; - calls are free and never touch a GPU, so there are no cold starts; - requests are validated like live ones, so a request that works with a test key works with a live key. Use them in CI, in tests, and for coding agents that are still building against the API. Switch to a live key (`sk-orb-v1-`) for real model output. **No account?** [`POST /sandbox/keys`](https://www.openrobotics.dev/docs/api/create-sandbox-key) returns a sandbox key straight away, with no sign-up and no key, so an agent or script can try the API end to end. These anonymous keys expire after 24 hours, make at most 20 calls a minute (test keys from the API keys page make 60), and one IP address can create 5 an hour. An expired one gets `401`; create another. Shell: ```bash export OPENROBOTICS_API_KEY=sk-orb-test-… ``` No account: ``` export OPENROBOTICS_API_KEY=$(curl -s -X POST https://api.openrobotics.dev/v1/sandbox/keys | jq -r .key) ``` CLI: ```bash openrobotics login --sandbox # saves an anonymous sandbox key, no browser ``` ## Keeping keys safe - Call the API from servers and robots you control. Never ship a key in a browser or mobile app. - Use one key per robot, app or environment, so you can see each one's spend in [Activity](https://www.openrobotics.dev/activity) and revoke one without touching the others. - Disable a key on the [API keys](https://www.openrobotics.dev/keys) page to pause it (calls get `403`), and enable it again later. - If a key leaks, delete it and create a new one. A deleted key gets `401` right away. ## Credit limits When you create a key, you can give it a credit limit in US dollars to cap what it can spend. A call that would take the key over its limit returns `402` and isn't run. [`GET /key`](https://www.openrobotics.dev/docs/api/get-key) shows a key's spend (`usage`) and what it has left (`limit_remaining`). --- # Models > Find a model, check that it's live, and call the endpoint that serves it. ## Model ids A model id is `provider/name`, for example `physical-intelligence/pi0` or `meta/sam-3`. Send it as `model` in the request body. Browse them on the [models page](https://www.openrobotics.dev/models), list them with [`GET /models`](https://www.openrobotics.dev/docs/api/list-models) (filter with `?status=live&endpoint=act`, `type`, `provider` or `q`), or fetch one with [`GET /models/{id}`](https://www.openrobotics.dev/docs/api/get-model). ## What a model needs Every model of a kind takes the same request, but models differ in which cameras they read, how long their state vector is and what each action row means. The `inputs` field of a model says so, or is `null` when the endpoint's plain request is all it needs. For example, a VLA trained on LIBERO: - `cameras`: `agentview` (required) and `wrist` (optional), the names to use in `observation.images`; - `state`: 8 numbers, with a `layout` saying what each one is; - `action`: 7 numbers per row, and a `horizon` with the default and largest chunk; - `instruction`: whether a language instruction is required; - `notes`: anything else worth knowing. Fields appear only when they apply, and more may be added, so read them as hints. ```bash curl -s https://api.openrobotics.dev/v1/models/physical-intelligence/pi0 | jq .data.inputs ``` ## Types and endpoints Each model's `endpoint` field says which endpoint serves it. Calling the wrong one returns `400` with a message naming the right one. | Type | Endpoint | | --- | --- | | VLA | [`/act`](https://www.openrobotics.dev/docs/api/act) | | World model (video, latent or action-conditioned prediction) | [`/predict`](https://www.openrobotics.dev/docs/api/predict), as a job | | Other world models | [`/act`](https://www.openrobotics.dev/docs/api/act) | | Vision encoder | [`/embed`](https://www.openrobotics.dev/docs/api/embed) | | Perception: depth | [`/depth`](https://www.openrobotics.dev/docs/api/depth) | | Perception: segmentation | [`/segment`](https://www.openrobotics.dev/docs/api/segment) | | Perception: detection | [`/detect`](https://www.openrobotics.dev/docs/api/detect) | | Perception: tracking | [`/track`](https://www.openrobotics.dev/docs/api/track) | | Perception: 6D pose | [`/pose`](https://www.openrobotics.dev/docs/api/pose) | | Perception: grasping | [`/grasp`](https://www.openrobotics.dev/docs/api/grasp) | | Perception: hand pose | [`/hands`](https://www.openrobotics.dev/docs/api/hands) | | Perception: 3D reconstruction | [`/reconstruct`](https://www.openrobotics.dev/docs/api/reconstruct) | | Embodied reasoning | [`/reason`](https://www.openrobotics.dev/docs/api/reason) | | Embodied reasoning: reward (task `"Reward"`) | [`/reward`](https://www.openrobotics.dev/docs/api/reward) | ## Status Only live models can be called. | `status` | Shown as | Meaning | | --- | --- | --- | | `live` | Live | A real model runs on a GPU. Callable. | | `simulated` | Coming soon | Listed, not served yet. Calls return `400` and are never billed. | | `excluded` | Not served | Listed, but its license doesn't allow serving it. `excluded_reason` says why. | Python: ```python import requests models = requests.get( "https://api.openrobotics.dev/v1/models", params={"status": "live", "endpoint": "act"} ).json()["data"] for m in models: print(m["id"], m["price"]) ``` cURL: ```bash curl -s "https://api.openrobotics.dev/v1/models?status=live" | jq -r '.data[].id' ``` ## Checkpoints and embodiments Each model id serves one checkpoint, named in `checkpoint`, and `embodiments` lists the robots or benchmarks it was trained for. A VLA works best on the robot, cameras and action space its checkpoint was trained on. For models that support several, pick one with [`embodiment`](https://www.openrobotics.dev/docs/api/act). ## Cold starts GPUs start on demand and stop when a model is idle. The first call after a quiet spell returns `503` with `Retry-After` while one boots, usually for a few minutes. `latency_ms` in the catalog is the typical time per call once a GPU is warm. --- # Errors > Errors come back as JSON with an HTTP status code, a machine-readable `type` and a message that says what to fix. ## Error format Every error has the same shape. Branch on `type`, not on the message. | Field | Meaning | | --- | --- | | `code` | The HTTP status, repeated. | | `message` | For people: it names the field or limit involved. | | `type` | What kind of error it is: one of the types below. | | `docs_url` | This page, at the section for the type. | ```json { "error": { "code": 401, "message": "Missing or invalid API key", "type": "authentication_error", "docs_url": "https://www.openrobotics.dev/docs/errors#authentication_error" } } ``` ## Status codes Calls that fail are never billed. | Status | `type` | Retry? | | --- | --- | --- | | `400` | [`invalid_request_error`](#invalid_request_error) | No | | `401` | [`authentication_error`](#authentication_error) | No | | `402` | [`insufficient_credits`](#insufficient_credits) | No | | `403` | [`permission_error`](#permission_error) | No | | `404` | [`invalid_request_error`](#invalid_request_error) | No | | `404` | [`not_found_error`](#not_found_error) | No | | `411` | [`invalid_request_error`](#invalid_request_error) | No | | `413` | [`invalid_request_error`](#invalid_request_error) | No | | `429` | [`rate_limit_error`](#rate_limit_error) | Yes, after a pause | | `500` | [`server_error`](#server_error) | Yes, after a pause | | `502` | [`server_error`](#server_error) | Yes, after a pause | | `503` | [`rate_limit_error`](#rate_limit_error) | Yes, after `Retry-After` | | `503` | [`model_warming`](#model_warming) | Yes, after `Retry-After` | | `503` | [`model_unavailable`](#model_unavailable) | Yes, after `Retry-After` | ## invalid_request_error **Status:** `400`, `404`, `411`, `413` The request is invalid: a field is missing or out of range (the message names it), the model isn't live yet, isn't served, or is served by another endpoint (the message names the right one), the body is missing its length (`411`) or is over 8 MB (`413`). **What to do:** Fix the request, or pick a live model from [`GET /models`](https://www.openrobotics.dev/docs/api/list-models). Sending it again unchanged fails the same way. ## authentication_error **Status:** `401` The `Authorization` header is missing, the key is wrong or deleted, or a sandbox key made without an account has expired (they last 24 hours). **What to do:** Send `Authorization: Bearer sk-orb-v1-…` with a key from the [API keys](https://www.openrobotics.dev/keys) page, or get a free sandbox key now with [`POST /sandbox/keys`](https://www.openrobotics.dev/docs/api/create-sandbox-key). See [Authentication](https://www.openrobotics.dev/docs/authentication). ## insufficient_credits **Status:** `402` The account is out of credits, or the call would take the key over its credit limit. The call isn't run. **What to do:** [Add credits](https://www.openrobotics.dev/billing), raise the key's limit, or use a [test key](https://www.openrobotics.dev/docs/authentication#test-keys) while you build. ## permission_error **Status:** `403` The key is disabled, or it isn't allowed to do this. **What to do:** Enable the key on the [API keys](https://www.openrobotics.dev/keys) page, or use another key. ## not_found_error **Status:** `404` No such route, model or job. Jobs are only visible to the key that created them. **What to do:** Check the path against the [API reference](https://www.openrobotics.dev/docs/api/act) and the model id against [`GET /models`](https://www.openrobotics.dev/docs/api/list-models). ## rate_limit_error **Status:** `429`, `503` Too many requests at once, e.g. the key already has 8 world-model jobs queued or running, a sandbox key is over its calls per minute, or too many [sandbox keys](https://www.openrobotics.dev/docs/api/create-sandbox-key) were created (`429` for your IP address, `503` across everyone). **What to do:** Wait for a job to finish, or honour `Retry-After` when it is set. ## model_warming **Status:** `503` A GPU is starting for this model (a cold start). The response has a `Retry-After` header, and the call is never billed. **What to do:** Wait `Retry-After` seconds and send the same request again. A cold start usually takes a few minutes. ## model_unavailable **Status:** `503` The model can't take the call right now: it is at capacity, or no GPU workers serve it. **What to do:** Retry after a short pause, or try another model for the same endpoint. ## server_error **Status:** `500`, `502` Something went wrong on our side, or the model failed on this input (`502`). **What to do:** Retry after a short pause; for `502`, try other input. If it keeps happening, tell us the call's id. ## Retrying Retry `model_warming` after the `Retry-After` seconds, and `server_error`, `model_unavailable` or `rate_limit_error` after a short pause. Don't retry the other types unchanged: the same request will fail the same way. A [world-model job](https://www.openrobotics.dev/docs/api/get-job) that fails reports its own `error` in the job. --- # Pricing and limits > You pay per successful call, at the model's listed price, and requests have a few size limits. ## Pricing Each model has a price per 1,000 calls, shown on the [models page](https://www.openrobotics.dev/models) and as `price` in [`GET /models`](https://www.openrobotics.dev/docs/api/list-models). A call is billed only when it succeeds, and `usage.cost_usd` in the response is exactly what was charged. - **Clips to video encoders** are billed per 16 frames: 64 frames cost 4 calls. - **World-model jobs** are billed once per clip, when the job succeeds. Failed jobs are free. - **Errors**, including `503` cold starts, are never billed. ## Credits Calls draw on your prepaid credits. Add credits, and turn on automatic top-up, on the [Billing](https://www.openrobotics.dev/billing) page. A call that costs more than your balance returns `402` and isn't run. Accounts on pay-as-you-go are invoiced monthly instead. Every call shows up in [Activity](https://www.openrobotics.dev/activity). ## Request limits | Limit | Value | | --- | --- | | Request body | 8 MB | | One image | 4 MB of base64 | | Images in one `/act` call | 4 MB of base64 together; depth maps another 4 MB | | Frames in one `/embed` or `/depth` clip | 4 MB of base64 together | | Images in one `/predict` call | 6 MB of base64 together | | `/act` instruction | 1,000 characters | | `/reason` and `/predict` prompt | 4,000 characters | | `/act` action horizon | 1–100 steps | ## Job limits | Limit | Value | | --- | --- | | Jobs queued or running per key | 8 | | Time a job may wait for a GPU | 30 minutes, then it fails unbilled | | How long output files are kept | 7 days after the job finishes | --- # Use OpenRobotics with AI agents > Everything an AI agent needs to find, learn and call the API: a free sandbox key in one request, an MCP server, Markdown docs and an OpenAPI spec. ## Overview | For | Use | | --- | --- | | An agent that calls robot models as tools | The [MCP server](#mcp-server) at `https://api.openrobotics.dev/mcp` | | A coding agent writing code against the API | [`llms.txt`](https://www.openrobotics.dev/llms.txt), the [Markdown docs](#markdown-docs) and the [OpenAPI spec](#openapi) | | Trying the API right now, with no account | A [sandbox key in one request](#try-it-now) | | Building and testing without spending credits | [Test keys](#test-keys) | | Typed clients | The [SDKs and CLI](#sdks) | ## Try it now, with no account An agent can go from nothing to a working call in three requests, with no sign-up: [`POST /sandbox/keys`](https://www.openrobotics.dev/docs/api/create-sandbox-key) returns a free sandbox key, then it lists the live models and calls one. Sandbox calls return deterministic simulated output of the real shape with `"sandbox": true`, are never billed and never run on a GPU. The key lasts 24 hours and makes up to 20 calls a minute; for real model output, create a key on the [API keys](https://www.openrobotics.dev/keys) page. ```bash # Get a free sandbox key (no account; 24 h, simulated output) KEY=$(curl -s -X POST https://api.openrobotics.dev/v1/sandbox/keys | jq -r .key) # List live models for an endpoint (no key needed) curl -s "https://api.openrobotics.dev/v1/models?status=live&endpoint=act" # Call one (POST /act) curl -s https://api.openrobotics.dev/v1/act -H "Authorization: Bearer $KEY" -H "Content-Type: application/json" -d '{"model":"physical-intelligence/pi0","instruction":"pick up the red cup","observation":{"state":[0,0,0,0,0,0,0,0]},"action_horizon":8}' ``` ## llms.txt [`https://www.openrobotics.dev/llms.txt`](https://www.openrobotics.dev/llms.txt) is a short index of the docs in the [llms.txt](https://llmstxt.org) format: the base URL, how auth works, the live models grouped by endpoint, and a link to every guide and reference page. [`/llms-full.txt`](https://www.openrobotics.dev/llms-full.txt) is the whole of the docs in one Markdown file, for agents that would rather read everything at once. ## Markdown pages Every docs page, model page, model hub and blog post has a Markdown version. Add `.md` to the URL, or send `Accept: text/markdown`. Each page also links its Markdown version with ``, and docs pages have a **Copy as Markdown** button. URL: ``` curl https://www.openrobotics.dev/docs/api/act.md curl https://www.openrobotics.dev/models/physical-intelligence/pi0.md ``` Accept header: ``` curl -H "Accept: text/markdown" https://www.openrobotics.dev/docs/api/act ``` ## OpenAPI spec The API is described by an OpenAPI 3.1 spec at [`https://www.openrobotics.dev/openapi.json`](https://www.openrobotics.dev/openapi.json), also served by the API at `https://api.openrobotics.dev/v1/openapi.json`. It is generated from this reference, so the two always match. Import it into Postman or Insomnia, or give it to a code generator. `GET https://api.openrobotics.dev/v1` returns links to the spec, the docs and the models. ## MCP server The MCP server at `https://api.openrobotics.dev/mcp` (Streamable HTTP) turns the API into tools: `list_models`, `get_model`, `get_key`, `act`, `embed`, `depth`, `segment`, `detect`, `track`, `pose`, `grasp`, `hands`, `reconstruct`, `reason`, `reward`, `predict`, `get_job`. There is one tool per endpoint, plus tools to browse models, check the key and poll world-model jobs. Image fields take base64 or an `https` URL. There are two ways to connect: - **Sign in (OAuth).** Clients that support MCP authorization, such as claude.ai and ChatGPT connectors, need only the URL. They open an OpenRobotics page where you approve the connection, which creates an API key named `MCP · ` for the active account or organization. Tick **Sandbox key** there for a free [test key](#test-keys). Disable or delete the key on the [API keys](https://www.openrobotics.dev/keys) page to disconnect the app. - **API key header.** Clients that take headers, such as Claude Code, Cursor and VS Code, send `Authorization: Bearer …` with a key you create. Every request needs a key: without one the server answers `401` with a `WWW-Authenticate` header, which is what starts sign-in. ## Claude Code Add the server once; Claude Code reads the key from your environment. ```bash claude mcp add --transport http openrobotics https://api.openrobotics.dev/mcp --header "Authorization: Bearer $OPENROBOTICS_API_KEY" ``` ## Claude Desktop and claude.ai In Claude Desktop, add the server to `claude_desktop_config.json` (Settings → Developer → Edit Config). [`mcp-remote`](https://www.npmjs.com/package/mcp-remote) connects to the remote server and adds the key header. ```json { "mcpServers": { "openrobotics": { "command": "npx", "args": [ "-y", "mcp-remote", "https://api.openrobotics.dev/mcp", "--header", "Authorization:${AUTH_HEADER}" ], "env": { "AUTH_HEADER": "Bearer sk-orb-v1-…" } } } } ``` On claude.ai, add a custom connector (Settings → Connectors → Add custom connector) with the URL `https://api.openrobotics.dev/mcp`, then click **Connect** and approve it on OpenRobotics. Connectors added on claude.ai also work in Claude Desktop, without editing the config file. ## ChatGPT In ChatGPT, add a connector (Settings → Connectors → Create, with developer mode on) with the URL `https://api.openrobotics.dev/mcp` and authentication **OAuth**, then approve the connection on OpenRobotics. ## Cursor Add the server to `~/.cursor/mcp.json`, or `.cursor/mcp.json` in a project. Cursor fills in `${env:…}` from your environment. ```json { "mcpServers": { "openrobotics": { "url": "https://api.openrobotics.dev/mcp", "headers": { "Authorization": "Bearer ${env:OPENROBOTICS_API_KEY}" } } } } ``` ## VS Code Add the server to `.vscode/mcp.json`. VS Code asks for the key the first time and stores it securely. ```json { "servers": { "openrobotics": { "type": "http", "url": "https://api.openrobotics.dev/mcp", "headers": { "Authorization": "Bearer ${input:openrobotics-key}" } } }, "inputs": [ { "type": "promptString", "id": "openrobotics-key", "description": "OpenRobotics API key", "password": true } ] } ``` ## Test keys Give agents a test key while they build. Tick **Test key** when you create a key on the [API keys](https://www.openrobotics.dev/keys) page: it starts with `sk-orb-test-`, every call is free and returns simulated output of the real shape with `"sandbox": true`, and nothing runs on a GPU. An agent without one can get its own with [`POST /sandbox/keys`](https://www.openrobotics.dev/docs/api/create-sandbox-key) (no account; it expires in 24 hours), and the MCP server's errors point there too. See [Test keys](https://www.openrobotics.dev/docs/authentication#test-keys). ## SDKs and CLI The SDKs read `OPENROBOTICS_API_KEY` from the environment. The CLI logs in through your browser, so you never paste a key into a terminal. Python: ```python # pip install openrobotics-sdk from openrobotics import OpenRobotics client = OpenRobotics() res = client.act( model="physical-intelligence/pi0", instruction="put the black bowl on the plate", observation={"image": image_b64, "state": state}, ) print(res.actions) ``` TypeScript: ```typescript // npm i openrobotics import OpenRobotics from "openrobotics"; const client = new OpenRobotics(); const res = await client.act({ model: "physical-intelligence/pi0", instruction: "put the black bowl on the plate", observation: { image: imageB64, state }, }); ``` CLI: ```bash openrobotics login # opens https://www.openrobotics.dev/cli in your browser openrobotics login --sandbox # or: a free 24 h sandbox key, no browser or account openrobotics models # the live models ``` ## A prompt for coding agents Paste this into Claude Code, Cursor or any coding agent to get it started on the right foot. ``` Use the OpenRobotics API (https://api.openrobotics.dev/v1) to call robot foundation models. - Read https://www.openrobotics.dev/llms.txt first; every docs page has a Markdown version at its URL + ".md". - The OpenAPI spec is at https://www.openrobotics.dev/openapi.json. - Auth: "Authorization: Bearer $OPENROBOTICS_API_KEY". Never hard-code or print the key. - Find a live model with GET /models?status=live&endpoint=, and check its "inputs" with GET /models/{provider}/{name} before building a request. - Handle 503 model_warming by waiting Retry-After seconds and retrying; branch on error.type. - Use the Python SDK (pip install openrobotics-sdk) or TypeScript SDK (npm i openrobotics) when the project allows. - Test with a test key (sk-orb-test-…): free, simulated output with "sandbox": true. No key yet? POST https://api.openrobotics.dev/v1/sandbox/keys returns one (no account; it lasts 24 h). ``` --- # Get actions > Send a VLA model the robot's current observation and an instruction, and get back the next chunk of actions. `POST https://api.openrobotics.dev/v1/act` Call it in a loop: run the first few actions, take a new observation, and call again. Every VLA takes the same request, so switching models means changing `model`. ## Authorization `Authorization: Bearer sk-orb-v1-…`, your [API key](https://www.openrobotics.dev/docs/authentication), or a free [test key](https://www.openrobotics.dev/docs/authentication#test-keys) (`sk-orb-test-…`; no account? get one with [`POST /sandbox/keys`](https://www.openrobotics.dev/docs/api/create-sandbox-key)). ## Request body JSON, with `Content-Type: application/json`. - `model` (string, required): The VLA to run, e.g. `physical-intelligence/pi0`. The live models for this endpoint are listed below. - `instruction` (string, required): The task in plain language, e.g. `"put the black bowl on the plate"`. 1–1,000 characters. - `observation` (object): What the robot sees and feels now. Most models need at least one image. Images are base64 JPEG or PNG; all of them together must be under 4 MB of base64. - `image` (string): The main camera image. - `images` (object): Several cameras by name, e.g. `{ "agentview": "", "wrist": "" }`. 1–8 cameras; names are 1–64 letters, digits, `_`, `.` or `-`. Use the names in `inputs.cameras` of the model (`GET /v1/models`, also on its model page). - `state` (number[]): Proprioception: joint angles or end-effector pose, and gripper. Up to 128 numbers. Send exactly `inputs.state.dim` numbers in the order of `inputs.state.layout` (none when it is 0). - `depths` (object): Depth maps by camera name, keyed like `images`: 16-bit grayscale PNGs of depth in millimetres. 1–8 cameras, under 4 MB of base64 together. - `cameras` (object): Calibration by camera name, keyed like `images`: `{ intrinsics, extrinsics? }`, where `intrinsics` is a 3×3 pinhole matrix and `extrinsics` an optional 4×4 camera-to-robot transform. 1–8 cameras. - `history` (object): Past frames by camera name, keyed like `images`, oldest first, for models that look back in time (e.g. Alpamayo 2: the front cameras at −2, −1, −0.5 and −0.1 s, the others at −1 and −0.1 s). Up to 32 frames per camera, under 4 MB of base64 together. - `state_history` (number[][]): Earlier states, oldest first, for models that take a history (e.g. Alpamayo 2: the car's 19 previous poses `[x, y, z, yaw]`, 0.1 s apart, in the same frame as `state`; GEAR-SONIC: the 9 previous control ticks). Up to 32 rows of up to 128 numbers. - `reference` (number[][]): Reference frames a tracking controller follows, nearest first (e.g. GEAR-SONIC and GigaBrain-WBC: 10 frames of the humanoid's target joint positions and root motion; the layout is in the model's `inputs`). Up to 32 rows of up to 128 numbers. - `recurrent` (object): Stateful models only: the `recurrent` object of the model's previous answer, sent back unchanged to continue the rollout (e.g. COMPASS's world-model state, GigaBrain-WBC's 98,304-number attention cache). Up to 16 arrays of up to 131,072 numbers. - `action_horizon` (integer): The most action steps to return, 1–100. Default `50`. A model whose chunk is shorter returns its whole chunk. - `embodiment` (string): The robot or benchmark the actions are for, e.g. `"libero"`. It picks the checkpoint, cameras, state layout and action space for models that support several. A checkpoint trained on several datasets may also take a variant that selects one dataset's statistics, e.g. `"libero_spatial"` for OpenVLA-OFT (the model's inputs list them). Up to 64 letters, digits, `_`, `.` or `-`. ## Response - `id` (string): Unique id of this call, e.g. `act_48213`. It matches the call in your Activity dashboard. - `model` (string): The model that answered. - `backend` (string): `"http"`: the real model ran on a GPU. `"simulated"`: stand-in output of the same shape, as test keys get. - `sandbox` (boolean): `true` when the call was made with a [test key](https://www.openrobotics.dev/docs/authentication#test-keys): the output is simulated, nothing ran on a GPU and nothing was charged. Absent otherwise. - `actions` (number[][]): The action chunk: one row per time step, earliest first. The row layout is the model's action space (see its model page), often a 7-number end-effector delta and gripper command. Driving models return the planned trajectory: Alpamayo 2 gives one `[x, y, z, yaw]` pose per 0.1 s in the car's current frame (meters, x forward, y left; radians). - `recurrent` (object): Stateful models only: the state to send back as `observation.recurrent` with the next observation (e.g. COMPASS, UniVLA, GigaBrain-WBC). - `reasoning` (string): Reasoning models only: the explanation the model wrote before its actions (e.g. Alpamayo 2's driving reasoning). - `usage` (object): What the call cost. - `cost_usd` (number): Charged to your credits, in US dollars. - `latency_ms` (integer): Time the model took, in milliseconds. ## Errors Plus the errors every endpoint shares: see [Errors](https://www.openrobotics.dev/docs/errors). ## Example request Python: ```python import os, requests res = requests.post( "https://api.openrobotics.dev/v1/act", headers={"Authorization": f"Bearer {os.environ['OPENROBOTICS_API_KEY']}"}, json={ "model": "physical-intelligence/pi0", "instruction": "put the black bowl on the plate", "observation": { "images": { "agentview": "", "wrist": "", }, "state": [-0.09, -0.13, 0.56, 3.2, 0.18, -0.12, 0.04, -0.04], }, "action_horizon": 50, }, ).json() res["actions"] # one row per time step ``` TypeScript: ```typescript const res = await fetch("https://api.openrobotics.dev/v1/act", { method: "POST", headers: { Authorization: `Bearer ${process.env.OPENROBOTICS_API_KEY}`, "Content-Type": "application/json", }, body: JSON.stringify({ model: "physical-intelligence/pi0", instruction: "put the black bowl on the plate", observation: { images: { agentview: "", wrist: "", }, state: [-0.09, -0.13, 0.56, 3.2, 0.18, -0.12, 0.04, -0.04], }, action_horizon: 50, }), }).then((r) => r.json()); ``` cURL: ```bash curl https://api.openrobotics.dev/v1/act \ -H "Authorization: Bearer $OPENROBOTICS_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"physical-intelligence/pi0","instruction":"put the black bowl on the plate","observation":{"images":{"agentview":"","wrist":""},"state":[-0.09,-0.13,0.56,3.2,0.18,-0.12,0.04,-0.04]},"action_horizon":50}' ``` ## Example response ```json { "id": "act_48213", "model": "physical-intelligence/pi0", "backend": "http", "actions": [ [0.012, -0.034, 0.041, 0.05, -0.05, -0.11, 1], … ], "usage": { "cost_usd": 0.0004, "latency_ms": 412 } } ``` ## Models 63 live for `/act`: - [π0](https://www.openrobotics.dev/models/physical-intelligence/pi0.md): `physical-intelligence/pi0`, $0.40 per 1,000 calls - [π0.5](https://www.openrobotics.dev/models/physical-intelligence/pi0.5.md): `physical-intelligence/pi0.5`, $0.60 per 1,000 calls - [π0-FAST](https://www.openrobotics.dev/models/physical-intelligence/pi0-fast.md): `physical-intelligence/pi0-fast`, $1.00 per 1,000 calls - [GR00T N1.7](https://www.openrobotics.dev/models/nvidia/gr00t-n1.7.md): `nvidia/gr00t-n1.7`, $0.35 per 1,000 calls - [OpenVLA 7B](https://www.openrobotics.dev/models/openvla/openvla-7b.md): `openvla/openvla-7b`, $0.15 per 1,000 calls - [OpenVLA-OFT](https://www.openrobotics.dev/models/openvla/openvla-oft.md): `openvla/openvla-oft`, $0.50 per 1,000 calls - [MiniVLA](https://www.openrobotics.dev/models/stanford-iliad/minivla.md): `stanford-iliad/minivla`, $0.15 per 1,000 calls - [Octo Base](https://www.openrobotics.dev/models/octo/octo-base.md): `octo/octo-base`, $0.05 per 1,000 calls - [Octo Small](https://www.openrobotics.dev/models/octo/octo-small.md): `octo/octo-small`, $0.05 per 1,000 calls - [SmolVLA](https://www.openrobotics.dev/models/huggingface/smolvla.md): `huggingface/smolvla`, $0.04 per 1,000 calls - [RDT-1B](https://www.openrobotics.dev/models/thu-ml/rdt-1b.md): `thu-ml/rdt-1b`, $0.15 per 1,000 calls - [RDT2](https://www.openrobotics.dev/models/thu-ml/rdt2.md): `thu-ml/rdt2`, $1.00 per 1,000 calls - [CogACT](https://www.openrobotics.dev/models/microsoft/cogact.md): `microsoft/cogact`, $0.50 per 1,000 calls - [Rho](https://www.openrobotics.dev/models/microsoft/rho.md): `microsoft/rho`, $0.50 per 1,000 calls - [CrossFormer](https://www.openrobotics.dev/models/berkeley/crossformer.md): `berkeley/crossformer`, $0.05 per 1,000 calls - [RoboVLMs](https://www.openrobotics.dev/models/robovlms/robovlms.md): `robovlms/robovlms`, $1.00 per 1,000 calls - [SpatialVLA](https://www.openrobotics.dev/models/spatialvla/spatialvla-4b.md): `spatialvla/spatialvla-4b`, $0.35 per 1,000 calls - [UniVLA](https://www.openrobotics.dev/models/opendrivelab/univla.md): `opendrivelab/univla`, $1.00 per 1,000 calls - [X-VLA](https://www.openrobotics.dev/models/x-vla/x-vla.md): `x-vla/x-vla`, $0.15 per 1,000 calls - [VLA-Adapter](https://www.openrobotics.dev/models/openhelix/vla-adapter.md): `openhelix/vla-adapter`, $0.15 per 1,000 calls - [Xiaomi-Robotics-0](https://www.openrobotics.dev/models/xiaomi/xiaomi-robotics-0.md): `xiaomi/xiaomi-robotics-0`, $0.35 per 1,000 calls - [LingBot-VLA 2.0](https://www.openrobotics.dev/models/robbyant/lingbot-vla-2.md): `robbyant/lingbot-vla-2`, $0.50 per 1,000 calls - [MolmoAct](https://www.openrobotics.dev/models/allenai/molmoact.md): `allenai/molmoact`, $0.50 per 1,000 calls - [MolmoAct 2](https://www.openrobotics.dev/models/allenai/molmoact2.md): `allenai/molmoact2`, $1.00 per 1,000 calls - [Being-H0.5](https://www.openrobotics.dev/models/beingbeyond/being-h0.5.md): `beingbeyond/being-h0.5`, $0.35 per 1,000 calls - [AIRoA-0](https://www.openrobotics.dev/models/airoa/airoa-0.md): `airoa/airoa-0`, $1.00 per 1,000 calls - [ABot-M0](https://www.openrobotics.dev/models/alibaba-amap/abot-m0.md): `alibaba-amap/abot-m0`, $0.35 per 1,000 calls - [MolmoBot](https://www.openrobotics.dev/models/allenai/molmobot.md): `allenai/molmobot`, $0.35 per 1,000 calls - [AsyncVLA](https://www.openrobotics.dev/models/berkeley/asyncvla.md): `berkeley/asyncvla`, $0.35 per 1,000 calls - [MBRA / LogoNav](https://www.openrobotics.dev/models/berkeley/mbra-logonav.md): `berkeley/mbra-logonav`, $0.15 per 1,000 calls - [NoMaD (with ViNT, GNM)](https://www.openrobotics.dev/models/berkeley/nomad.md): `berkeley/nomad`, $0.15 per 1,000 calls - [OmniVLA](https://www.openrobotics.dev/models/berkeley/omnivla.md): `berkeley/omnivla`, $0.35 per 1,000 calls - [DM0.5](https://www.openrobotics.dev/models/dexmal/dm0.5.md): `dexmal/dm0.5`, $0.35 per 1,000 calls - [HiMoE-VLA](https://www.openrobotics.dev/models/fudan/himoe-vla.md): `fudan/himoe-vla`, $0.35 per 1,000 calls - [GigaBrain-0.7](https://www.openrobotics.dev/models/gigaai/gigabrain-0.7.md): `gigaai/gigabrain-0.7`, $0.35 per 1,000 calls - [GigaBrain-WBC-0.5](https://www.openrobotics.dev/models/gigaai/gigabrain-wbc-0.5.md): `gigaai/gigabrain-wbc-0.5`, $0.15 per 1,000 calls - [ReconVLA](https://www.openrobotics.dev/models/hkust/reconvla.md): `hkust/reconvla`, $0.35 per 1,000 calls - [HoloBrain 0.5](https://www.openrobotics.dev/models/horizon/holobrain-0.5.md): `horizon/holobrain-0.5`, $0.15 per 1,000 calls - [FineART-VLA](https://www.openrobotics.dev/models/huggingface/fineart-vla.md): `huggingface/fineart-vla`, $0.35 per 1,000 calls - [TurboVLA](https://www.openrobotics.dev/models/hust/turbovla.md): `hust/turbovla`, $0.15 per 1,000 calls - [InternW0](https://www.openrobotics.dev/models/internrobotics/internw0.md): `internrobotics/internw0`, $1.00 per 1,000 calls - [FLOWER VLA](https://www.openrobotics.dev/models/kit/flower-vla.md): `kit/flower-vla`, $0.15 per 1,000 calls - [BitVLA](https://www.openrobotics.dev/models/microsoft/bitvla.md): `microsoft/bitvla`, $0.15 per 1,000 calls - [Alpamayo 2](https://www.openrobotics.dev/models/nvidia/alpamayo-2.md): `nvidia/alpamayo-2`, $0.15 per 1,000 calls - [COMPASS](https://www.openrobotics.dev/models/nvidia/compass.md): `nvidia/compass`, $0.35 per 1,000 calls - [Cosmos 3 Policy (Nano / Edge)](https://www.openrobotics.dev/models/nvidia/cosmos-3-policy.md): `nvidia/cosmos-3-policy`, $0.35 per 1,000 calls - [GEAR-SONIC](https://www.openrobotics.dev/models/nvidia/gear-sonic.md): `nvidia/gear-sonic`, $0.15 per 1,000 calls - [CityWalker](https://www.openrobotics.dev/models/nyu/citywalker.md): `nyu/citywalker`, $0.15 per 1,000 calls - [UD-VLA](https://www.openrobotics.dev/models/openhelix/ud-vla.md): `openhelix/ud-vla`, $0.35 per 1,000 calls - [HybridVLA](https://www.openrobotics.dev/models/pku/hybridvla.md): `pku/hybridvla`, $1.00 per 1,000 calls - [VLA-0-Smol](https://www.openrobotics.dev/models/rlc/vla-0-smol.md): `rlc/vla-0-smol`, $0.15 per 1,000 calls - [Hume](https://www.openrobotics.dev/models/sjtu/hume.md): `sjtu/hume`, $0.35 per 1,000 calls - [VLA-JEPA](https://www.openrobotics.dev/models/sjtu/vla-jepa.md): `sjtu/vla-jepa`, $0.35 per 1,000 calls - [Spirit v1.5](https://www.openrobotics.dev/models/spirit-ai/spirit-v1.5.md): `spirit-ai/spirit-v1.5`, $1.00 per 1,000 calls - [VLA Foundry (Foundry-Qwen3VLA-2.1B)](https://www.openrobotics.dev/models/tri/vla-foundry.md): `tri/vla-foundry`, $0.35 per 1,000 calls - [Motus](https://www.openrobotics.dev/models/tsinghua/motus.md): `tsinghua/motus`, $0.35 per 1,000 calls - [TraceVLA](https://www.openrobotics.dev/models/umd/tracevla.md): `umd/tracevla`, $0.35 per 1,000 calls - [UnifoLM-WLA-1.0](https://www.openrobotics.dev/models/unitree/unifolm-wla-1.0.md): `unitree/unifolm-wla-1.0`, $0.35 per 1,000 calls - [Xiaomi-Robotics-1 (XR-1)](https://www.openrobotics.dev/models/xiaomi/xiaomi-robotics-1.md): `xiaomi/xiaomi-robotics-1`, $0.35 per 1,000 calls - [WALL-OSS 1.0 Lite](https://www.openrobotics.dev/models/x-square-robot/wall-oss-1.0-lite.md): `x-square-robot/wall-oss-1.0-lite`, $1.00 per 1,000 calls - [LingBot-VA](https://www.openrobotics.dev/models/robbyant/lingbot-va.md): `robbyant/lingbot-va`, $2.00 per 1,000 calls - [OpenWAM-α](https://www.openrobotics.dev/models/openwam/openwam-alpha.md): `openwam/openwam-alpha`, $2.00 per 1,000 calls - [Praxis-1](https://www.openrobotics.dev/models/runway/praxis-1.md): `runway/praxis-1`, $2.00 per 1,000 calls --- # Embed an image > Run a vision encoder on one image, or a video encoder on a short clip, and get its embedding. `POST https://api.openrobotics.dev/v1/embed` Embeddings come back L2-normalised at the model's real width. Depth-image encoders (`eth/defm`) take a depth map as `image`: a 16-bit grayscale PNG of depth in millimetres, 0 for no measurement. ## Authorization `Authorization: Bearer sk-orb-v1-…`, your [API key](https://www.openrobotics.dev/docs/authentication), or a free [test key](https://www.openrobotics.dev/docs/authentication#test-keys) (`sk-orb-test-…`; no account? get one with [`POST /sandbox/keys`](https://www.openrobotics.dev/docs/api/create-sandbox-key)). ## Request body JSON, with `Content-Type: application/json`. - `model` (string, required): The encoder to run, e.g. `google/siglip2-so400m`. The live models for this endpoint are listed below. - `image` (string): The image, base64 JPEG or PNG. Under 4 MB of base64. Send `image` or `frames`. - `frames` (string[]): Video encoders only (e.g. `meta/v-jepa-2-encoder`): a clip of 1–64 frames, oldest first, all the same size, under 4 MB of base64 together. Billed per 16 frames, so 64 frames cost 4 calls. ## Response - `id` (string): Unique id of this call, e.g. `emb_48213`. It matches the call in your Activity dashboard. - `model` (string): The model that answered. - `backend` (string): `"http"`: the real model ran on a GPU. `"simulated"`: stand-in output of the same shape, as test keys get. - `sandbox` (boolean): `true` when the call was made with a [test key](https://www.openrobotics.dev/docs/authentication#test-keys): the output is simulated, nothing ran on a GPU and nothing was charged. Absent otherwise. - `embedding` (number[]): The embedding, unit length. For a clip, one vector for the whole clip. - `dim` (integer): Its length, e.g. `1152` for SigLIP 2 So400m. - `usage` (object): What the call cost. - `cost_usd` (number): Charged to your credits, in US dollars. - `latency_ms` (integer): Time the model took, in milliseconds. ## Errors - `400`: `frames` sent to an encoder that embeds single images Plus the errors every endpoint shares: see [Errors](https://www.openrobotics.dev/docs/errors). ## Example request Python: ```python import os, requests res = requests.post( "https://api.openrobotics.dev/v1/embed", headers={"Authorization": f"Bearer {os.environ['OPENROBOTICS_API_KEY']}"}, json={ "model": "google/siglip2-so400m", "image": "", }, ).json() res["embedding"] # unit-length vector ``` TypeScript: ```typescript const res = await fetch("https://api.openrobotics.dev/v1/embed", { method: "POST", headers: { Authorization: `Bearer ${process.env.OPENROBOTICS_API_KEY}`, "Content-Type": "application/json", }, body: JSON.stringify({ model: "google/siglip2-so400m", image: "", }), }).then((r) => r.json()); ``` cURL: ```bash curl https://api.openrobotics.dev/v1/embed \ -H "Authorization: Bearer $OPENROBOTICS_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"google/siglip2-so400m","image":""}' ``` ## Example response ```json { "id": "emb_48213", "model": "google/siglip2-so400m", "backend": "http", "embedding": [0.0213, -0.0087, …], "dim": 1152, "usage": { "cost_usd": 0.00002, "latency_ms": 38 } } ``` ## Models 40 live for `/embed`: - [SigLIP So400m](https://www.openrobotics.dev/models/google/siglip-so400m.md): `google/siglip-so400m`, $0.02 per 1,000 calls - [DINOv2](https://www.openrobotics.dev/models/meta/dinov2.md): `meta/dinov2`, $0.02 per 1,000 calls - [ResNet-18 / ResNet-50](https://www.openrobotics.dev/models/microsoft/resnet-18.md): `microsoft/resnet-18`, $0.02 per 1,000 calls - [CLIP ViT-L/14](https://www.openrobotics.dev/models/openai/clip-vit-l-14.md): `openai/clip-vit-l-14`, $0.02 per 1,000 calls - [SigLIP 2](https://www.openrobotics.dev/models/google/siglip2-so400m.md): `google/siglip2-so400m`, $0.02 per 1,000 calls - [EfficientNet](https://www.openrobotics.dev/models/google/efficientnet.md): `google/efficientnet`, $0.02 per 1,000 calls - [R3M](https://www.openrobotics.dev/models/meta/r3m.md): `meta/r3m`, $0.02 per 1,000 calls - [DINOv3](https://www.openrobotics.dev/models/meta/dinov3.md): `meta/dinov3`, $0.02 per 1,000 calls - [MAE (Masked Autoencoder)](https://www.openrobotics.dev/models/meta/mae.md): `meta/mae`, $0.02 per 1,000 calls - [Vision Transformer (ViT)](https://www.openrobotics.dev/models/google/vit.md): `google/vit`, $0.02 per 1,000 calls - [OpenCLIP (ViT-H/14, ViT-bigG/14)](https://www.openrobotics.dev/models/laion/openclip.md): `laion/openclip`, $0.05 per 1,000 calls - [EVA-CLIP / EVA02-CLIP](https://www.openrobotics.dev/models/baai/eva-clip.md): `baai/eva-clip`, $0.02 per 1,000 calls - [V-JEPA 2 encoder](https://www.openrobotics.dev/models/meta/v-jepa-2-encoder.md): `meta/v-jepa-2-encoder`, $0.02 per 1,000 calls - [C-RADIOv4](https://www.openrobotics.dev/models/nvidia/c-radiov4.md): `nvidia/c-radiov4`, $0.02 per 1,000 calls - [Perception Encoder (PE-Core / PE-Lang / PE-Spatial)](https://www.openrobotics.dev/models/meta/perception-encoder.md): `meta/perception-encoder`, $0.10 per 1,000 calls - [Voltron](https://www.openrobotics.dev/models/stanford/voltron.md): `stanford/voltron`, $0.10 per 1,000 calls - [LIV](https://www.openrobotics.dev/models/upenn/liv.md): `upenn/liv`, $0.10 per 1,000 calls - [SPA](https://www.openrobotics.dev/models/haoyizhu/spa.md): `haoyizhu/spa`, $0.10 per 1,000 calls - [HRP](https://www.openrobotics.dev/models/cmu/hrp.md): `cmu/hrp`, $0.10 per 1,000 calls - [SAM image encoder](https://www.openrobotics.dev/models/meta/sam-encoder.md): `meta/sam-encoder`, $0.02 per 1,000 calls - [SAM 2 image encoder (Hiera)](https://www.openrobotics.dev/models/meta/sam-2-encoder.md): `meta/sam-2-encoder`, $0.02 per 1,000 calls - [InternViT (6B / 300M)](https://www.openrobotics.dev/models/opengvlab/internvit.md): `opengvlab/internvit`, $0.02 per 1,000 calls - [V-JEPA 2.1 encoder](https://www.openrobotics.dev/models/meta/v-jepa-2.1-encoder.md): `meta/v-jepa-2.1-encoder`, $0.02 per 1,000 calls - [InternVideo2](https://www.openrobotics.dev/models/opengvlab/internvideo2.md): `opengvlab/internvideo2`, $0.10 per 1,000 calls - [TULIP](https://www.openrobotics.dev/models/berkeley/tulip.md): `berkeley/tulip`, $0.05 per 1,000 calls - [RICE (MLCD successor)](https://www.openrobotics.dev/models/deepglint/rice.md): `deepglint/rice`, $0.02 per 1,000 calls - [DeFM (Depth Foundation Model)](https://www.openrobotics.dev/models/eth/defm.md): `eth/defm`, $0.02 per 1,000 calls - [FiT3D](https://www.openrobotics.dev/models/eth/fit3d.md): `eth/fit3d`, $0.02 per 1,000 calls - [TIPSv2](https://www.openrobotics.dev/models/google/tipsv2.md): `google/tipsv2`, $0.02 per 1,000 calls - [VideoPrism](https://www.openrobotics.dev/models/google/videoprism.md): `google/videoprism`, $0.02 per 1,000 calls - [DynaFLIP](https://www.openrobotics.dev/models/larr/dynaflip.md): `larr/dynaflip`, $0.02 per 1,000 calls - [Perception Encoder Audio-Visual (PE-AV)](https://www.openrobotics.dev/models/meta/pe-av.md): `meta/pe-av`, $0.05 per 1,000 calls - [UniViTAR](https://www.openrobotics.dev/models/mm-mvr/univitar.md): `mm-mvr/univitar`, $0.02 per 1,000 calls - [MoonViT](https://www.openrobotics.dev/models/moonshotai/moonvit.md): `moonshotai/moonvit`, $0.02 per 1,000 calls - [Cosmos-Embed1](https://www.openrobotics.dev/models/nvidia/cosmos-embed1.md): `nvidia/cosmos-embed1`, $0.02 per 1,000 calls - [InternVideo-Next](https://www.openrobotics.dev/models/opengvlab/internvideo-next.md): `opengvlab/internvideo-next`, $0.02 per 1,000 calls - [FG-CLIP 2](https://www.openrobotics.dev/models/qihoo360/fg-clip-2.md): `qihoo360/fg-clip-2`, $0.05 per 1,000 calls - [LingBot-Vision](https://www.openrobotics.dev/models/robbyant/lingbot-vision.md): `robbyant/lingbot-vision`, $0.02 per 1,000 calls - [Long-CLIP](https://www.openrobotics.dev/models/thu/longclip.md): `thu/longclip`, $0.02 per 1,000 calls - [OpenVision](https://www.openrobotics.dev/models/ucsc-vlaa/openvision.md): `ucsc-vlaa/openvision`, $0.02 per 1,000 calls --- # Estimate depth > Get a depth map for an image, a rectified stereo pair or a short clip. `POST https://api.openrobotics.dev/v1/depth` The map comes back at the image's aspect ratio with its longest side at most 256 pixels. Which inputs a model uses depends on the model: stereo models need `right_image`, depth-prompted models take `prompt_depth`, and video depth models take `frames`. ## Authorization `Authorization: Bearer sk-orb-v1-…`, your [API key](https://www.openrobotics.dev/docs/authentication), or a free [test key](https://www.openrobotics.dev/docs/authentication#test-keys) (`sk-orb-test-…`; no account? get one with [`POST /sandbox/keys`](https://www.openrobotics.dev/docs/api/create-sandbox-key)). ## Request body JSON, with `Content-Type: application/json`. - `model` (string, required): The depth model to run, e.g. `bytedance/depth-anything-v2`. The live models for this endpoint are listed below. - `image` (string, required): The image (the left image of a stereo pair), base64 JPEG or PNG. Under 4 MB of base64. Required unless you send `frames`. - `intrinsics` (number[4]): `[fx, fy, cx, cy]` in pixels of the image (fx, fy > 0). Metric models that need the focal length use it; stereo models need it for meters. - `right_image` (string): Stereo models: the right image of the rectified pair, the same size as `image`. With `intrinsics` and `baseline` the depth is in meters. - `baseline` (number): Stereo models: the distance between the two cameras, in meters (0–10). - `prompt_depth` (string): Depth-prompted models: a low-resolution depth map of the same view (e.g. from LiDAR) as a 16-bit grayscale PNG in millimetres, 0 for no measurement. - `frames` (string[]): Video depth models: a clip of 1–16 frames, oldest first, all the same size, under 4 MB of base64 together. Send it instead of `image`; it can't be combined with `right_image`, `baseline` or `prompt_depth`. ## Response - `id` (string): Unique id of this call, e.g. `dep_48213`. It matches the call in your Activity dashboard. - `model` (string): The model that answered. - `backend` (string): `"http"`: the real model ran on a GPU. `"simulated"`: stand-in output of the same shape, as test keys get. - `sandbox` (boolean): `true` when the call was made with a [test key](https://www.openrobotics.dev/docs/authentication#test-keys): the output is simulated, nothing ran on a GPU and nothing was charged. Absent otherwise. - `depth` (object): The depth map (for a clip, the last frame's). - `width` (integer): Map width in pixels. - `height` (integer): Map height in pixels. - `unit` (string): `"m"`: meters. `"relative_inverse"`: unitless inverse depth, larger is closer. `"relative"`: unitless depth, larger is farther, with unknown scale and shift. - `scale` (number): Map width ÷ your image's width (1 when the image is 256 pixels or smaller). - `data` (number[]): `width × height` values, row by row from the top-left. - `frames` (object[]): For a clip: one depth map per frame, oldest first, on one consistent scale. - `usage` (object): What the call cost. - `cost_usd` (number): Charged to your credits, in US dollars. - `latency_ms` (integer): Time the model took, in milliseconds. ## Errors Plus the errors every endpoint shares: see [Errors](https://www.openrobotics.dev/docs/errors). ## Example request Python: ```python import os, requests res = requests.post( "https://api.openrobotics.dev/v1/depth", headers={"Authorization": f"Bearer {os.environ['OPENROBOTICS_API_KEY']}"}, json={ "model": "bytedance/depth-anything-v2", "image": "", }, ).json() res["depth"]["data"] # row-major depth map ``` TypeScript: ```typescript const res = await fetch("https://api.openrobotics.dev/v1/depth", { method: "POST", headers: { Authorization: `Bearer ${process.env.OPENROBOTICS_API_KEY}`, "Content-Type": "application/json", }, body: JSON.stringify({ model: "bytedance/depth-anything-v2", image: "", }), }).then((r) => r.json()); ``` cURL: ```bash curl https://api.openrobotics.dev/v1/depth \ -H "Authorization: Bearer $OPENROBOTICS_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"bytedance/depth-anything-v2","image":""}' ``` ## Example response ```json { "id": "dep_48213", "model": "bytedance/depth-anything-v2", "backend": "http", "depth": { "width": 256, "height": 192, "unit": "relative_inverse", "scale": 0.4, "data": [0.412, 0.415, …] }, "usage": { "cost_usd": 0.00005, "latency_ms": 96 } } ``` ## Models 12 live for `/depth`: - [Depth Anything V2](https://www.openrobotics.dev/models/bytedance/depth-anything-v2.md): `bytedance/depth-anything-v2`, $0.10 per 1,000 calls - [Depth Anything 3](https://www.openrobotics.dev/models/bytedance/depth-anything-3.md): `bytedance/depth-anything-3`, $0.10 per 1,000 calls - [FoundationStereo](https://www.openrobotics.dev/models/nvidia/foundationstereo.md): `nvidia/foundationstereo`, $0.10 per 1,000 calls - [MoGe-2](https://www.openrobotics.dev/models/microsoft/moge-2.md): `microsoft/moge-2`, $0.10 per 1,000 calls - [Prompt Depth Anything](https://www.openrobotics.dev/models/bytedance/prompt-depth-anything.md): `bytedance/prompt-depth-anything`, $0.10 per 1,000 calls - [Video Depth Anything](https://www.openrobotics.dev/models/bytedance/video-depth-anything.md): `bytedance/video-depth-anything`, $0.10 per 1,000 calls - [Lotus (Depth G v2.1)](https://www.openrobotics.dev/models/hkust-gz/lotus.md): `hkust-gz/lotus`, $0.10 per 1,000 calls - [Pixel-Perfect Depth](https://www.openrobotics.dev/models/hust/pixel-perfect-depth.md): `hust/pixel-perfect-depth`, $0.10 per 1,000 calls - [MetricAnything (Student DepthMap)](https://www.openrobotics.dev/models/metric-anything/metricanything.md): `metric-anything/metricanything`, $0.10 per 1,000 calls - [Fast-FoundationStereo (C-Fast-FoundationStereo)](https://www.openrobotics.dev/models/nvidia/fast-foundationstereo.md): `nvidia/fast-foundationstereo`, $0.10 per 1,000 calls - [Marigold Depth v1.1](https://www.openrobotics.dev/models/prs-eth/marigold-depth-v1-1.md): `prs-eth/marigold-depth-v1-1`, $0.10 per 1,000 calls - [Distill Any Depth](https://www.openrobotics.dev/models/westlake/distill-any-depth.md): `westlake/distill-any-depth`, $0.10 per 1,000 calls --- # Segment objects > Get object masks for an image from point, box or text prompts. `POST https://api.openrobotics.dev/v1/segment` Send at least one prompt. Text prompts return a mask for every instance of the concept, each labelled with the text it answers. ## Authorization `Authorization: Bearer sk-orb-v1-…`, your [API key](https://www.openrobotics.dev/docs/authentication), or a free [test key](https://www.openrobotics.dev/docs/authentication#test-keys) (`sk-orb-test-…`; no account? get one with [`POST /sandbox/keys`](https://www.openrobotics.dev/docs/api/create-sandbox-key)). ## Request body JSON, with `Content-Type: application/json`. - `model` (string, required): The segmentation model to run, e.g. `meta/sam-3`. The live models for this endpoint are listed below. - `image` (string, required): The image, base64 JPEG or PNG (a `data:` URL works too). Under 4 MB of base64. - `points` (number[][]): Up to 32 `[x, y]` pixel positions on the object. - `boxes` (number[][]): Up to 32 boxes, each `[x0, y0, x1, y1]` in pixels. - `text` (string | string[]): What to find, e.g. `"red cup"`, or up to 16 phrases. For models that take text (e.g. SAM 3). ## Response - `id` (string): Unique id of this call, e.g. `seg_48213`. It matches the call in your Activity dashboard. - `model` (string): The model that answered. - `backend` (string): `"http"`: the real model ran on a GPU. `"simulated"`: stand-in output of the same shape, as test keys get. - `sandbox` (boolean): `true` when the call was made with a [test key](https://www.openrobotics.dev/docs/authentication#test-keys): the output is simulated, nothing ran on a GPU and nothing was charged. Absent otherwise. - `masks` (object[]): One per object found. - `score` (number): Confidence, 0–1. - `box` (number[4]): The mask's bounding box, `[x0, y0, x1, y1]` in pixels. - `area` (integer): Mask area in pixels. - `rle` (object): The mask as uncompressed COCO RLE: `{ size: [height, width], counts }`, column-major (the format `pycocotools` decodes). - `text` (string): For text prompts: the phrase this mask answers. - `usage` (object): What the call cost. - `cost_usd` (number): Charged to your credits, in US dollars. - `latency_ms` (integer): Time the model took, in milliseconds. ## Errors Plus the errors every endpoint shares: see [Errors](https://www.openrobotics.dev/docs/errors). ## Example request Python: ```python import os, requests res = requests.post( "https://api.openrobotics.dev/v1/segment", headers={"Authorization": f"Bearer {os.environ['OPENROBOTICS_API_KEY']}"}, json={ "model": "meta/sam-3", "image": "", "text": "red cup", }, ).json() res["masks"][0]["rle"] # COCO RLE mask ``` TypeScript: ```typescript const res = await fetch("https://api.openrobotics.dev/v1/segment", { method: "POST", headers: { Authorization: `Bearer ${process.env.OPENROBOTICS_API_KEY}`, "Content-Type": "application/json", }, body: JSON.stringify({ model: "meta/sam-3", image: "", text: "red cup", }), }).then((r) => r.json()); ``` cURL: ```bash curl https://api.openrobotics.dev/v1/segment \ -H "Authorization: Bearer $OPENROBOTICS_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"meta/sam-3","image":"","text":"red cup"}' ``` ## Example response ```json { "id": "seg_48213", "model": "meta/sam-3", "backend": "http", "masks": [ { "text": "red cup", "score": 0.93, "box": [212.4, 140.1, 318.9, 266], "area": 10512, "rle": { "size": [480, 640], "counts": [135822, 41, 437, …] } } ], "usage": { "cost_usd": 0.0001, "latency_ms": 180 } } ``` ## Models 7 live for `/segment`: - [SAM 2](https://www.openrobotics.dev/models/meta/sam-2.md): `meta/sam-2`, $0.10 per 1,000 calls - [SAM 3](https://www.openrobotics.dev/models/meta/sam-3.md): `meta/sam-3`, $0.10 per 1,000 calls - [Segment Anything (SAM)](https://www.openrobotics.dev/models/meta/sam.md): `meta/sam`, $0.10 per 1,000 calls - [Grounded SAM 2](https://www.openrobotics.dev/models/idea-research/grounded-sam-2.md): `idea-research/grounded-sam-2`, $0.10 per 1,000 calls - [EfficientSAM3](https://www.openrobotics.dev/models/bristol/efficientsam3.md): `bristol/efficientsam3`, $0.10 per 1,000 calls - [Sa2VA (Qwen3-VL-4B)](https://www.openrobotics.dev/models/bytedance/sa2va.md): `bytedance/sa2va`, $0.10 per 1,000 calls - [EdgeTAM](https://www.openrobotics.dev/models/meta/edgetam.md): `meta/edgetam`, $0.10 per 1,000 calls --- # Detect objects > Find objects by name in an image and get a labelled box for each. `POST https://api.openrobotics.dev/v1/detect` ## Authorization `Authorization: Bearer sk-orb-v1-…`, your [API key](https://www.openrobotics.dev/docs/authentication), or a free [test key](https://www.openrobotics.dev/docs/authentication#test-keys) (`sk-orb-test-…`; no account? get one with [`POST /sandbox/keys`](https://www.openrobotics.dev/docs/api/create-sandbox-key)). ## Request body JSON, with `Content-Type: application/json`. - `model` (string, required): The detection model to run, e.g. `idea-research/grounding-dino`. The live models for this endpoint are listed below. - `image` (string, required): The image, base64 JPEG or PNG (a `data:` URL works too). Under 4 MB of base64. - `labels` (string[], required): What to look for, e.g. `["cup", "bowl"]`. 1–50 names, each up to 200 characters. ## Response - `id` (string): Unique id of this call, e.g. `det_48213`. It matches the call in your Activity dashboard. - `model` (string): The model that answered. - `backend` (string): `"http"`: the real model ran on a GPU. `"simulated"`: stand-in output of the same shape, as test keys get. - `sandbox` (boolean): `true` when the call was made with a [test key](https://www.openrobotics.dev/docs/authentication#test-keys): the output is simulated, nothing ran on a GPU and nothing was charged. Absent otherwise. - `detections` (object[]): One per object found. - `label` (string): Which of your labels it matched. - `score` (number): Confidence, 0–1. - `box` (number[4]): `[x0, y0, x1, y1]` in pixels. - `usage` (object): What the call cost. - `cost_usd` (number): Charged to your credits, in US dollars. - `latency_ms` (integer): Time the model took, in milliseconds. ## Errors Plus the errors every endpoint shares: see [Errors](https://www.openrobotics.dev/docs/errors). ## Example request Python: ```python import os, requests res = requests.post( "https://api.openrobotics.dev/v1/detect", headers={"Authorization": f"Bearer {os.environ['OPENROBOTICS_API_KEY']}"}, json={ "model": "idea-research/grounding-dino", "image": "", "labels": ["cup", "bowl"], }, ).json() res["detections"] # label, score, box ``` TypeScript: ```typescript const res = await fetch("https://api.openrobotics.dev/v1/detect", { method: "POST", headers: { Authorization: `Bearer ${process.env.OPENROBOTICS_API_KEY}`, "Content-Type": "application/json", }, body: JSON.stringify({ model: "idea-research/grounding-dino", image: "", labels: ["cup", "bowl"], }), }).then((r) => r.json()); ``` cURL: ```bash curl https://api.openrobotics.dev/v1/detect \ -H "Authorization: Bearer $OPENROBOTICS_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"idea-research/grounding-dino","image":"","labels":["cup","bowl"]}' ``` ## Example response ```json { "id": "det_48213", "model": "idea-research/grounding-dino", "backend": "http", "detections": [ { "label": "cup", "score": 0.87, "box": [212.4, 140.1, 318.9, 266] }, { "label": "bowl", "score": 0.71, "box": [380.2, 220.5, 520, 330.8] } ], "usage": { "cost_usd": 0.0001, "latency_ms": 140 } } ``` ## Models 7 live for `/detect`: - [Grounding DINO](https://www.openrobotics.dev/models/idea-research/grounding-dino.md): `idea-research/grounding-dino`, $0.10 per 1,000 calls - [OWLv2](https://www.openrobotics.dev/models/google/owlv2.md): `google/owlv2`, $0.10 per 1,000 calls - [Florence-2](https://www.openrobotics.dev/models/microsoft/florence-2.md): `microsoft/florence-2`, $0.10 per 1,000 calls - [RF-DETR](https://www.openrobotics.dev/models/roboflow/rf-detr.md): `roboflow/rf-detr`, $0.10 per 1,000 calls - [LLMDet](https://www.openrobotics.dev/models/isee/llmdet.md): `isee/llmdet`, $0.10 per 1,000 calls - [OmDet-Turbo](https://www.openrobotics.dev/models/omlab/omdet-turbo.md): `omlab/omdet-turbo`, $0.10 per 1,000 calls - [D-FINE](https://www.openrobotics.dev/models/ustc/d-fine.md): `ustc/d-fine`, $0.10 per 1,000 calls --- # Track points > Follow points through a video: give their positions in the first frame and get their positions in every frame. `POST https://api.openrobotics.dev/v1/track` ## Authorization `Authorization: Bearer sk-orb-v1-…`, your [API key](https://www.openrobotics.dev/docs/authentication), or a free [test key](https://www.openrobotics.dev/docs/authentication#test-keys) (`sk-orb-test-…`; no account? get one with [`POST /sandbox/keys`](https://www.openrobotics.dev/docs/api/create-sandbox-key)). ## Request body JSON, with `Content-Type: application/json`. - `model` (string, required): The tracking model to run, e.g. `google-deepmind/tapnext`. The live models for this endpoint are listed below. - `frames` (string[], required): The video, 2–64 frames, oldest first. Each a base64 JPEG or PNG under 4 MB of base64. - `points` (number[][], required): 1–256 `[x, y]` pixel positions in the first frame. - `depths` (string[]): RGB-D trackers (TAPIP3D) require it: one depth map per frame, the same size, as a base64 16-bit grayscale PNG in millimetres (0 = no measurement). 2-D trackers refuse it. - `intrinsics` (number[]): RGB-D trackers: the camera's `[fx, fy, cx, cy]` in pixels, shared by all frames. Required with `depths`. - `poses` (number[][]): RGB-D trackers, optional: one camera-to-world pose per frame (16 numbers, row-major 4×4, meters) for a moving camera. Without them the camera is taken as static. ## Response - `id` (string): Unique id of this call, e.g. `trk_48213`. It matches the call in your Activity dashboard. - `model` (string): The model that answered. - `backend` (string): `"http"`: the real model ran on a GPU. `"simulated"`: stand-in output of the same shape, as test keys get. - `sandbox` (boolean): `true` when the call was made with a [test key](https://www.openrobotics.dev/docs/authentication#test-keys): the output is simulated, nothing ran on a GPU and nothing was charged. Absent otherwise. - `tracks` (object[][]): One list per point, in the order you sent them, with one entry per frame: `{ x, y, visible }`, where `visible` is false while the point is hidden. RGB-D trackers add `point: [x, y, z]` in meters, in the world frame of `poses` (without poses, the camera's: x right, y down, z forward). - `usage` (object): What the call cost. - `cost_usd` (number): Charged to your credits, in US dollars. - `latency_ms` (integer): Time the model took, in milliseconds. ## Errors Plus the errors every endpoint shares: see [Errors](https://www.openrobotics.dev/docs/errors). ## Example request Python: ```python import os, requests res = requests.post( "https://api.openrobotics.dev/v1/track", headers={"Authorization": f"Bearer {os.environ['OPENROBOTICS_API_KEY']}"}, json={ "model": "google-deepmind/tapnext", "frames": ["", "", "…"], "points": [[320, 240]], }, ).json() res["tracks"] # per point, per frame { x, y, visible } ``` TypeScript: ```typescript const res = await fetch("https://api.openrobotics.dev/v1/track", { method: "POST", headers: { Authorization: `Bearer ${process.env.OPENROBOTICS_API_KEY}`, "Content-Type": "application/json", }, body: JSON.stringify({ model: "google-deepmind/tapnext", frames: ["", "", "…"], points: [[320, 240]], }), }).then((r) => r.json()); ``` cURL: ```bash curl https://api.openrobotics.dev/v1/track \ -H "Authorization: Bearer $OPENROBOTICS_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"google-deepmind/tapnext","frames":["","","…"],"points":[[320,240]]}' ``` ## Example response ```json { "id": "trk_48213", "model": "google-deepmind/tapnext", "backend": "http", "tracks": [ [ { "x": 320, "y": 240, "visible": true }, { "x": 324.6, "y": 238.1, "visible": true }, … ] ], "usage": { "cost_usd": 0.0002, "latency_ms": 410 } } ``` ## Models 5 live for `/track`: - [TAPNext](https://www.openrobotics.dev/models/google-deepmind/tapnext.md): `google-deepmind/tapnext`, $0.10 per 1,000 calls - [TAPIR / BootsTAP](https://www.openrobotics.dev/models/google-deepmind/tapir.md): `google-deepmind/tapir`, $0.10 per 1,000 calls - [TAPIP3D](https://www.openrobotics.dev/models/cmu/tapip3d.md): `cmu/tapip3d`, $0.10 per 1,000 calls - [Track-On2](https://www.openrobotics.dev/models/kuis-ai/track-on2.md): `kuis-ai/track-on2`, $0.10 per 1,000 calls - [AllTracker](https://www.openrobotics.dev/models/stanford/alltracker.md): `stanford/alltracker`, $0.10 per 1,000 calls --- # Estimate 6D pose > Locate named objects in 3D: get each one's position and orientation in the camera frame. `POST https://api.openrobotics.dev/v1/pose` ## Authorization `Authorization: Bearer sk-orb-v1-…`, your [API key](https://www.openrobotics.dev/docs/authentication), or a free [test key](https://www.openrobotics.dev/docs/authentication#test-keys) (`sk-orb-test-…`; no account? get one with [`POST /sandbox/keys`](https://www.openrobotics.dev/docs/api/create-sandbox-key)). ## Request body JSON, with `Content-Type: application/json`. - `model` (string, required): The pose model to run. The models for this endpoint are listed below. - `image` (string, required): The image, base64 JPEG or PNG (a `data:` URL works too). Under 4 MB of base64. - `object` (string): The object to locate, by name or mesh id. Send `object` or `objects`. - `objects` (string[]): Several objects, up to 16. - `depth` (string): A depth image of the same view. - `intrinsics` (number[4]): `[fx, fy, cx, cy]` in pixels of the image (fx, fy > 0). - `meshes` (object): CAD models by object name, for model-based estimators: `{ "mug": { format, data, units? } }` with `format` `"ply"` or `"obj"`, `data` the file as base64, and `units` `"m"` (default) or `"mm"`. Under 2 MB of base64 together. - `boxes` (object): Where each object is in the image, by object name (e.g. from [detect](https://www.openrobotics.dev/docs/api/detect)): `[x0, y0, x1, y1]` in pixels. ## Response - `id` (string): Unique id of this call, e.g. `pos_48213`. It matches the call in your Activity dashboard. - `model` (string): The model that answered. - `backend` (string): `"http"`: the real model ran on a GPU. `"simulated"`: stand-in output of the same shape, as test keys get. - `sandbox` (boolean): `true` when the call was made with a [test key](https://www.openrobotics.dev/docs/authentication#test-keys): the output is simulated, nothing ran on a GPU and nothing was charged. Absent otherwise. - `poses` (object[]): One per object found, in the camera frame. - `object` (string): Which object. - `score` (number): Confidence, 0–1. - `translation` (number[3]): `[x, y, z]` in meters. - `rotation` (number[4]): Quaternion `[qx, qy, qz, qw]`. - `usage` (object): What the call cost. - `cost_usd` (number): Charged to your credits, in US dollars. - `latency_ms` (integer): Time the model took, in milliseconds. ## Errors Plus the errors every endpoint shares: see [Errors](https://www.openrobotics.dev/docs/errors). ## Example request Python: ```python import os, requests res = requests.post( "https://api.openrobotics.dev/v1/pose", headers={"Authorization": f"Bearer {os.environ['OPENROBOTICS_API_KEY']}"}, json={ "model": "", "image": "", "object": "mug", }, ).json() res["poses"] # translation (m) + rotation quaternion ``` TypeScript: ```typescript const res = await fetch("https://api.openrobotics.dev/v1/pose", { method: "POST", headers: { Authorization: `Bearer ${process.env.OPENROBOTICS_API_KEY}`, "Content-Type": "application/json", }, body: JSON.stringify({ model: "", image: "", object: "mug", }), }).then((r) => r.json()); ``` cURL: ```bash curl https://api.openrobotics.dev/v1/pose \ -H "Authorization: Bearer $OPENROBOTICS_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"","image":"","object":"mug"}' ``` ## Example response ```json { "id": "pos_48213", "model": "", "backend": "http", "poses": [ { "object": "mug", "score": 0.91, "translation": [0.08, -0.03, 0.62], "rotation": [0.02, 0.71, -0.01, 0.7] } ], "usage": { "cost_usd": 0.0002, "latency_ms": 350 } } ``` ## Models 1 live for `/pose`: - [FoundationPose](https://www.openrobotics.dev/models/nvidia/foundationpose.md): `nvidia/foundationpose`, $0.10 per 1,000 calls --- # Plan grasps > Send a point cloud and get ranked gripper poses for picking up what's in it. `POST https://api.openrobotics.dev/v1/grasp` ## Authorization `Authorization: Bearer sk-orb-v1-…`, your [API key](https://www.openrobotics.dev/docs/authentication), or a free [test key](https://www.openrobotics.dev/docs/authentication#test-keys) (`sk-orb-test-…`; no account? get one with [`POST /sandbox/keys`](https://www.openrobotics.dev/docs/api/create-sandbox-key)). ## Request body JSON, with `Content-Type: application/json`. - `model` (string, required): The grasp model to run. The models for this endpoint are listed below. - `points` (number[][], required): The point cloud: 3–20,000 `[x, y, z]` points in meters, in the camera or robot frame. - `top_k` (integer): How many grasps to return, 1–50. - `gripper` (string | object): Gripper-conditioned models (GraspGen-X): a gripper the model knows by name (e.g. `franka_panda`, `robotiq_2f_85`), or any gripper's sweep volumes `{ extents_open, offset_open, extents_mid, offset_mid }`, each `[x, y, z]` in meters in the gripper frame (z = approach, x = closing). - `seed` (integer): Sampling models: the same seed and request give the same grasps. ## Response - `id` (string): Unique id of this call, e.g. `grp_48213`. It matches the call in your Activity dashboard. - `model` (string): The model that answered. - `backend` (string): `"http"`: the real model ran on a GPU. `"simulated"`: stand-in output of the same shape, as test keys get. - `sandbox` (boolean): `true` when the call was made with a [test key](https://www.openrobotics.dev/docs/authentication#test-keys): the output is simulated, nothing ran on a GPU and nothing was charged. Absent otherwise. - `grasps` (object[]): Best first, in the frame of your points. - `position` (number[3]): `[x, y, z]` in meters. - `rotation` (number[4]): Quaternion `[qx, qy, qz, qw]`. - `width` (number): Gripper opening, in meters. - `score` (number): Quality, 0–1. - `usage` (object): What the call cost. - `cost_usd` (number): Charged to your credits, in US dollars. - `latency_ms` (integer): Time the model took, in milliseconds. ## Errors Plus the errors every endpoint shares: see [Errors](https://www.openrobotics.dev/docs/errors). ## Example request Python: ```python import os, requests res = requests.post( "https://api.openrobotics.dev/v1/grasp", headers={"Authorization": f"Bearer {os.environ['OPENROBOTICS_API_KEY']}"}, json={ "model": "", "points": [[0.41, -0.02, 0.13], [0.42, -0.01, 0.13], "…"], "top_k": 5, }, ).json() res["grasps"] # position, rotation, width, score ``` TypeScript: ```typescript const res = await fetch("https://api.openrobotics.dev/v1/grasp", { method: "POST", headers: { Authorization: `Bearer ${process.env.OPENROBOTICS_API_KEY}`, "Content-Type": "application/json", }, body: JSON.stringify({ model: "", points: [[0.41, -0.02, 0.13], [0.42, -0.01, 0.13], "…"], top_k: 5, }), }).then((r) => r.json()); ``` cURL: ```bash curl https://api.openrobotics.dev/v1/grasp \ -H "Authorization: Bearer $OPENROBOTICS_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"","points":[[0.41,-0.02,0.13],[0.42,-0.01,0.13],"…"],"top_k":5}' ``` ## Example response ```json { "id": "grp_48213", "model": "", "backend": "http", "grasps": [ { "position": [0.42, -0.01, 0.16], "rotation": [0, 1, 0, 0], "width": 0.06, "score": 0.88 } ], "usage": { "cost_usd": 0.0002, "latency_ms": 220 } } ``` ## Models 1 live for `/grasp`: - [GraspGen-X](https://www.openrobotics.dev/models/nvidia/graspgen-x.md): `nvidia/graspgen-x`, $0.10 per 1,000 calls --- # Estimate hand pose > Find hands in an image and get 21 keypoints for each. `POST https://api.openrobotics.dev/v1/hands` ## Authorization `Authorization: Bearer sk-orb-v1-…`, your [API key](https://www.openrobotics.dev/docs/authentication), or a free [test key](https://www.openrobotics.dev/docs/authentication#test-keys) (`sk-orb-test-…`; no account? get one with [`POST /sandbox/keys`](https://www.openrobotics.dev/docs/api/create-sandbox-key)). ## Request body JSON, with `Content-Type: application/json`. - `model` (string, required): The hand pose model to run. The models for this endpoint are listed below. - `image` (string, required): The image, base64 JPEG or PNG (a `data:` URL works too). Under 4 MB of base64. ## Response - `id` (string): Unique id of this call, e.g. `hnd_48213`. It matches the call in your Activity dashboard. - `model` (string): The model that answered. - `backend` (string): `"http"`: the real model ran on a GPU. `"simulated"`: stand-in output of the same shape, as test keys get. - `sandbox` (boolean): `true` when the call was made with a [test key](https://www.openrobotics.dev/docs/authentication#test-keys): the output is simulated, nothing ran on a GPU and nothing was charged. Absent otherwise. - `hands` (object[]): One per hand found. - `side` (string): `"left"` or `"right"`. - `score` (number): Confidence, 0–1. - `box` (number[4]): `[x0, y0, x1, y1]` in pixels. - `keypoints` (number[][]): 21 `[x, y]` pixel positions: the wrist, then 4 joints for each finger. - `usage` (object): What the call cost. - `cost_usd` (number): Charged to your credits, in US dollars. - `latency_ms` (integer): Time the model took, in milliseconds. ## Errors Plus the errors every endpoint shares: see [Errors](https://www.openrobotics.dev/docs/errors). ## Example request Python: ```python import os, requests res = requests.post( "https://api.openrobotics.dev/v1/hands", headers={"Authorization": f"Bearer {os.environ['OPENROBOTICS_API_KEY']}"}, json={ "model": "", "image": "", }, ).json() res["hands"] # side, score, box, 21 keypoints ``` TypeScript: ```typescript const res = await fetch("https://api.openrobotics.dev/v1/hands", { method: "POST", headers: { Authorization: `Bearer ${process.env.OPENROBOTICS_API_KEY}`, "Content-Type": "application/json", }, body: JSON.stringify({ model: "", image: "", }), }).then((r) => r.json()); ``` cURL: ```bash curl https://api.openrobotics.dev/v1/hands \ -H "Authorization: Bearer $OPENROBOTICS_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"","image":""}' ``` ## Example response ```json { "id": "hnd_48213", "model": "", "backend": "http", "hands": [ { "side": "right", "score": 0.95, "box": [300.2, 180.4, 420.9, 330], "keypoints": [ [360.5, 330], [348.1, 309.6], … ] } ], "usage": { "cost_usd": 0.0001, "latency_ms": 120 } } ``` ## Models No model is live for this endpoint yet. --- # Reconstruct 3D > Send one or more views of a scene and get camera poses and a 3D point cloud. `POST https://api.openrobotics.dev/v1/reconstruct` ## Authorization `Authorization: Bearer sk-orb-v1-…`, your [API key](https://www.openrobotics.dev/docs/authentication), or a free [test key](https://www.openrobotics.dev/docs/authentication#test-keys) (`sk-orb-test-…`; no account? get one with [`POST /sandbox/keys`](https://www.openrobotics.dev/docs/api/create-sandbox-key)). ## Request body JSON, with `Content-Type: application/json`. - `model` (string, required): The reconstruction model to run, e.g. `meta/vggt`. The live models for this endpoint are listed below. - `images` (string[], required): 1–16 views of the scene, base64 JPEG or PNG, each under 4 MB of base64. For a single view you can send `image` instead. ## Response - `id` (string): Unique id of this call, e.g. `rec_48213`. It matches the call in your Activity dashboard. - `model` (string): The model that answered. - `backend` (string): `"http"`: the real model ran on a GPU. `"simulated"`: stand-in output of the same shape, as test keys get. - `sandbox` (boolean): `true` when the call was made with a [test key](https://www.openrobotics.dev/docs/authentication#test-keys): the output is simulated, nothing ran on a GPU and nothing was charged. Absent otherwise. - `cameras` (object[]): One per image, in order. - `intrinsics` (number[4]): `[fx, fy, cx, cy]` in pixels. - `pose` (number[16]): Camera-to-world 4×4 matrix, row-major. - `points` (number[][]): The point cloud, `[x, y, z]` in world coordinates. - `unit` (string): `"m"`: meters. `"relative"`: one unknown scale for the whole scene (e.g. VGGT). Absent means meters. - `usage` (object): What the call cost. - `cost_usd` (number): Charged to your credits, in US dollars. - `latency_ms` (integer): Time the model took, in milliseconds. ## Errors Plus the errors every endpoint shares: see [Errors](https://www.openrobotics.dev/docs/errors). ## Example request Python: ```python import os, requests res = requests.post( "https://api.openrobotics.dev/v1/reconstruct", headers={"Authorization": f"Bearer {os.environ['OPENROBOTICS_API_KEY']}"}, json={ "model": "meta/vggt", "images": ["", ""], }, ).json() res["cameras"], res["points"] # camera poses + point cloud ``` TypeScript: ```typescript const res = await fetch("https://api.openrobotics.dev/v1/reconstruct", { method: "POST", headers: { Authorization: `Bearer ${process.env.OPENROBOTICS_API_KEY}`, "Content-Type": "application/json", }, body: JSON.stringify({ model: "meta/vggt", images: ["", ""], }), }).then((r) => r.json()); ``` cURL: ```bash curl https://api.openrobotics.dev/v1/reconstruct \ -H "Authorization: Bearer $OPENROBOTICS_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"meta/vggt","images":["",""]}' ``` ## Example response ```json { "id": "rec_48213", "model": "meta/vggt", "backend": "http", "unit": "relative", "cameras": [ { "intrinsics": [512.3, 512.3, 259, 194], "pose": [1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1] }, … ], "points": [ [0.12, -0.04, 1.31], … ], "usage": { "cost_usd": 0.0005, "latency_ms": 900 } } ``` ## Models 3 live for `/reconstruct`: - [VGGT](https://www.openrobotics.dev/models/meta/vggt.md): `meta/vggt`, $0.10 per 1,000 calls - [MapAnything](https://www.openrobotics.dev/models/meta/mapanything.md): `meta/mapanything`, $0.10 per 1,000 calls - [LingBot-Map](https://www.openrobotics.dev/models/robbyant/lingbot-map.md): `robbyant/lingbot-map`, $0.10 per 1,000 calls --- # Ask a reasoning model > Ask an embodied-reasoning model about one or more images and get an answer in text, with points when it names places in the image. `POST https://api.openrobotics.dev/v1/reason` ## Authorization `Authorization: Bearer sk-orb-v1-…`, your [API key](https://www.openrobotics.dev/docs/authentication), or a free [test key](https://www.openrobotics.dev/docs/authentication#test-keys) (`sk-orb-test-…`; no account? get one with [`POST /sandbox/keys`](https://www.openrobotics.dev/docs/api/create-sandbox-key)). ## Request body JSON, with `Content-Type: application/json`. - `model` (string, required): The reasoning model to run, e.g. `nvidia/cosmos-reason-2`. The live models for this endpoint are listed below. - `prompt` (string, required): The question or instruction, e.g. `"Point to the handle of the mug."` 1–4,000 characters. - `image` (string): One image, base64 JPEG or PNG, under 4 MB of base64. Send `image` or `images`. - `images` (string[]): 1–8 images, each under 4 MB of base64. - `frames` (string[]): Video models only (e.g. `nyu/cambrian-s`): a clip instead of images, 1–32 frames oldest first, all the same size, under 4 MB of base64 together. Other models answer 400. ## Response - `id` (string): Unique id of this call, e.g. `rsn_48213`. It matches the call in your Activity dashboard. - `model` (string): The model that answered. - `backend` (string): `"http"`: the real model ran on a GPU. `"simulated"`: stand-in output of the same shape, as test keys get. - `sandbox` (boolean): `true` when the call was made with a [test key](https://www.openrobotics.dev/docs/authentication#test-keys): the output is simulated, nothing ran on a GPU and nothing was charged. Absent otherwise. - `text` (string): The model's answer. - `points` (object[]): Points the answer refers to, if any: `{ label, x, y }` in pixels of the first image. - `usage` (object): What the call cost. - `cost_usd` (number): Charged to your credits, in US dollars. - `latency_ms` (integer): Time the model took, in milliseconds. ## Errors Plus the errors every endpoint shares: see [Errors](https://www.openrobotics.dev/docs/errors). ## Example request Python: ```python import os, requests res = requests.post( "https://api.openrobotics.dev/v1/reason", headers={"Authorization": f"Bearer {os.environ['OPENROBOTICS_API_KEY']}"}, json={ "model": "nvidia/cosmos-reason-2", "image": "", "prompt": "Point to the handle of the mug.", }, ).json() res["text"], res["points"] # answer + { label, x, y } points ``` TypeScript: ```typescript const res = await fetch("https://api.openrobotics.dev/v1/reason", { method: "POST", headers: { Authorization: `Bearer ${process.env.OPENROBOTICS_API_KEY}`, "Content-Type": "application/json", }, body: JSON.stringify({ model: "nvidia/cosmos-reason-2", image: "", prompt: "Point to the handle of the mug.", }), }).then((r) => r.json()); ``` cURL: ```bash curl https://api.openrobotics.dev/v1/reason \ -H "Authorization: Bearer $OPENROBOTICS_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"nvidia/cosmos-reason-2","image":"","prompt":"Point to the handle of the mug."}' ``` ## Example response ```json { "id": "rsn_48213", "model": "nvidia/cosmos-reason-2", "backend": "http", "text": "The handle is on the right side of the mug.", "points": [ { "label": "handle", "x": 412, "y": 230 } ], "usage": { "cost_usd": 0.0008, "latency_ms": 1900 } } ``` ## Models 17 live for `/reason`: - [Cosmos Reason 2](https://www.openrobotics.dev/models/nvidia/cosmos-reason-2.md): `nvidia/cosmos-reason-2`, $1.00 per 1,000 calls - [GraspMolmo](https://www.openrobotics.dev/models/allenai/graspmolmo.md): `allenai/graspmolmo`, $0.10 per 1,000 calls - [Cosmos Reason 1](https://www.openrobotics.dev/models/nvidia/cosmos-reason-1.md): `nvidia/cosmos-reason-1`, $0.50 per 1,000 calls - [RoboBrain 2.0](https://www.openrobotics.dev/models/baai/robobrain-2.0.md): `baai/robobrain-2.0`, $0.50 per 1,000 calls - [RoboBrain 2.5](https://www.openrobotics.dev/models/baai/robobrain-2.5.md): `baai/robobrain-2.5`, $0.50 per 1,000 calls - [RynnBrain](https://www.openrobotics.dev/models/alibaba-damo/rynnbrain.md): `alibaba-damo/rynnbrain`, $0.50 per 1,000 calls - [Pelican-VL 1.0](https://www.openrobotics.dev/models/x-humanoid/pelican-vl-1.0.md): `x-humanoid/pelican-vl-1.0`, $0.50 per 1,000 calls - [MiMo-Embodied](https://www.openrobotics.dev/models/xiaomi/mimo-embodied.md): `xiaomi/mimo-embodied`, $0.50 per 1,000 calls - [RoboPoint](https://www.openrobotics.dev/models/nvidia/robopoint.md): `nvidia/robopoint`, $0.50 per 1,000 calls - [Molmo2-ER](https://www.openrobotics.dev/models/allenai/molmo2-er.md): `allenai/molmo2-er`, $0.50 per 1,000 calls - [VST (Visual Spatial Tuning)](https://www.openrobotics.dev/models/bytedance/vst.md): `bytedance/vst`, $0.50 per 1,000 calls - [Cambrian-S](https://www.openrobotics.dev/models/nyu/cambrian-s.md): `nyu/cambrian-s`, $0.50 per 1,000 calls - [VeBrain](https://www.openrobotics.dev/models/opengvlab/vebrain.md): `opengvlab/vebrain`, $0.50 per 1,000 calls - [SenseNova-SI 1.3](https://www.openrobotics.dev/models/sensenova/sensenova-si.md): `sensenova/sensenova-si`, $0.50 per 1,000 calls - [Embodied-R1.5](https://www.openrobotics.dev/models/tju/embodied-r1.5.md): `tju/embodied-r1.5`, $0.50 per 1,000 calls - [UnifoLM-ER-1](https://www.openrobotics.dev/models/unitree/unifolm-er-1.md): `unitree/unifolm-er-1`, $0.50 per 1,000 calls - [EmbodiedBrain](https://www.openrobotics.dev/models/zte/embodiedbrain.md): `zte/embodiedbrain`, $0.50 per 1,000 calls --- # Score task progress > Send a clip of a robot (or a person) doing a task and get per-frame task progress and success probability from a reward model. `POST https://api.openrobotics.dev/v1/reward` Reward models judge how far a clip has got with a task, frame by frame: dense rewards for reinforcement learning, success detection, and filtering or ranking demonstrations. Sample the video at a few frames per second; each model takes up to its own number of frames (Robometer: 8) and refuses more with a `400`. ## Authorization `Authorization: Bearer sk-orb-v1-…`, your [API key](https://www.openrobotics.dev/docs/authentication), or a free [test key](https://www.openrobotics.dev/docs/authentication#test-keys) (`sk-orb-test-…`; no account? get one with [`POST /sandbox/keys`](https://www.openrobotics.dev/docs/api/create-sandbox-key)). ## Request body JSON, with `Content-Type: application/json`. - `model` (string, required): The reward model to run, e.g. `usc/robometer`. The live models for this endpoint are listed below. - `instruction` (string, required): The task the clip should be doing, e.g. `"put the green stick in the brown bowl"`. 1–1,000 characters. - `frames` (string[], required): The clip, oldest first: 1–32 frames, base64 JPEG or PNG, all the same size, under 4 MB of base64 together. ## Response - `id` (string): Unique id of this call, e.g. `rwd_48213`. It matches the call in your Activity dashboard. - `model` (string): The model that answered. - `backend` (string): `"http"`: the real model ran on a GPU. `"simulated"`: stand-in output of the same shape, as test keys get. - `sandbox` (boolean): `true` when the call was made with a [test key](https://www.openrobotics.dev/docs/authentication#test-keys): the output is simulated, nothing ran on a GPU and nothing was charged. Absent otherwise. - `progress` (number[]): One per frame, oldest first: task progress from `0` (not started) to `1` (done). - `success` (number[]): One per frame: the probability that the task is complete at that frame. Only from models with a success head (Robometer has one). - `usage` (object): What the call cost. - `cost_usd` (number): Charged to your credits, in US dollars. - `latency_ms` (integer): Time the model took, in milliseconds. ## Errors - `400`: More frames than the model takes, frames of different sizes, or no instruction. Plus the errors every endpoint shares: see [Errors](https://www.openrobotics.dev/docs/errors). ## Example request Python: ```python import os, requests res = requests.post( "https://api.openrobotics.dev/v1/reward", headers={"Authorization": f"Bearer {os.environ['OPENROBOTICS_API_KEY']}"}, json={ "model": "usc/robometer", "instruction": "put the green stick in the brown bowl", "frames": ["", "", "", ""], }, ).json() res["progress"], res["success"] # per frame, 0–1 ``` TypeScript: ```typescript const res = await fetch("https://api.openrobotics.dev/v1/reward", { method: "POST", headers: { Authorization: `Bearer ${process.env.OPENROBOTICS_API_KEY}`, "Content-Type": "application/json", }, body: JSON.stringify({ model: "usc/robometer", instruction: "put the green stick in the brown bowl", frames: ["", "", "", ""], }), }).then((r) => r.json()); ``` cURL: ```bash curl https://api.openrobotics.dev/v1/reward \ -H "Authorization: Bearer $OPENROBOTICS_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"usc/robometer","instruction":"put the green stick in the brown bowl","frames":["","","",""]}' ``` ## Example response ```json { "id": "rwd_48213", "model": "usc/robometer", "backend": "http", "progress": [0.04, 0.31, 0.68, 0.97], "success": [0.01, 0.03, 0.22, 0.94], "usage": { "cost_usd": 0.0005, "latency_ms": 400 } } ``` ## Models 1 live for `/reward`: - [Robometer](https://www.openrobotics.dev/models/usc/robometer.md): `usc/robometer`, $0.50 per 1,000 calls --- # Create a prediction job > Ask a world model what happens next. Generation takes minutes, so the call answers `202` with a job right away. `POST https://api.openrobotics.dev/v1/predict` Poll [Get a job](https://www.openrobotics.dev/docs/api/get-job) every few seconds until `status` is `"succeeded"` or `"failed"`, then [download the video](https://www.openrobotics.dev/docs/api/get-job-file). A job is billed once, at the model's price per clip, and only if it succeeds. A key can have 8 jobs queued or running at once. Which inputs a model takes depends on its task, shown on its model page: - **Video prediction** (Cosmos Predict, Cosmos Transfer, LingBot-World, Yume, RoboTransfer): `prompt` is required, optionally with a first frame (`image`), a clip to continue (`frames`), a `control` clip to follow, or a `camera` path. RoboTransfer takes no prompt: it re-renders depth and normal clips (`controls`) in the look of a reference `image`. - **Latent prediction** (V-JEPA 2): no prompt. Send `frames` or `image` and get `result.latents`. Add the observed `future` for a surprise score per step, or a `goal_image` for an energy per step. Action-conditioned models (V-JEPA 2-AC) also take `states` and `actions`; with a goal and no future actions they return a `plan`. - **Action-conditioned video prediction** (Ctrl-World, Vista, AdaWorld): `frames` or `image` plus the actions to imagine: robot `states` and `actions`, a car's `driving` inputs, or a `reference_frames` clip whose motion is replayed from `image` (AdaWorld). ## Authorization `Authorization: Bearer sk-orb-v1-…`, your [API key](https://www.openrobotics.dev/docs/authentication), or a free [test key](https://www.openrobotics.dev/docs/authentication#test-keys) (`sk-orb-test-…`; no account? get one with [`POST /sandbox/keys`](https://www.openrobotics.dev/docs/api/create-sandbox-key)). ## Request body JSON, with `Content-Type: application/json`. - `model` (string, required): The world model to run, e.g. `nvidia/cosmos-predict-2.5`. The live models for this endpoint are listed below. - `prompt` (string): What should happen, up to 4,000 characters. Required by video prediction models; latent models take none. - `image` (string): A first frame to continue from. Send `image` or `frames`, not both. - `frames` (string[]): A clip to continue, 1–32 frames, oldest first. - `future` (string[]): Latent models: the observed continuation of `frames` (1–32 frames), scored against the prediction as `surprise`. - `goal_image` (string): Latent models: a goal observation. Rollouts get an `energy` per step; planners return a `plan` toward it. - `states` (number[][]): Action-conditioned models: the robot state per context frame (e.g. end-effector position, rotation and gripper). 1–32 rows of up to 64 numbers. - `actions` (number[][]): Action-conditioned models: the actions to imagine, one row per step. 1–64 rows of up to 64 numbers. - `driving` (object): Driving models (Vista): the car's actions, any subset. - `command` (string): `"right"`, `"left"`, `"forward"` or `"stop"`. - `trajectory` (number[][]): Future waypoints `[x, y]` in meters (x forward, y left), up to 16. - `speed` (number[]): Future speeds in km/h, up to 16. - `steering` (number[]): Future steering-wheel angles in degrees, up to 16. - `goal` (number[2]): Where to go: `[x, y]` as fractions (0–1) of the frame's width and height. - `control` (object): Video models that follow a control clip (Cosmos Transfer). - `kind` (string, required): `"edge"`, `"depth"`, `"segmentation"`, `"blur"` or `"normal"`. - `frames` (string[], required): The pre-computed control clip, 1–121 frames, oldest first. The video follows it frame by frame. - `scale` (number): How strongly it steers generation, 0–2. Default `1`. - `controls` (object[]): Video models that follow several control clips at once, 1–4, one per kind, all the same length, each like `control`. RoboTransfer takes a `"depth"` clip (16-bit grayscale PNGs in millimetres) and a `"normal"` clip (surface normals as RGB), three camera views side by side. - `reference_frames` (string[]): Action-transfer models (AdaWorld): a source clip, 2–32 frames, oldest first. The motion between each pair of its frames is replayed from `image`, so the video has as many frames as the clip. - `camera` (object): Camera-controlled video models (LingBot-World, Yume): where the camera goes. Send `poses` or `keys`. - `poses` (number[][]): A camera-to-world 4×4 matrix per frame (16 numbers, row-major, OpenCV axes: x right, y down, z forward), 2–121 frames. The first is the input image's camera. - `intrinsics` (number[4]): `[fx, fy, cx, cy]` in pixels of the input image. Default: per model. - `keys` (string[]): The keys held at each frame, 1–121: `w` `a` `s` `d` move forward, left, back and right; `i` `j` `k` `l` look up, left, down and right; `""` for none. - `num_frames` (integer): Frames to generate (video) or predict (latent), 1–121. Default and limits are per model. - `width` (integer): Video width in pixels, 64–1920, up to the model's size. - `height` (integer): Video height in pixels, 64–1920, up to the model's size. - `seed` (integer): For reproducible output, 0 to 2³² − 1. ## Response - `id` (string): The job id. Also in the `Location` header. - `object` (string): `"job"`. - `task` (string): `"predict"`. - `model` (string): The model. - `status` (string): `"queued"` at first. See [Get a job](https://www.openrobotics.dev/docs/api/get-job). - `progress` (number): `0`. - `created_at` (string): ISO 8601 time. - `started_at` (string | null): `null` until a GPU picks the job up. - `finished_at` (string | null): `null` until the job ends. - `result` (object | null): `null` until the job succeeds. See [Get a job](https://www.openrobotics.dev/docs/api/get-job). - `error` (object | null): `null` unless the job fails. - `usage` (object | null): `null` until the job succeeds and is billed. All images in a request (`image`, `frames`, `future`, `goal_image`, `reference_frames`, control frames) must total under 6 MB of base64. GPUs start on demand: after a quiet spell a job waits `queued` for a few minutes while one boots. ## Errors - `400`: The model doesn't take an input you sent (the message says which), or a video model got no `prompt` - `429`: This key already has 8 jobs queued or running - `503`: No GPU workers serve this model right now Plus the errors every endpoint shares: see [Errors](https://www.openrobotics.dev/docs/errors). ## Example request Python: ```python import os, requests res = requests.post( "https://api.openrobotics.dev/v1/predict", headers={"Authorization": f"Bearer {os.environ['OPENROBOTICS_API_KEY']}"}, json={ "model": "nvidia/cosmos-predict-2.5", "prompt": "The robot arm picks up the red block and places it in the bowl.", "image": "", }, ).json() job = res # 202: poll GET /v1/jobs/{job["id"]} ``` TypeScript: ```typescript const res = await fetch("https://api.openrobotics.dev/v1/predict", { method: "POST", headers: { Authorization: `Bearer ${process.env.OPENROBOTICS_API_KEY}`, "Content-Type": "application/json", }, body: JSON.stringify({ model: "nvidia/cosmos-predict-2.5", prompt: "The robot arm picks up the red block and places it in the bowl.", image: "", }), }).then((r) => r.json()); ``` cURL: ```bash curl https://api.openrobotics.dev/v1/predict \ -H "Authorization: Bearer $OPENROBOTICS_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model":"nvidia/cosmos-predict-2.5","prompt":"The robot arm picks up the red block and places it in the bowl.","image":""}' ``` ## Example response ```json { "id": "job_9f2c41d07a5e8b3c6d1e2f40", "object": "job", "task": "predict", "model": "nvidia/cosmos-predict-2.5", "status": "queued", "progress": 0, "created_at": "2026-11-25T12:00:00.000Z", "started_at": null, "finished_at": null, "result": null, "error": null, "usage": null } ``` ## Models 25 live for `/predict`: - [Cosmos 3](https://www.openrobotics.dev/models/nvidia/cosmos-3.md): `nvidia/cosmos-3`, $0.60 per clip - [Cosmos Predict 2.5](https://www.openrobotics.dev/models/nvidia/cosmos-predict-2.5.md): `nvidia/cosmos-predict-2.5`, $1.50 per clip - [Cosmos Predict 2](https://www.openrobotics.dev/models/nvidia/cosmos-predict-2.md): `nvidia/cosmos-predict-2`, $0.40 per clip - [Cosmos Transfer 2.5](https://www.openrobotics.dev/models/nvidia/cosmos-transfer-2.5.md): `nvidia/cosmos-transfer-2.5`, $1.50 per clip - [Cosmos Predict 1](https://www.openrobotics.dev/models/nvidia/cosmos-predict-1.md): `nvidia/cosmos-predict-1`, $0.80 per clip - [DreamDojo](https://www.openrobotics.dev/models/nvidia/dreamdojo.md): `nvidia/dreamdojo`, $0.40 per clip - [DreamGen (GR00T-Dreams)](https://www.openrobotics.dev/models/nvidia/dreamgen.md): `nvidia/dreamgen`, $1.50 per clip - [V-JEPA 2](https://www.openrobotics.dev/models/meta/v-jepa-2.md): `meta/v-jepa-2`, $0.01 per clip - [V-JEPA 2-AC](https://www.openrobotics.dev/models/meta/v-jepa-2-ac.md): `meta/v-jepa-2-ac`, $0.05 per clip - [V-JEPA 2.1](https://www.openrobotics.dev/models/meta/v-jepa-2.1.md): `meta/v-jepa-2.1`, $0.01 per clip - [Ctrl-World](https://www.openrobotics.dev/models/stanford/ctrl-world.md): `stanford/ctrl-world`, $0.15 per clip - [LingBot-World](https://www.openrobotics.dev/models/robbyant/lingbot-world.md): `robbyant/lingbot-world`, $1.50 per clip - [GigaWorld-0](https://www.openrobotics.dev/models/gigaai/gigaworld-0.md): `gigaai/gigaworld-0`, $1.00 per clip - [IRASim](https://www.openrobotics.dev/models/bytedance/irasim.md): `bytedance/irasim`, $0.25 per clip - [Vista](https://www.openrobotics.dev/models/opendrivelab/vista.md): `opendrivelab/vista`, $0.15 per clip - [LeWAM (JEPA world-action model)](https://www.openrobotics.dev/models/brown/lewam.md): `brown/lewam`, $0.0003 per clip - [RoboTransfer](https://www.openrobotics.dev/models/horizonrobotics/robotransfer.md): `horizonrobotics/robotransfer`, $0.30 per clip - [AdaWorld](https://www.openrobotics.dev/models/little-podi/adaworld.md): `little-podi/adaworld`, $0.05 per clip - [LeWorldModel (LeWM)](https://www.openrobotics.dev/models/mila/leworldmodel.md): `mila/leworldmodel`, $0.0003 per clip - [DINO-WM](https://www.openrobotics.dev/models/nyu/dino-wm.md): `nyu/dino-wm`, $0.0003 per clip - [Matrix-Game 3.0](https://www.openrobotics.dev/models/skywork/matrix-game-3.md): `skywork/matrix-game-3`, $0.10 per clip - [Yume 1.5](https://www.openrobotics.dev/models/stdstu12/yume-1.5.md): `stdstu12/yume-1.5`, $0.10 per clip - [Vidar / Vidarc](https://www.openrobotics.dev/models/thu-ml/vidar.md): `thu-ml/vidar`, $0.15 per clip - [Epona](https://www.openrobotics.dev/models/tsinghua/epona.md): `tsinghua/epona`, $0.60 per clip - [DrivingWorld](https://www.openrobotics.dev/models/yvanyin/drivingworld.md): `yvanyin/drivingworld`, $0.20 per clip --- # Get a job > Check a job's status and, once it succeeds, get its result. `GET https://api.openrobotics.dev/v1/jobs/{id}` Poll every few seconds. A key sees only its own jobs. ## Authorization `Authorization: Bearer sk-orb-v1-…`, your [API key](https://www.openrobotics.dev/docs/authentication), or a free [test key](https://www.openrobotics.dev/docs/authentication#test-keys) (`sk-orb-test-…`; no account? get one with [`POST /sandbox/keys`](https://www.openrobotics.dev/docs/api/create-sandbox-key)). ## Path parameters - `id` (string, required): The job id from [Create a prediction job](https://www.openrobotics.dev/docs/api/predict), e.g. `job_9f2c41d07a5e8b3c6d1e2f40`. ## Response - `id` (string): The job id. - `object` (string): `"job"`. - `task` (string): `"predict"`. - `model` (string): The model. - `status` (string): `"queued"`, `"running"`, `"succeeded"` or `"failed"`. - `progress` (number): From 0 to 1 while it runs. - `created_at` (string): ISO 8601 time. - `started_at` (string | null): When a GPU started it. - `finished_at` (string | null): When it succeeded or failed. - `result` (object | null): Once it succeeds. - `video` (object): Video models: `{ url, content_type, bytes, width, height, frames, fps }`. Download `url` with the same key; it's kept for 7 days. - `seed` (integer): Video models: the random seed the video was generated with. - `latents` (object): Latent models: `{ dim, steps, frames_per_step }`, where `steps` has one vector per predicted step, oldest first. - `surprise` (number[]): Latent models given `future`: per step, the mean L1 distance between predicted and observed latents. - `energy` (number[]): Latent models given `goal_image`: per step, the mean L1 distance to the goal's latent. - `plan` (object): Planners given a goal and no future actions: `{ actions, energy }`, the planned actions (one row per step) and the predicted distance to the goal after them. - `error` (object | null): If it failed: `{ code, message }`. See the failure codes below. - `usage` (object | null): Once it succeeds: `{ cost_usd, latency_ms }`. A failed job is never billed. Its `error.code` says why: | Code | Why | | --- | --- | | `400` | The model refused the input (for example, its safety checker refused the prompt), or the model is no longer served | | `402` | Credit ran out before the job finished; the result is discarded | | `403` | The key that created the job was deleted or disabled | | `500` | The job's request was lost on our side | | `502` | The model failed, its GPU worker stopped twice, or its output was too large to keep | | `503` | No GPU was free within 30 minutes | ## Errors - `404`: No job with this id for this key Plus the errors every endpoint shares: see [Errors](https://www.openrobotics.dev/docs/errors). ## Example request cURL: ```bash curl https://api.openrobotics.dev/v1/jobs/job_9f2c41d07a5e8b3c6d1e2f40 \ -H "Authorization: Bearer $OPENROBOTICS_API_KEY" ``` Python: ```python import os, time, requests headers = {"Authorization": f"Bearer {os.environ['OPENROBOTICS_API_KEY']}"} while True: job = requests.get("https://api.openrobotics.dev/v1/jobs/job_9f2c41d07a5e8b3c6d1e2f40", headers=headers).json() if job["status"] in ("succeeded", "failed"): break time.sleep(5) print(job["result"] or job["error"]) ``` TypeScript: ```typescript const headers = { Authorization: `Bearer ${process.env.OPENROBOTICS_API_KEY}` }; let job; do { await new Promise((r) => setTimeout(r, 5000)); job = await fetch("https://api.openrobotics.dev/v1/jobs/job_9f2c41d07a5e8b3c6d1e2f40", { headers }).then((r) => r.json()); } while (job.status === "queued" || job.status === "running"); ``` ## Example response Succeeded: ```json { "id": "job_9f2c41d07a5e8b3c6d1e2f40", "object": "job", "task": "predict", "model": "nvidia/cosmos-predict-2.5", "status": "succeeded", "progress": 1, "created_at": "2026-11-25T12:00:00.000Z", "started_at": "2026-11-25T12:00:04.000Z", "finished_at": "2026-11-25T12:04:05.000Z", "result": { "video": { "url": "https://api.openrobotics.dev/v1/jobs/job_9f2c41d07a5e8b3c6d1e2f40/files/video.mp4", "content_type": "video/mp4", "bytes": 2483021, "width": 1280, "height": 704, "frames": 93, "fps": 16 }, "seed": 1871234 }, "error": null, "usage": { "cost_usd": 0.25, "latency_ms": 241000 } } ``` Failed: ```json { "id": "job_9f2c41d07a5e8b3c6d1e2f40", "object": "job", "task": "predict", "model": "nvidia/cosmos-predict-2.5", "status": "failed", "progress": 0.4, "created_at": "2026-11-25T12:00:00.000Z", "started_at": "2026-11-25T12:00:04.000Z", "finished_at": "2026-11-25T12:01:10.000Z", "result": null, "error": { "code": 502, "message": "Backend for nvidia/cosmos-predict-2.5 returned 500" }, "usage": null } ``` --- # Download a job file > Download a file a job produced, such as the generated MP4. `GET https://api.openrobotics.dev/v1/jobs/{id}/files/{name}` Use the `result.video.url` from [Get a job](https://www.openrobotics.dev/docs/api/get-job) with the same key. Files are kept for 7 days after the job finishes. ## Authorization `Authorization: Bearer sk-orb-v1-…`, your [API key](https://www.openrobotics.dev/docs/authentication), or a free [test key](https://www.openrobotics.dev/docs/authentication#test-keys) (`sk-orb-test-…`; no account? get one with [`POST /sandbox/keys`](https://www.openrobotics.dev/docs/api/create-sandbox-key)). ## Path parameters - `id` (string, required): The job id. - `name` (string, required): The file name, e.g. `video.mp4`. ## Response - `body` (binary): The file itself, with its `Content-Type` (e.g. `video/mp4`). ## Errors - `404`: No such job or file for this key, or the file is older than 7 days Plus the errors every endpoint shares: see [Errors](https://www.openrobotics.dev/docs/errors). ## Example request cURL: ```bash curl -o rollout.mp4 https://api.openrobotics.dev/v1/jobs/job_9f2c41d07a5e8b3c6d1e2f40/files/video.mp4 \ -H "Authorization: Bearer $OPENROBOTICS_API_KEY" ``` Python: ```python import os, requests headers = {"Authorization": f"Bearer {os.environ['OPENROBOTICS_API_KEY']}"} job = requests.get("https://api.openrobotics.dev/v1/jobs/job_9f2c41d07a5e8b3c6d1e2f40", headers=headers).json() video = requests.get(job["result"]["video"]["url"], headers=headers) open("rollout.mp4", "wb").write(video.content) ``` ## Example response ``` HTTP/1.1 200 OK Content-Type: video/mp4 Content-Length: 2483021 ``` --- # Create a sandbox key > Get a free sandbox key (`sk-orb-test-…`) with one request and no account, so an agent or script can try every endpoint end to end. `POST https://api.openrobotics.dev/v1/sandbox/keys` No key and no sign-up needed. Every call made with the key returns deterministic simulated output of the real shape, marked `"sandbox": true`; it is never billed and never runs on a GPU. World-model jobs ([`POST /predict`](https://www.openrobotics.dev/docs/api/predict)) have no simulated stand-in, so they need a real key. The key expires after 24 hours and makes at most 20 calls a minute. For real model output, create a key on the [API keys](https://www.openrobotics.dev/keys) page. See [Test keys](https://www.openrobotics.dev/docs/authentication#test-keys). ## Request body JSON, with `Content-Type: application/json`. - `name` (string): A name for the key, up to 64 characters. Default: `"Sandbox key"`. ## Response - `key` (string): The key, shown only this once. Send it as `Authorization: Bearer `. - `data` (object): The key's details. - `label` (string): A shortened form of the key, safe to show. - `name` (string): Its name. - `sandbox` (boolean): Always `true`. - `expires_at` (integer): When it stops working, in Unix seconds (24 hours from now). - `limits` (object): Its rate limit. - `calls_per_minute` (integer): Calls it may make per minute. - `note` (string): What the key can do, and where to get a real one. ## Errors - `429`: This IP address (or IPv6 /64) already made 5 sandbox keys in the last hour; `Retry-After` says when it can make another (`rate_limit_error`) - `503`: Too many sandbox keys are being created across everyone right now; retry after `Retry-After` (`rate_limit_error`) Plus the errors every endpoint shares: see [Errors](https://www.openrobotics.dev/docs/errors). ## Example request cURL: ```bash curl -X POST https://api.openrobotics.dev/v1/sandbox/keys \ -H "Content-Type: application/json" \ -d '{"name": "my agent"}' ``` Python: ```python import openrobotics # pip install openrobotics-sdk client = openrobotics.OpenRobotics.sandbox() # or: openrobotics.sandbox_key() print(client.act("physical-intelligence/pi0", instruction="pick up the cup", observation={})["sandbox"]) ``` TypeScript: ```typescript const { key } = await fetch("https://api.openrobotics.dev/v1/sandbox/keys", { method: "POST" }).then((r) => r.json()); // or, with the SDK: const client = await OpenRobotics.sandbox(); ``` ## Example response ```json { "key": "sk-orb-test-5f0c…", "data": { "label": "sk-orb-test-5f0c...a91", "name": "my agent", "sandbox": true, "expires_at": 1796313600, "limits": { "calls_per_minute": 20 } }, "note": "Free sandbox key: … For real model output, create a key at https://www.openrobotics.dev/keys" } ``` --- # Get the current key > Get the name, spend and remaining credit limit of the key you call with. Handy for checking a key works. `GET https://api.openrobotics.dev/v1/key` ## Authorization `Authorization: Bearer sk-orb-v1-…`, your [API key](https://www.openrobotics.dev/docs/authentication), or a free [test key](https://www.openrobotics.dev/docs/authentication#test-keys) (`sk-orb-test-…`; no account? get one with [`POST /sandbox/keys`](https://www.openrobotics.dev/docs/api/create-sandbox-key)). ## Response - `data` (object): The key. - `label` (string): A shortened form of the key, safe to show, e.g. `sk-orb-v1-1a2...f9c`. - `name` (string): The name you gave it. - `usage` (number): What it has spent, in US dollars. - `limit` (number | null): Its credit limit in US dollars, or `null` for none. - `limit_remaining` (number | null): What it can still spend under that limit, or `null` for no limit. - `is_free_tier` (boolean): Always `true`; kept for OpenRouter compatibility. - `sandbox` (boolean): `true` for a [sandbox key](https://www.openrobotics.dev/docs/authentication#test-keys) (`sk-orb-test-…`): simulated output, never billed. - `expires_at` (integer | null): When the key stops working, in Unix seconds: set only for a [sandbox key made without an account](https://www.openrobotics.dev/docs/api/create-sandbox-key), `null` otherwise. ## Errors Plus the errors every endpoint shares: see [Errors](https://www.openrobotics.dev/docs/errors). ## Example request cURL: ```bash curl https://api.openrobotics.dev/v1/key \ -H "Authorization: Bearer $OPENROBOTICS_API_KEY" ``` Python: ```python import os, requests res = requests.get( "https://api.openrobotics.dev/v1/key", headers={"Authorization": f"Bearer {os.environ['OPENROBOTICS_API_KEY']}"}, ) print(res.json()["data"]) ``` TypeScript: ```typescript const res = await fetch("https://api.openrobotics.dev/v1/key", { headers: { Authorization: `Bearer ${process.env.OPENROBOTICS_API_KEY}` }, }); const { data } = await res.json(); ``` ## Example response ```json { "data": { "label": "sk-orb-v1-1a2...f9c", "name": "Lab arm", "usage": 1.84, "limit": 25, "limit_remaining": 23.16, "is_free_tier": true, "sandbox": false, "expires_at": null } } ``` --- # List models > List every model in the catalog with its type, the endpoint that serves it, its price, what it needs as input and whether it's live. `GET https://api.openrobotics.dev/v1/models` No key needed. Only models with `status` `"live"` can be called. Filter with the query parameters below, which combine with AND. See [Models](https://www.openrobotics.dev/docs/models) for what each field means. ## Query parameters - `status` (string): `"live"`, `"simulated"` or `"excluded"`. `status=live` lists only callable models. - `endpoint` (string): Only models served by this endpoint, e.g. `"act"` or `"segment"`. - `type` (string): `"VLA"`, `"World model"`, `"Vision encoder"`, `"Perception"` or `"Embodied reasoning"`. - `provider` (string): Only this provider's models, by the id prefix (e.g. `nvidia`) or the provider name. - `q` (string): Free-text search over id, name, provider, description, task and embodiments. ## Response - `data` (object[]): The matching models, in catalog order. - `id` (string): What you send as `model`, e.g. `physical-intelligence/pi0`. - `name` (string): Display name. - `provider` (string): Who made it. - `type` (string): `"VLA"`, `"World model"`, `"Vision encoder"`, `"Perception"` or `"Embodied reasoning"`. - `task` (string | null): For perception, reasoning and world models, e.g. `"Depth"` or `"Video prediction"`. - `endpoint` (string | null): The endpoint to call, e.g. `"act"` or `"segment"`. - `status` (string): `"live"`: callable. `"simulated"`: coming soon. `"excluded"`: listed but not served (see `excluded_reason`). - `price` (number): US dollars per 1,000 calls (for `predict`: per 1,000 clips). - `latency_ms` (integer): Typical time per call once a GPU is warm. - `embedding_dim` (integer | null): Vision encoders: the embedding width. - `params` (string): Parameter count, e.g. `"3.3B"`. - `action` (string): VLAs: how actions are produced. - `embodiments` (string[]): Robots or benchmarks it was trained for. - `inputs` (object | null): What a request to this model needs, or `null` when it takes the endpoint's plain request. Fields appear when they apply; read them as hints, since more may be added. - `cameras` (object[]): The `observation.images` keys it reads: `name`, `required` and `description`, e.g. `{ "name": "wrist", "required": true }`. - `state` (object): What it expects in `observation.state`: `dim` (0 means send none), `layout` (one name per number), `units`. - `action` (object): Each returned action row: `dim`, `layout`, `units`, and `horizon.max` (the most rows one call returns). `horizon.default`, when present, is how many rows the model's own evaluation executes per call. - `instruction` (string): `"required"`, `"optional"` or `"unused"`. - `fields` (object[]): Extra request fields this model takes: `name` (a dotted path, e.g. `observation.history`), `required`, `description`. - `notes` (string): Anything else worth knowing, including what couldn't be determined. - `license` (string | null): License of the served weights. - `checkpoint` (string | null): The exact checkpoint served. - `open_weights` (boolean): Whether the weights are public. - `released` (string | null): First release, `"YYYY-MM"`. - `source` (string | null): Paper, model card or announcement. - `description` (string): A short description. - `excluded_reason` (string | null): Why an excluded model isn't served. - `pack` (string | null): The worker pack that serves it on GPUs. ## Errors Plus the errors every endpoint shares: see [Errors](https://www.openrobotics.dev/docs/errors). ## Example request cURL: ```bash curl "https://api.openrobotics.dev/v1/models?status=live&endpoint=act" ``` Python: ```python import requests models = requests.get("https://api.openrobotics.dev/v1/models", params={"status": "live", "endpoint": "act"}).json()["data"] ids = [m["id"] for m in models] ``` TypeScript: ```typescript const { data } = await fetch("https://api.openrobotics.dev/v1/models?status=live&endpoint=act").then((r) => r.json()); const ids = data.map((m) => m.id); ``` ## Example response ```json { "data": [ { "id": "physical-intelligence/pi0", "name": "π0", "provider": "Physical Intelligence", "type": "VLA", "task": null, "endpoint": "act", "status": "live", "price": 0.4, "latency_ms": 73, "embodiments": ["LIBERO"], "inputs": { "cameras": [ { "name": "agentview", "required": true }, { "name": "wrist", "required": true } ], "state": { "dim": 8, "layout": ["eef_x", "eef_y", "eef_z", "eef_axis_angle_x", "eef_axis_angle_y", "eef_axis_angle_z", "gripper_qpos_left", "gripper_qpos_right"] }, "action": { "dim": 7, "layout": ["delta_x", "delta_y", "delta_z", "delta_axis_angle_x", "delta_axis_angle_y", "delta_axis_angle_z", "gripper"], "horizon": { "max": 50 } }, "instruction": "required" }, "license": "Gemma Terms of Use" }, … ] } ``` --- # Get a model > Get one model by id: its endpoint, price, status and the inputs it expects (cameras, state and action layout). `GET https://api.openrobotics.dev/v1/models/{provider}/{name}` No key needed. The model id is `provider/name`, so it fills two path segments: `GET /models/physical-intelligence/pi0`. Check `inputs` before building a request for a model you haven't used. ## Path parameters - `provider` (string, required): The part of the id before the slash, e.g. `physical-intelligence`. - `name` (string, required): The part after it, e.g. `pi0`. ## Response - `data` (object): The model. - `id` (string): What you send as `model`, e.g. `physical-intelligence/pi0`. - `name` (string): Display name. - `provider` (string): Who made it. - `type` (string): `"VLA"`, `"World model"`, `"Vision encoder"`, `"Perception"` or `"Embodied reasoning"`. - `task` (string | null): For perception, reasoning and world models, e.g. `"Depth"` or `"Video prediction"`. - `endpoint` (string | null): The endpoint to call, e.g. `"act"` or `"segment"`. - `status` (string): `"live"`: callable. `"simulated"`: coming soon. `"excluded"`: listed but not served (see `excluded_reason`). - `price` (number): US dollars per 1,000 calls (for `predict`: per 1,000 clips). - `latency_ms` (integer): Typical time per call once a GPU is warm. - `embedding_dim` (integer | null): Vision encoders: the embedding width. - `params` (string): Parameter count, e.g. `"3.3B"`. - `action` (string): VLAs: how actions are produced. - `embodiments` (string[]): Robots or benchmarks it was trained for. - `inputs` (object | null): What a request to this model needs, or `null` when it takes the endpoint's plain request. Fields appear when they apply; read them as hints, since more may be added. - `cameras` (object[]): The `observation.images` keys it reads: `name`, `required` and `description`, e.g. `{ "name": "wrist", "required": true }`. - `state` (object): What it expects in `observation.state`: `dim` (0 means send none), `layout` (one name per number), `units`. - `action` (object): Each returned action row: `dim`, `layout`, `units`, and `horizon.max` (the most rows one call returns). `horizon.default`, when present, is how many rows the model's own evaluation executes per call. - `instruction` (string): `"required"`, `"optional"` or `"unused"`. - `fields` (object[]): Extra request fields this model takes: `name` (a dotted path, e.g. `observation.history`), `required`, `description`. - `notes` (string): Anything else worth knowing, including what couldn't be determined. - `license` (string | null): License of the served weights. - `checkpoint` (string | null): The exact checkpoint served. - `open_weights` (boolean): Whether the weights are public. - `released` (string | null): First release, `"YYYY-MM"`. - `source` (string | null): Paper, model card or announcement. - `description` (string): A short description. - `excluded_reason` (string | null): Why an excluded model isn't served. - `pack` (string | null): The worker pack that serves it on GPUs. ## Errors - `404`: No model with this id (`not_found_error`) Plus the errors every endpoint shares: see [Errors](https://www.openrobotics.dev/docs/errors). ## Example request cURL: ```bash curl https://api.openrobotics.dev/v1/models/physical-intelligence/pi0 ``` Python: ```python import requests model = requests.get("https://api.openrobotics.dev/v1/models/physical-intelligence/pi0").json()["data"] print(model["status"], model["inputs"]) ``` TypeScript: ```typescript const { data: model } = await fetch("https://api.openrobotics.dev/v1/models/physical-intelligence/pi0").then((r) => r.json()); ``` ## Example response ```json { "data": { "id": "physical-intelligence/pi0", "name": "π0", "provider": "Physical Intelligence", "type": "VLA", "task": null, "endpoint": "act", "status": "live", "price": 0.4, "latency_ms": 73, "embodiments": ["LIBERO"], "inputs": { "cameras": [ { "name": "agentview", "required": true }, { "name": "wrist", "required": true } ], "state": { "dim": 8, "layout": ["eef_x", "eef_y", "eef_z", "eef_axis_angle_x", "eef_axis_angle_y", "eef_axis_angle_z", "gripper_qpos_left", "gripper_qpos_right"] }, "action": { "dim": 7, "layout": ["delta_x", "delta_y", "delta_z", "delta_axis_angle_x", "delta_axis_angle_y", "delta_axis_angle_z", "gripper"], "horizon": { "max": 50 } }, "instruction": "required" }, "license": "Gemma Terms of Use" } } ```