Public API v3

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.

Your first video in 3 steps

1 - Get a key

Grab your API key from your account settings. Send it in the key header on every call.

2 - Start a render
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"
  }'
3 - Get the result

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'
Pro tip

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.

WorkflowRequiressourcemediavoicecaptionsmusicavataroptionsrender
Script to videosource.text
Prompt to videosource.prompt
Audio to videosource.url
Music to videosource.url
Article to videosource.url
Avatar to videosource.text + avatar.url
Static background videosource.text or source.url
Motion transfersource.url + media.provided[] with 1 image (the target character)
Caption videosource.url
Ad generatorsource.prompt or media.provided[]
required available not used