# One AI API for video, image, music and chat models

> Revana is one AI API for video, image, music and chat models: one key and one prepaid balance for 76 video, 61 image, 6 music and voice and 104 language models (as of November 2026). You name the model, Revana runs it on a working provider route and falls back to another route for the same model when one fails, and a job that fails costs nothing. Prices as of 2026-11-22.

- Page: https://revana.si/unified-ai-api

## The four kinds (November 2026)

| Kind | Live models | Endpoint |
|---|---|---|
| Video | 76 | POST /v1/generations |
| Image | 61 | POST /v1/generations |
| Music and voice | 6 | POST /v1/generations |
| Chat | 104 | POST /v1/chat/completions |

- The model you name is never swapped; a failed provider route falls back to another route for the same model.
- Prepaid credit from $10, no subscription; a failed job costs nothing.

## Video

```bash
# One Idempotency-Key per job, made once: resend with the same $KEY after a timeout, a 429 or a 5xx
KEY=$(uuidgen)
curl https://api.revana.si/v1/generations \
  -H "Authorization: Bearer $REVANA_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $KEY" \
  -d '{
  "model": "seedance-2.5",
  "input": {
    "prompt": "A paper boat drifting down a rainy city gutter, macro shot",
    "resolution": "480p",
    "duration": 5
  },
  "max_cost_usd": 0.45
}'
```

## Chat

```python
import os
from openai import OpenAI

client = OpenAI(base_url="https://api.revana.si/v1", api_key=os.environ["REVANA_API_KEY"])
reply = client.chat.completions.create(
    model="claude-sonnet-5-5",
    messages=[{"role": "user", "content": "Write a haiku about routing."}],
)
print(reply.choices[0].message.content)
print(reply.usage.cost_usd)  # what this request cost, in USD
```

## FAQ

### Is there one API for all AI models?

Revana is one API for 240+ models across four kinds: 76 video, 61 image, 6 music and voice and 104 language models. Media models take POST /v1/generations and language models the OpenAI-compatible POST /v1/chat/completions, both on the same key and the same prepaid balance.

### How is a unified AI API different from calling each model maker?

With each maker you open an account, add a card, learn its request shape and watch its bill. Through one API you send every model the same request with one key, pay from one balance, and get one usage page for video, image, music and chat.

### Do I lose anything by not calling the maker directly?

The model is the maker's own: Revana sends your request to the model you name and never swaps it. A few maker-only features (for example web search or file uploads on some chat models) are refused with a clear error, and each model page lists what it takes.

### How do I pay?

Prepaid credit, from $10, with no subscription, seats or monthly minimum. Video is billed per second, images per picture, music per job, voice per 1,000 characters and chat per million tokens. Credit never expires and a job that fails costs nothing.

### What happens if a provider goes down?

Most models run on more than one provider route. If one fails, Revana sends the job to another route for the same model by itself. You pay only for the route that delivers, never more than the amount held when you submitted.

### Can an AI agent use it?

Yes. Connect the Revana MCP server to Claude, ChatGPT, Cursor or VS Code and the agent can list models, quote a job and make it on your balance, or call the REST API with the same key.

