---
title: "MakeAIVideo Scripts API: Write and Structure a Script"
description: "Write a script from a topic before rendering, structure your own prose into a scene script, or pull the readable text out of a public article URL."
canonical: https://makeaivideo.ai/docs/api/scripts
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)

API reference

# MakeAIVideo Scripts API

Write or structure a script before rendering.

3 operations · https://app.makeaivideo.ai/api/v1

## When to use the Scripts API

Scripting is separable from rendering. These endpoints produce or normalise a script without spending render credits, which matters when a human or an agent wants to approve the words before any video is made.

Three entry points depending on what you start with. A topic becomes a script with POST /videos/script. Prose you already wrote becomes a structured scene script with POST /videos/scriptify. A published article becomes readable text with POST /videos/fetch-url, ready to feed either of the other two.

The output slots straight into the script field on POST /videos, so the approve-then-render workflow is: script, review, create.

Script a topic without renderingCopy

```
curl -X POST https://app.makeaivideo.ai/api/v1/videos/script \
  -H "Authorization: Bearer $MAV_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "topic": "How compound interest works",
    "mode": "cinematic",
    "target_duration": 30
  }'
```

-   [POST`/videos/script`](/docs/api/scripts/generate-script)
-   [POST`/videos/scriptify`](/docs/api/scripts/scriptify)
-   [POST`/videos/fetch-url`](/docs/api/scripts/fetch-url)

POST`/videos/script`ai

### Write a script from a topic or a brief (no video yet)

POST https://app.makeaivideo.ai/api/v1/videos/script

#### Responses

-   `200`Script

POST`/videos/scriptify`ai

### Structure your own prose into a scene script

POST https://app.makeaivideo.ai/api/v1/videos/scriptify

#### Responses

-   `200`Script

POST`/videos/fetch-url`ai

### Fetch a public article's readable text (for the article tool)

POST https://app.makeaivideo.ai/api/v1/videos/fetch-url

#### Responses

-   `200`Page

## Scripts API questions

Can I review a script before spending credits on the video?

Yes, and this is the main reason these endpoints exist. Generate the script first, show it to whoever needs to approve it, then pass the approved script object to POST /videos.

What is the difference between script and scriptify?

POST /videos/script writes a script from a topic or brief. POST /videos/scriptify takes prose you already have and structures it into numbered scenes with narration and visual directions.

Can I turn a blog post into a video script?

Yes. POST /videos/fetch-url extracts the readable text from a public article, which you then pass through scriptify to get a scene script.

## MakeAIVideo API guides

-   [Quickstart](/docs/quickstart) — the create, poll and download loop end to end.
-   [Authentication](/docs/authentication) — what the ai scope on this page mean.
-   [Agents](/docs/agents) — calling these endpoints from an autonomous agent.

## More MakeAIVideo documentation

In the product

-   [Script to video](/script-to-video): the same step in the app
-   [Blog to video](/blog-to-video): what fetch-url powers

Further reading

-   [How to write a video script](/blog/how-to-write-an-ai-video-script): what a good brief looks like

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%2Fapi%2Fscripts)[MakeAIVideo plans and pricing](/pricing)

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

[← Videos API](/docs/api/videos)[Characters API →](/docs/api/characters)
