# LeWAM (JEPA world-action model) API

> End-to-end world and action modeling with JEPAs: one model does goal-conditioned visual planning and task-completion behaviour cloning in latent space, built on the stable-worldmodel/LeWM stack.

## Details

- Model id: `brown/lewam`
- Provider: Brown University (Balestriero lab)
- Type: World model · Latent prediction
- Parameters: ~15M
- Output: Joint action generation and latent world prediction
- Embodiments: Single arm
- Endpoint: `POST /v1/predict`
- Price: $0.0003 per clip
- Checkpoint served: `LeWAM/lewam-pusht`
- License: MIT (weights and code; portions from le-wm: MIT); trained from scratch, ResNet-18 trunk with no pretrained weights
- Released: October 2026
- Status: Live
- Paper or model card: https://arxiv.org/abs/2610.12818

## Inputs

What a request to LeWAM (JEPA world-action model) needs beyond the endpoint's generic fields (also in `GET https://api.openrobotics.dev/v1/models/brown/lewam` as `inputs`).

- `frames` (required): Context frames (or one `image`).
- `goal_image` (optional): A goal frame: with no actions, the response is a plan.
- Notes: Video: 5 frames by default (models.json config).

## Call LeWAM (JEPA world-action model)

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": "brown/lewam",
    "frames": ["<base64 JPEG or PNG>", "<base64 JPEG or PNG>", "…"],
  },
).json()
job = res                # poll GET /v1/jobs/{job["id"]} for result.latents
```

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: "brown/lewam",
    frames: ["<base64 JPEG or PNG>", "<base64 JPEG or PNG>", "…"],
  }),
}).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":"brown/lewam","frames":["<base64 JPEG or PNG>","<base64 JPEG or PNG>","…"]}'
```

## Guides about LeWAM (JEPA world-action model)

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

## LeWAM (JEPA world-action model) FAQ

### How do I run LeWAM (JEPA world-action model) without my own GPU?

Call POST /v1/predict on the OpenRobotics API with "model": "brown/lewam". We run LeWAM (JEPA world-action model) on cloud GPUs that start on demand, so there is nothing to install or host.

### How much does the LeWAM (JEPA world-action model) API cost?

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

### What license does LeWAM (JEPA world-action model) use?

The weights we serve (LeWAM/lewam-pusht) are released under MIT (weights and code; portions from le-wm: MIT); trained from scratch, ResNet-18 trunk with no pretrained weights. Check the license for your use case.

### Is LeWAM (JEPA world-action model) open source?

LeWAM (JEPA world-action model)'s weights are publicly available under MIT (weights and code; portions from le-wm: MIT); trained from scratch, ResNet-18 trunk with no pretrained weights. OpenRobotics serves them behind an API so you can use the model without hosting it.

## Similar models

- [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
- [V-JEPA 2](https://www.openrobotics.dev/models/meta/v-jepa-2.md): `meta/v-jepa-2`, $0.01 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
- [V-JEPA 2-AC](https://www.openrobotics.dev/models/meta/v-jepa-2-ac.md): `meta/v-jepa-2-ac`, $0.05 per clip
- [LeWAM (Latent Evolving World Action Model)](https://www.openrobotics.dev/models/baidu/lewam.md): `baidu/lewam`, not served
