revid-api-foundations
Foundation knowledge for every Revid skill — auth, the single render endpoint, the workflow discriminator, polling, webhooks, and the response envelope. Load this once at session start; specific skills build on it.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/api00/revid-api-foundationsRevid API foundations
Everything every other skill in this library depends on. Read this once.
When to use
Always — but transparently. Other skills assume the agent already knows:
- how to authenticate
- which endpoint to hit
- how to wait for the result
- the response envelope shape
The shape of every Revid call
POST https://www.revid.ai/api/public/v3/render
Header: key: $REVID_API_KEY
Body: { "workflow": "<one-of-9>", "source": { … }, … }
↓
{ "success": 1, "pid": "p_…" }
↓
GET https://www.revid.ai/api/public/v3/status?pid=p_…
↓ (poll every 5–8 s)
{ "status": "ready", "videoUrl": "https://cdn.revid.ai/v/…mp4", … }
That's the entire contract. Skills only differ in the body of POST /render.
Auth
key: $REVID_API_KEY
The header is literally named key (not Authorization). If unset, fail with a
clear message instead of calling the API.
The 9 workflows
| Workflow | Use when input is… |
|---|---|
script-to-video | Already-written script (text). |
prompt-to-video | A one-liner idea — the API writes the script. |
article-to-video | Any URL with text content (blog/product/news). |
avatar-to-video | A script + an avatar image (talking-head). |
ad-generator | A product description — AI writes ad hooks. |
music-to-video | A music URL + visuals. |
motion-transfer | A reference image animated with motion from a clip. |
caption-video | An existing video that needs captions. |
static-background-video | A voiceover over a fixed background. |
Pick the workflow that matches the input shape, not the output you want.
The same script-to-video workflow can produce a Reel, a YouTube short, or a
LinkedIn square — that's just aspectRatio.
Source mapping
Each workflow expects one of these source.* fields:
| Workflow | Field |
|---|---|
script-to-video | source.text |
prompt-to-video | source.prompt (+ optional source.stylePrompt, durationSeconds) |
article-to-video | source.url (+ optional source.scrapingPrompt) |
ad-generator | source.prompt (the product description) |
avatar-to-video | source.text (script) + top-level avatar.url |
music-to-video / caption-video / motion-transfer | source.url |
static-background-video | source.text + media.backgroundVideo |
If you put text in the wrong field, the call fails 422 with a schema error.
Common knobs every skill should set
-
aspectRatio— pick from the consumer surface:- Reels / TikTok / Shorts →
9:16 - LinkedIn / Instagram feed →
1:1 - YouTube long-form →
16:9
- Reels / TikTok / Shorts →
-
voice.enabled—truefor narrated content;falsefor music-only or caption-only outputs. -
captions.enabled— keeptrueby default. Most short-form watches happen on mute. -
music.enabled—truefor promo / ad / story content;falsefor talking-head where the avatar voice should breathe.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-api00-revid-api-foundations": {
"enabled": true,
"auto_update": true
}
}
}Related Skills
revid-article-to-short
Turn any news article or long-form post URL into a 30–60 second 9:16 short with stock visuals, narration, and captions. Use when the user shares a link and wants an edited summary, not a talking-head.
revid-news-to-daily-short
Generate a daily news short on a topic Revid researches itself. Use for a recurring "news of the day in <niche>" channel — the user only supplies the topic; Revid fetches fresh news, writes the script, and produces the video.
revid-blog-to-avatar-video
Turn a blog post URL into a talking-head avatar video — the avatar reads a summarized script of the post against a clean background. Use when the user wants a personal/expert delivery vs an edited promo.
revid-pdf-to-video
Turn a PDF (whitepaper, ebook chapter, slide deck export, research paper) into a short summary video. Use when the source is a PDF URL or a PDF the agent can upload to public storage first.
revid-tweet-to-talking-head
Turn an X/Twitter/LinkedIn post (URL or pasted thread text) into a talking-head video that delivers the take. Use when a creator wants to repurpose a viral post as a short-form video.