DrivingWorld API
GPT-style autoregressive driving world model with spatial-temporal fusion and a VQ-VAE, generating 40+ second driving videos with controllable ego trajectories.
Call DrivingWorld
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": "yvanyin/drivingworld", "image": "<base64 JPEG or PNG>", "states": [[0.4, 0, 0.3, 0, 0, 0, 0]], "actions": [[0.42, 0, 0.3, 0, 0, 0, 0], "…"], "frames": "<…>", # The context clip, oldest first, 1/fps apart: at least 15 frames. },).json()job = res # 202: poll GET /v1/jobs/{job["id"]} for the videoGPUs start on demand. If DrivingWorld 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 DrivingWorld needs in a request as served (huxiaotaostasy/DrivingWorld), beyond the fields every /v1/predict call takes. The same spec is in inputs on GET /v1/models.
frames- Required. The context clip, oldest first, 1/fps apart: at least 15 frames.
driving- Optional. Ego motion for the generated frames: {trajectory | speed | command}.
- Notes
- Video: 512×256 by default, 10 frames by default, at most 40 frames, 5 fps (models.json config).
Guides about DrivingWorld
- 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.
- 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.
DrivingWorld FAQ
- How do I run DrivingWorld without my own GPU?
- Call POST /v1/predict on the OpenRobotics API with "model": "yvanyin/drivingworld". We run DrivingWorld on cloud GPUs that start on demand, so there is nothing to install or host.
- How much does the DrivingWorld API cost?
- $0.20 per clip, billed only for successful calls. Pay with prepaid credits or monthly pay-as-you-go.
- What license does DrivingWorld use?
- The weights we serve (huxiaotaostasy/DrivingWorld) are released under MIT (weights and code); trained from scratch. Check the license for your use case.
- Is DrivingWorld open source?
- DrivingWorld's weights are publicly available under MIT (weights and code); trained from scratch. OpenRobotics serves them behind an API so you can use the model without hosting it.
Run DrivingWorld with one API call
Create a key, send POST /v1/predict with "model": "yvanyin/drivingworld", and pay $0.20 per clip.