Script → Video
FREEby Revid@revid_ai
New1,042 installsSecurity verified
What it does
Turn an already-written script into a video with voiceover, auto-cut stock visuals, and captions. Use when the user has the words and wants Revid to handle production. Calls the Revid MCP server (render_video → get_project_status).
Skill Files
SKILL.md
MD
---
name: revid-script-to-video
description: Turn an already-written script into a video with voiceover, auto-cut stock visuals, and captions. Use when the user has the words and wants Revid to handle production. Calls the Revid MCP server (render_video → get_project_status).
---
# Script → video
> Calls the **Revid MCP server** (`https://www.revid.ai/api/mcp`). Install once — see [`revid-api-foundations`](../revid-api-foundations/SKILL.md#install-the-revid-mcp-server).
The script-to-video workflow is the lowest-friction path: you bring the words,
Revid brings the visuals + voice + captions + edit.
## When to use this skill
- The user pastes a finished script (or generates one in-conversation).
- They want full creative control over the *words*.
- They are happy with stock visuals (otherwise see
[`revid-script-with-custom-media`](../revid-script-with-custom-media/SKILL.md)).
- For an idea-to-video flow, use
[`revid-prompt-to-video`](../revid-prompt-to-video/SKILL.md).
## Inputs
| Field | Required | Notes |
|---|---|---|
| `text` | yes | The script. Use line breaks for scene boundaries. |
| `aspectRatio` | no | Default `9:16` |
| `voiceId` | no | Pick to match the script tone |
| `targetDuration` | no | Auto-derived from script length if omitted |
## Step-by-step
1. Validate `text` is non-trivial (>30 words) and within practical limits
(~1500 words for a 5-min video).
2. Call MCP tool `render_video` with the payload below — returns `data.pid`.
3. Then poll MCP tool `get_project_status` with that `pid` every 5–8 s until
`data.status === "ready"` (read `data.videoUrl`). Optionally call
`export_video` for a freshly named mp4.
## `render_video` arguments
```json
{
"workflow": "script-to-video",
"source": { "text": "{SCRIPT}" },
"aspectRatio": "9:16",
"voice": { "enabled": true, "voiceId": "aria-en-us", "stability": 0.6, "speed": 1.0, "language": "en-US" },
"captions": { "enabled": true, "position": "middle", "autoCrop": true },
"music": { "enabled": true, "syncWith": "beats" },
"media": {
"type": "stock-video",
"density": "medium",
"animation": "soft",
"quality": "pro",
"imageModel": "good",
"videoModel": "pro"
},
"options": {
"summarizationPreference": "no-summarization",
"soundEffects": true,
"hasToGenerateCover": true
},
"render": { "resolution": "1080p", "frameRate": 30 }
}
```
`summarizationPreference: "no-summarization"` — the user wrote the script for a
reason. Don't paraphrase it.
## Polling
Call `get_project_status` with the `pid` returned by `render_video`. Stop when
`data.status === "ready"`; fail when `data.status === "failed"`. Cadence: 5 s,
then 8 s once `progress > 30`. Full pseudocode:
[`revid-api-foundations` § Polling](../revid-api-foundations/SKILL.md#polling).
## Examples
- [`examples/honey-script.json`](examples/honey-script.json) — copy-paste body
for `render_video` *(also a valid POST body for the direct HTTPS fallback)*.
- [`examples/run.sh`](examples/run.sh) — bash smoke test using the **direct
HTTPS fallback**.
## Failure modes
| Symptom | Fix |
|---|---|
| Script too long → exceeds context | Either split into multiple `render_video` calls (one per chapter) or set `summarizationPreference: "summarize"`. |
| Voice mispronounces brand names | Inline phonetic spelling in the script ("Revid (rev-id)"). |
| Visuals don't match niche topic | Pre-author a few key shots and switch to [`revid-script-with-custom-media`](../revid-script-with-custom-media/SKILL.md). |
| Music drowns the voice | Lower music duck — currently no direct knob; switch `music.enabled: false` and add ambient sound effects via `options.soundEffects: true`. |
| `ok: false`, `error: "insufficient_credits"` | Drop `media.quality` to `"standard"` or `render.resolution` to `"720p"`, or call `buy_credit_pack`. |
## See also
- [`revid-script-with-custom-media`](../revid-script-with-custom-media/SKILL.md)
for full visual control.
- [`revid-prompt-to-video`](../revid-prompt-to-video/SKILL.md) when you want
Revid to write the script too.
- [`revid-tweet-to-talking-head`](../revid-tweet-to-talking-head/SKILL.md) for
short scripts with an avatar.How to install
1
Add the Revid MCP server to your agent:
{
"mcpServers": {
"revid": {
"url": "https://www.revid.ai/api/mcp",
"headers": {
"Authorization": "Bearer YOUR_REVID_API_KEY"
}
}
}
}Get a key at revid.ai/account. The MCP server exposes render_video, get_project_status, export_video, calculate_credits, and 9 more tools.
2
Pick your agent and copy the install:
Native install
openclaw skills install revid-script-to-videoOne command. Pulls from ClawHub, uses the Revid MCP server, auto-updates.
Skills are plain SKILL.md + JSON that wrap the Revid MCP server. Native install on OpenClaw via ClawHub. Drop-in for Claude Skills. Reference-only for Codex, Cursor, and Gemini — fork the repo and adapt for any other runtime.