# Epona API

> Autoregressive diffusion world model for autonomous driving that jointly predicts future frames and ego trajectories over minute-long horizons; checkpoints trained on NuPlan, NuPlan+nuScenes and NuPlan+in-house data.

## Details

- Model id: `tsinghua/epona`
- Provider: Tsinghua University / Horizon Robotics et al.
- Type: World model · Action-conditioned video prediction
- Parameters: 2.5B
- Output: Autoregressive driving video plus ego trajectory
- Embodiments: Autonomous vehicle
- Endpoint: `POST /v1/predict`
- Price: $0.60 per clip
- Checkpoint served: `Kevin-thu/Epona`
- License: MIT (weights hf.co/Kevin-thu/Epona and code github.com/Kevin-thu/Epona); trained from scratch with DC-AE (mit-han-lab efficientvit: Apache-2.0)
- Released: July 2025
- Status: Live
- Paper or model card: https://arxiv.org/abs/2506.24113

## Inputs

What a request to Epona needs beyond the endpoint's generic fields (also in `GET https://api.openrobotics.dev/v1/models/tsinghua/epona` as `inputs`).

- `frames` (required): The context clip, oldest first, 1/fps apart: at least 10 frames.
- Notes: Video: 1024×512 by default, 10 frames by default, at most 40 frames, 5 fps (models.json config).

## Call Epona

Send one request with your API key to `POST https://api.openrobotics.dev/v1/predict`. Generation runs as a job: the call answers 202 right away and you poll for the result. The [API reference](https://www.openrobotics.dev/docs/api/predict) lists every field. GPUs start on demand: after a quiet spell the first call returns `503` with `Retry-After` while one boots (never billed).

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": "tsinghua/epona",
    "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 10 frames.
  },
).json()
job = res                # 202: poll GET /v1/jobs/{job["id"]} for the video
```

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: "tsinghua/epona",
    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 10 frames.
  }),
}).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":"tsinghua/epona","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":"<…>"}'
```

## Guides about Epona

- [World models for robotics: video, latents and prediction](https://www.openrobotics.dev/blog/world-models.md): 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](https://www.openrobotics.dev/blog/nvidia-cosmos.md): 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.

## Epona FAQ

### How do I run Epona without my own GPU?

Call POST /v1/predict on the OpenRobotics API with "model": "tsinghua/epona". We run Epona on cloud GPUs that start on demand, so there is nothing to install or host.

### How much does the Epona API cost?

$0.60 per clip, billed only for successful calls. Pay with prepaid credits or monthly pay-as-you-go.

### What license does Epona use?

The weights we serve (Kevin-thu/Epona) are released under MIT (weights hf.co/Kevin-thu/Epona and code github.com/Kevin-thu/Epona); trained from scratch with DC-AE (mit-han-lab efficientvit: Apache-2.0). Check the license for your use case.

### Is Epona open source?

Epona's weights are publicly available under MIT (weights hf.co/Kevin-thu/Epona and code github.com/Kevin-thu/Epona); trained from scratch with DC-AE (mit-han-lab efficientvit: Apache-2.0). OpenRobotics serves them behind an API so you can use the model without hosting it.

## Similar models

- [AdaWorld](https://www.openrobotics.dev/models/little-podi/adaworld.md): `little-podi/adaworld`, $0.05 per clip
- [Ctrl-World](https://www.openrobotics.dev/models/stanford/ctrl-world.md): `stanford/ctrl-world`, $0.15 per clip
- [Vista](https://www.openrobotics.dev/models/opendrivelab/vista.md): `opendrivelab/vista`, $0.15 per clip
- [DrivingWorld](https://www.openrobotics.dev/models/yvanyin/drivingworld.md): `yvanyin/drivingworld`, $0.20 per clip
- [IRASim](https://www.openrobotics.dev/models/bytedance/irasim.md): `bytedance/irasim`, $0.25 per clip
- [DreamDojo](https://www.openrobotics.dev/models/nvidia/dreamdojo.md): `nvidia/dreamdojo`, $0.40 per clip
