API and MCP
The API and MCP run on the same production service as the app. Video creation, editing, maps, thumbnails, API requests and MCP tool calls use one shared Scenvy credit balance.
Create a key under API with only the scopes you need. It is shown once. Send it from your server, never from browser code, a repository or a URL:
Authorization: Bearer sc_live_...
# or
X-API-Key: sc_live_...Test keys use the same service and credit balance; they are not a free sandbox. If a key leaks, revoke it and create a new one. Use the API base URL shown in the developer console, followed by a /v1 path. The website's /api/scenvy proxy is not the public API base URL.
The live OpenAPI schema describes requests, responses and authentication. Opening it does not create a video or spend credits. If the connected backend is incompatible, the schema link returns HTTP 503 instead of publishing an incorrect contract.
Endpoints
| Endpoint | Use it for |
|---|---|
POST /v1/productions | Create and save a production brief |
POST /v1/productions/{project_slug}/{video_id}/start | Validate and start the full production |
/v1/editor/projects | Editor projects and embedded editor sessions |
GET /v1/catalog | Formats, styles, Base/Pro, voices and prices for productions |
/v1/maps | Standalone animated maps (context, route, territory, front line, flow, scene): places by name or coordinates, land/sea/air routes, drawn areas, a style, brand colours and fonts, title and year |
GET /v1/maps/catalog | Map types, required and optional fields with examples, styles, brand fonts and price |
/v1/modules | Single information graphics, with an optional style and brand |
POST /v1/thumbnails/generate | Thumbnail variants; requires one to three reference video IDs |
/v1/mcp | MCP server with initialize, tools/list and tools/call |
To embed the editor, your server creates a session and the browser receives only its short-lived token. An MCP client sees only the tools its key's scopes allow. See Editor and MCP tools.
Retries
Production creation and start accept an Idempotency-Key of 8–128 letters, digits or ._:-. Reuse a key only when retrying the same request; use a different key for the start request. Editor project creation also supports this header, up to 255 characters. Other creation and render endpoints do not promise idempotent retries: check the returned status before submitting again.
Jobs and errors
| Situation | What to do |
|---|---|
| Production started | Poll GET /v1/jobs/{job_id} with the productions:read scope |
| Map, module or editor render accepted | Poll its returned status_url; preserve all query parameters, including project_id. Download only after completion |
| Thumbnails generated | Use the returned variants and their download_url values; this endpoint returns the variants directly |
| HTTP 401 / 403 | Check the key, its scopes and ownership. Result URLs still require authentication |
| HTTP 402 | The balance is too low. Top up before retrying |
| HTTP 429 | Wait for Retry-After before retrying |
| Validation error | Fix the request; retrying it unchanged fails again |
| Work failed | Uncharged reservations are released. Work already completed and charged is not automatically refunded |
Log job IDs. Support needs them to trace a request.