# V-JEPA 2 encoder API

> Video ViT-L pretrained by latent feature prediction (facebook/vjepa2-vitl-fpc64-256). Send one image or a clip of up to 64 frames; returns the mean-pooled 1024-dim encoder features. Backbone of V-JEPA 2-AC robot planning.

## Details

- Model id: `meta/v-jepa-2-encoder`
- Provider: Meta
- Type: Vision encoder
- Parameters: 300M (ViT-L)
- Output: Self-supervised spatiotemporal video features
- Embodiments: Any (video)
- Embedding size: 1024 dimensions
- Endpoint: `POST /v1/embed`
- Price: $0.02 per 1,000 calls
- Checkpoint served: `facebook/vjepa2-vitl-fpc64-256`
- License: MIT
- Released: June 2025
- Status: Live
- Paper or model card: https://arxiv.org/abs/2506.09985

## Inputs

What a request to V-JEPA 2 encoder needs beyond the endpoint's generic fields (also in `GET https://api.openrobotics.dev/v1/models/meta/v-jepa-2-encoder` as `inputs`).

- `frames` (optional): A clip of 1–64 frames, oldest first, all the same size (or one `image`).
- Notes: The encoder groups frames in tubelets of 2 (models.json config.tubelet).

## Call V-JEPA 2 encoder

Send one request with your API key to `POST https://api.openrobotics.dev/v1/embed`. The response comes back in the same call. The [API reference](https://www.openrobotics.dev/docs/api/embed) 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/embed",
  headers={"Authorization": f"Bearer {os.environ['OPENROBOTICS_API_KEY']}"},
  json={
    "model": "meta/v-jepa-2-encoder",
    "frames": ["<base64 JPEG or PNG>", "<base64 JPEG or PNG>", "…"],
  },
).json()
res["embedding"]        # one vector for the clip
```

TypeScript:

```typescript
const res = await fetch("https://api.openrobotics.dev/v1/embed", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.OPENROBOTICS_API_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    model: "meta/v-jepa-2-encoder",
    frames: ["<base64 JPEG or PNG>", "<base64 JPEG or PNG>", "…"],
  }),
}).then((r) => r.json());
```

cURL:

```bash
curl https://api.openrobotics.dev/v1/embed \
  -H "Authorization: Bearer $OPENROBOTICS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"meta/v-jepa-2-encoder","frames":["<base64 JPEG or PNG>","<base64 JPEG or PNG>","…"]}'
```

## Guides about V-JEPA 2 encoder

- [V-JEPA 2 explained: from I-JEPA to robot planning](https://www.openrobotics.dev/blog/v-jepa-2.md): How Meta's JEPA models work, from I-JEPA and V-JEPA to V-JEPA 2, V-JEPA 2-AC robot planning and V-JEPA 2.1, and how to call them over HTTP.
- [Vision encoders for robotics: SigLIP 2, DINOv3, CLIP compared](https://www.openrobotics.dev/blog/vision-encoders.md): How CLIP, OpenCLIP, SigLIP 2, Perception Encoder and DINOv3 differ, which VLAs use which vision encoder, and how to get embeddings over HTTP.

## V-JEPA 2 encoder FAQ

### How do I run V-JEPA 2 encoder without my own GPU?

Call POST /v1/embed on the OpenRobotics API with "model": "meta/v-jepa-2-encoder". We run V-JEPA 2 encoder on cloud GPUs that start on demand, so there is nothing to install or host.

### How much does the V-JEPA 2 encoder API cost?

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

### What license does V-JEPA 2 encoder use?

The weights we serve (facebook/vjepa2-vitl-fpc64-256) are released under MIT. Check the license for your use case.

### Is V-JEPA 2 encoder open source?

V-JEPA 2 encoder's weights are publicly available under MIT. OpenRobotics serves them behind an API so you can use the model without hosting it.

## Similar models

- [SigLIP So400m](https://www.openrobotics.dev/models/google/siglip-so400m.md): `google/siglip-so400m`, $0.02 per 1,000 calls
- [DINOv2](https://www.openrobotics.dev/models/meta/dinov2.md): `meta/dinov2`, $0.02 per 1,000 calls
- [ResNet-18 / ResNet-50](https://www.openrobotics.dev/models/microsoft/resnet-18.md): `microsoft/resnet-18`, $0.02 per 1,000 calls
- [CLIP ViT-L/14](https://www.openrobotics.dev/models/openai/clip-vit-l-14.md): `openai/clip-vit-l-14`, $0.02 per 1,000 calls
- [SigLIP 2](https://www.openrobotics.dev/models/google/siglip2-so400m.md): `google/siglip2-so400m`, $0.02 per 1,000 calls
- [EfficientNet](https://www.openrobotics.dev/models/google/efficientnet.md): `google/efficientnet`, $0.02 per 1,000 calls
