---
title: "MakeAIVideo API Documentation: REST and MCP"
description: "Documentation for the MakeAIVideo API. Turn a brief or your own script into a finished video, subscribe to webhooks, and connect agents over MCP."
canonical: https://makeaivideo.ai/docs
format: markdown
generator: makeaivideo-marketing build-time HTML→MD
---

[Documentation](/docs)v1.2

Guides

-   [Overview](/docs)
-   [Quickstart](/docs/quickstart)
-   [Authentication](/docs/authentication)
-   [Webhooks](/docs/webhooks)

Integrations

-   [MCP server](/docs/mcp)
-   [Agents](/docs/agents)
-   [CLI](/docs/cli)
-   [TypeScript SDK](/docs/sdk)

API reference

-   [All endpoints](/docs/api)
-   [Introspection](/docs/api/introspection)
-   [Videos](/docs/api/videos)
-   [Scripts](/docs/api/scripts)
-   [Characters](/docs/api/characters)
-   [Voices](/docs/api/voices)
-   [Music](/docs/api/music)
-   [Uploads](/docs/api/uploads)
-   [Brand kit](/docs/api/brand-kit)
-   [Workspace](/docs/api/workspace)
-   [Ideas](/docs/api/ideas)
-   [Publishing](/docs/api/publishing)
-   [Webhooks](/docs/api/webhooks)
-   [Auth](/docs/api/auth)

# MakeAIVideo API documentation

Turn a brief or your own script into a finished short-form video, edit and regenerate parts of it, and fetch the MP4. Everything the product can do, agents can do.

https://app.makeaivideo.ai/api/v1 · v1.2 · 51 paths, 65 operations

## Start here

[

Quickstart

From an API key to a finished MP4, in one curl session.

](/docs/quickstart)[

Authentication

Bearer keys, the read / write / ai scopes, and what a 403 means.

](/docs/authentication)[

Webhooks

Signed deliveries, the retry schedule, and verifying an HMAC.

](/docs/webhooks)

## Ways to connect

Three surfaces onto the same account, the same credits and the same scopes.

[

MCP server

Add MakeAIVideo to Claude or ChatGPT as a custom connector.

](/docs/mcp)[

Agents

Async renders, idempotency, and least-privilege keys for autonomous agents.

](/docs/agents)[

CLI

Device-code login for terminals and headless machines.

](/docs/cli)[

TypeScript SDK

A typed client with polling, webhook verification and error classes.

](/docs/sdk)

Open source packages (MIT): `@makeaivideo/mcp` ([GitHub](https://github.com/makeaivideo-ai/mcp), [npm](https://www.npmjs.com/package/@makeaivideo/mcp)) · `@makeaivideo/sdk` ([GitHub](https://github.com/makeaivideo-ai/sdk), [npm](https://www.npmjs.com/package/@makeaivideo/sdk)) · `@makeaivideo/cli` ([GitHub](https://github.com/makeaivideo-ai/cli), [npm](https://www.npmjs.com/package/@makeaivideo/cli)). Machine-readable spec: [openapi.json](https://app.makeaivideo.ai/api/v1/openapi.json).

## The response envelope

Every JSON response has the same three keys, so a client can unwrap any endpoint the same way.

SuccessCopy

```
{
  "data": { ... },
  "error": null,
  "meta": { ... }
}
```

On failure `data` is null and `error` carries a machine-readable `code`.

FailureCopy

```
{
  "data": null,
  "error": {
    "message": "Insufficient credits",
    "code": "insufficient_credits",
    "retryable": false
  },
  "meta": { ... }
}
```

`retryable` is true only for 5xx and 429. Never retry a 4xx without changing the request. Two endpoints return files rather than JSON, including `GET /videos/{id}/captions`.

## The core loop

Renders take minutes, so creating a video is asynchronous: you get a `video_id` immediately and collect the result later.

1.  1`GET /tools`See what we can make.
2.  2`POST /videos/estimate`Free quote, before you spend credits.
3.  3`POST /videos`Create from a brief plus fields, or your own script. Returns 202.
4.  4`GET /videos/{id}`Poll, respecting poll\_after\_seconds, or skip polling and subscribe to video.ready.
5.  5`GET /videos/{id}/download`Fetch the finished MP4.

Set `idempotency_key` on create so a retry never produces, and never charges for, a second video.

## API reference

Generated from the [OpenAPI document](/openapi.json), so it matches what the API actually serves.

-   [All endpointsEvery endpoint in one list, grouped by resource.](/docs/api)
-   [Introspection3 operations.](/docs/api/introspection)
-   [VideosCreate, inspect, edit, regenerate, export and download videos.](/docs/api/videos)
-   [ScriptsWrite or structure a script before rendering.](/docs/api/scripts)
-   [Characters7 operations.](/docs/api/characters)
-   [Voices3 operations.](/docs/api/voices)
-   [Music2 operations.](/docs/api/music)
-   [Uploads4 operations.](/docs/api/uploads)
-   [Brand kit3 operations.](/docs/api/brand-kit)
-   [Workspace2 operations.](/docs/api/workspace)
-   [Ideas2 operations.](/docs/api/ideas)
-   [PublishingConnect social accounts and post finished videos to them.](/docs/api/publishing)
-   [Webhooks7 operations.](/docs/api/webhooks)
-   [AuthCLI device-code login (RFC 8628). Unauthenticated.](/docs/api/auth)

## API questions

Does MakeAIVideo have an API?

Yes. There is a REST API at https://app.makeaivideo.ai/api/v1 covering 56 operations, plus an MCP server for assistants. Anything the product does, the API does.

Can I generate video programmatically?

Yes. POST a brief or your own script to /videos and the API renders a finished video with narration, scenes, captions and music, which you then download as an MP4.

How much does the API cost?

The API is not billed separately: renders use the same credits and the same balance as the app. Every plan from $9 a month includes monthly credits, reset on each billing date, and every plan starts with a 7-day free trial. A 30-second stock-footage video is about 112 credits and a 30-second AI video with voiceover about 612. POST /videos/estimate quotes any job for free before you commit credits to it.

How long does a render take?

Minutes rather than seconds. Creation is asynchronous: you get a video id straight away and either poll for status or subscribe to a webhook that fires when the render is ready.

## More MakeAIVideo documentation

In the product

-   [MakeAIVideo pricing](/pricing): what a video costs in credits, per tool
-   [Prompt to video](/prompt-to-video): the same pipeline, without writing any code
-   [Script to video](/script-to-video): bring your own script

Specifications

-   [OpenAPI 3.1](https://spec.openapis.org/oas/v3.1.0): the format our machine-readable spec is written in
-   [Model Context Protocol specification](https://modelcontextprotocol.io/specification/2025-06-18): the protocol this server implements

Further reading

-   [Best AI video models of 2026](/blog/best-ai-video-model-2026): how the newest AI video models compare

Get an API key

The API and MCP server use the same credits and the same balance as the app, with no separate API plan. Create a key under Settings, Advanced, API keys.

[Start 7 day free trial](https://app.makeaivideo.ai/signup?utm_source=docs&utm_medium=docs_cta&utm_content=%2Fdocs)[MakeAIVideo plans and pricing](/pricing)

7-day free trial with 350 credits, then plans from $9/mo. Cancel anytime before the trial ends.
