# IRASim API

> Interactive real-robot action simulator: from one frame and the actions the robot will take, a video DiT generates the frames those actions produce. Served: the frame-level Language-Table model (2-d end-effector motions, 288×512, up to 61 frames).

## Details

- Model id: `bytedance/irasim`
- Provider: ByteDance Research
- Type: World model · Action-conditioned video prediction
- Parameters: 680M
- Output: Video of a robot arm executing given actions from a first frame (Language-Table)
- Embodiments: Single arm
- Endpoint: `POST /v1/predict`
- Price: $0.25 per clip
- Checkpoint served: `https://lf-robot-opensource.bytetos.com/obj/lab-robot-public/opensource_IRASim_v1/languagetable_checkpoints_data.tar.gz#opensource_robotdata/languagetable/checkpoints/frame_ada/0300000.pt`
- License: Apache-2.0 (code github.com/bytedance/IRASim LICENSE; the checkpoints are released by that repo's README with no other terms); VAE stabilityai/stable-diffusion-xl-base-1.0 (vae/): CreativeML OpenRAIL++-M (commercial use allowed, use-based restrictions)
- Released: June 2024
- Status: Live
- Paper or model card: https://arxiv.org/abs/2406.14540

## Inputs

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

- `image` (required): The current frame.
- `actions` (required): chunk·k rows of 2 values in the dataset's units (Language-Table: the end-effector's xy motion per step).
- Notes: Video: 512×288 by default, 4 fps (models.json config).

## Call IRASim

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": "bytedance/irasim",
    "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], "…"],
  },
).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: "bytedance/irasim",
    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], "…"],
  }),
}).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":"bytedance/irasim","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],"…"]}'
```

## Guides about IRASim

- [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.

## IRASim FAQ

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

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

### How much does the IRASim API cost?

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

### What license does IRASim use?

The weights we serve (https://lf-robot-opensource.bytetos.com/obj/lab-robot-public/opensource_IRASim_v1/languagetable_checkpoints_data.tar.gz#opensource_robotdata/languagetable/checkpoints/frame_ada/0300000.pt) are released under Apache-2.0 (code github.com/bytedance/IRASim LICENSE; the checkpoints are released by that repo's README with no other terms); VAE stabilityai/stable-diffusion-xl-base-1.0 (vae/): CreativeML OpenRAIL++-M (commercial use allowed, use-based restrictions). Check the license for your use case.

### Is IRASim open source?

IRASim's weights are publicly available under Apache-2.0 (code github.com/bytedance/IRASim LICENSE; the checkpoints are released by that repo's README with no other terms); VAE stabilityai/stable-diffusion-xl-base-1.0 (vae/): CreativeML OpenRAIL++-M (commercial use allowed, use-based restrictions). 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
- [DreamDojo](https://www.openrobotics.dev/models/nvidia/dreamdojo.md): `nvidia/dreamdojo`, $0.40 per clip
- [Epona](https://www.openrobotics.dev/models/tsinghua/epona.md): `tsinghua/epona`, $0.60 per clip
