Create videos programmatically
One endpoint, ten workflows. Pick what you start from - a script, a prompt, a link, or a file - and the API handles visuals, voice-over, captions, and music. Every render call costs 10 credits plus generation costs, and you can estimate any payload for free before running it.
What are you starting from?
The workflow field decides everything else - required input, defaults, and which parameters apply.
A script - the exact words to be spoken
An idea or topic - the AI writes the script
A link - article, music, or any web page
Your first video in 3 steps
Grab your API key from your account settings. Send it in the key header on every call.
curl -X POST 'https://www.revid.ai/api/public/v3/render' \
-H 'Content-Type: application/json' \
-H 'key: YOUR_API_KEY' \
-d '{
"workflow": "script-to-video",
"source": { "text": "Did you know honey never spoils?" },
"webhookUrl": "https://your-server.com/revid/webhook"
}'The render is asynchronous: your webhookUrl is called when the video is ready, or poll the status endpoint with the pid you received.
curl 'https://www.revid.ai/api/public/v3/status?pid=YOUR_PID' \
-H 'key: YOUR_API_KEY'Configure a video visually on revid.ai/create, click Get API code, and reuse that exact payload here.
All workflows at a glance
What each workflow needs (●) and what you can customize (✓). Click a workflow to explore its parameters interactively.
| Workflow | Requires | source | media | voice | captions | music | avatar | options | render |
|---|---|---|---|---|---|---|---|---|---|
| Script to video | source.text | ● | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ | ✓ |
| Prompt to video | source.prompt | ● | ✓ | ✓ | ✓ | ✓ | — | ✓ | ✓ |
| Audio to video | source.url | ● | ✓ | — | ✓ | ✓ | — | ✓ | ✓ |
| Music to video | source.url | ● | ✓ | — | ✓ | ✓ | — | ✓ | ✓ |
| Article to video | source.url | ● | ✓ | ✓ | ✓ | ✓ | — | ✓ | ✓ |
| Avatar to video | source.text + avatar.url | ● | ✓ | ✓ | ✓ | ✓ | ● | ✓ | ✓ |
| Static background video | source.text or source.url | ● | ✓ | ✓ | ✓ | ✓ | — | ✓ | ✓ |
| Motion transfer | source.url + media.provided[] with 1 image (the target character) | ● | ● | ✓ | ✓ | ✓ | — | ✓ | ✓ |
| Caption video | source.url | ● | ✓ | — | ✓ | ✓ | — | ✓ | ✓ |
| Ad generator | source.prompt or media.provided[] | ● | ✓ | ✓ | ✓ | ✓ | — | ✓ | ✓ |
More resources
Full API reference
Every endpoint and schema, with an in-page request runner.
MCP server & CLI
Let AI agents create videos via MCP, or use revid-cli from any terminal.
OpenAPI spec
Machine-readable schema with per-workflow request types.
Postman collection
One request per workflow plus curated recipes, ready to import.
Docs for LLMs
Markdown versions of these docs, optimized for AI agents. Also in llms.txt.