Cosmos Predict 1 API
The first Cosmos world foundation model platform, released with video tokenizers, a curation pipeline and post-training examples for robotics and driving.
Call Cosmos Predict 1
Send one request with your API key. Generation runs as a job: the call answers 202 right away and you poll for the result. See the API reference for every field.
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-1", "prompt": "The robot arm picks up the red block and places it in the bowl.", "image": "<base64 JPEG or PNG>", },).json()job = res # 202: poll GET /v1/jobs/{job["id"]} for the videoGPUs start on demand. If Cosmos Predict 1 hasn't been called for a while, the first request returns 503 with a Retry-After header while it boots (usually a few minutes, never billed).
Inputs
What Cosmos Predict 1 needs in a request as served (nvidia/Cosmos-1.0-Diffusion-7B-Video2World), beyond the fields every /v1/predict call takes. The same spec is in inputs on GET /v1/models.
prompt- Required. What should happen in the video.
image- Optional. The first frame.
frames- Optional. A clip to continue, oldest first (at least 9 frames).
- Notes
- Send one of image or frames (no text-only generation). Video: 960×704 by default, 121 frames by default, at most 121 frames, clips of 8k + 1 frames, a context clip needs at least 9 frames, 24 fps (models.json config).
Guides about Cosmos Predict 1
- NVIDIA Cosmos explained: Predict, Transfer, Reason and Cosmos 3
- A guide to every NVIDIA Cosmos model: Cosmos Predict, Transfer, Reason, Embed, Cosmos Policy and Cosmos 3, with sizes, licenses and what each one is for.
- World models for robotics: video, latents and prediction
- How robotics world models predict video or latents, how async prediction jobs work, and how to validate shapes and timing with an offline Python example.
Cosmos Predict 1 FAQ
- How do I run Cosmos Predict 1 without my own GPU?
- Call POST /v1/predict on the OpenRobotics API with "model": "nvidia/cosmos-predict-1". We run Cosmos Predict 1 on cloud GPUs that start on demand, so there is nothing to install or host.
- How much does the Cosmos Predict 1 API cost?
- $0.80 per clip, billed only for successful calls. Pay with prepaid credits or monthly pay-as-you-go.
- What license does Cosmos Predict 1 use?
- The weights we serve (nvidia/Cosmos-1.0-Diffusion-7B-Video2World) are released under NVIDIA Open Model License. Check the license for your use case.
- Is Cosmos Predict 1 open source?
- Cosmos Predict 1's weights are publicly available under NVIDIA Open Model License. OpenRobotics serves them behind an API so you can use the model without hosting it.
Run Cosmos Predict 1 with one API call
Create a key, send POST /v1/predict with "model": "nvidia/cosmos-predict-1", and pay $0.80 per clip.