# Redge Media VAPI

> Content-aware reframing of horizontal video into vertical (9:16), square (1:1) and 4:5 video, over a REST API or MCP, for developers and AI agents.

VAPI turns a horizontal video into a vertical one whose crop follows what matters: faces, the person speaking, the action. Give it a video (an upload or a URL), start a job, wait for it, and download the result. Accounts, API keys, the wallet and billing are those of Redge Media Cloud ([console](https://console.cloud.redge.media)).

## The basics

- **Base URL:** `https://vapi.cloud.redge.media`. Every endpoint is under `/v1`.
- **Authentication:** `Authorization: Bearer rmk_...`, an API key from the [Redge Media Cloud console](https://console.cloud.redge.media/api-keys). Work done with a key belongs to the person who created it; the organization pays for it.
- **Jobs are asynchronous:** `POST /v1/reframe` answers `202` with a job. `GET /v1/jobs/{id}?wait=60` answers as soon as the job finishes, or after 60 seconds.
- **Retries are safe:** send an `Idempotency-Key` header with every `POST` that starts work. A retry with the same key and body returns the same job.
- **Errors** look like `{"error": {"code", "message", "hint", "docs_url"}}`. Every code is explained in [Errors](errors.md).
- **Billing:** per second of output video, after the free minutes. `POST /v1/estimates` prices a video before you start. See [Billing and limits](billing.md).

## In this guide

- [Quickstart](quickstart.md): a vertical video in three requests.
- [Jobs](jobs.md): statuses, waiting, webhooks, idempotency, listing and canceling.
- [Reframe](reframe.md): the parameters, the result, scenes and revisions.
- [Billing and limits](billing.md): prices, estimates, spending limits and test keys.
- [AI agents and MCP](agents.md): the MCP server, connecting an agent, and tips.
- [Errors](errors.md): every error code and what to do about it.

## Machine-readable

- Every page of this guide is also Markdown: add `.md` to its address, or send `Accept: text/markdown`.
- `https://vapi.cloud.redge.media/llms.txt` lists the pages; `https://vapi.cloud.redge.media/llms-full.txt` is the whole guide in one file.
- `https://vapi.cloud.redge.media/openapi.json` is the OpenAPI schema; `https://vapi.cloud.redge.media/docs` shows it.
- `https://vapi.cloud.redge.media/mcp` is the MCP server (Streamable HTTP).
