reelwords-captions
Generate captions for short-form videos using the ReelWords (reelwords.ai) Caption API. Use when a user asks to create caption jobs, render stylized subtitles for Reels/TikTok/Shorts, poll caption-job status, or download the rendered captioned video via the ReelWords REST API endpoints (/api/v1/caption-jobs) using an x-api-key (rw_...).
- License 许可
- MIT
- 最近更新
- 2026-06-07
- Stars
- ★ 0
- Forks
- 1
01 前言 Front Matter
- name
- reelwords-captions
- metadata
- { "clawdbot": { "emoji": "📝", "requires": { "env": [ "REELWORDS_API_KEY" ], "bins": [ "python3" ] } } }
- description
- Generate captions for short-form videos using the ReelWords (reelwords.ai) Caption API. Use when a user asks to create caption jobs, render stylized subtitles for Reels/TikTok/Shorts, poll caption-job status, or download the rendered captioned video via the ReelWords REST API endpoints (/api/v1/caption-jobs) using an x-api-key (rw_...).
03 SKILL.md 正文
ReelWords Captions
Generate stylized captions for videos using the ReelWords Caption API: create a caption render job, poll until complete, then download the rendered output.
Setup
1) Create a ReelWords account + API key
- Sign up / log in: https://reelwords.ai
- Open the account menu (top-right) → API Keys → New key
- Copy the key (it will look like
rw_...).
2) Provide the API key to OpenClaw
Provide the API key to the process as REELWORDS_API_KEY.
Common options:
- Set
REELWORDS_API_KEYas an environment variable (best when running the script directly) - If you run via OpenClaw/Clawdbot, store it in
~/.clawdbot/openclaw.jsonunderskills.entries.reelwords-captions.envso the runtime can populate env vars for the skill.
Option A: environment variable
export REELWORDS_API_KEY="rw_..."
Option B: openclaw.json (recommended)
Edit ~/.clawdbot/openclaw.json and add an entry:
{
"skills": {
"entries": {
"reelwords-captions": {
"enabled": true,
"env": {
"REELWORDS_API_KEY": "rw_..."
}
}
}
}
}
Security note
Treat your API key like a password:
- don’t commit it to git
- don’t paste it into public chats
- rotate it in ReelWords if you suspect it leaked
Usage
Base URL: https://api.reelwords.ai
You can use either the included helper script (simplest), or call the REST endpoints directly.
Option 1: All-in-one helper script (create → poll → download)
From this skill directory:
python3 scripts/reelwords_caption_job.py \
--video-url "https://cdn.reelwords.ai/sample.mp4" \
--style-id "style1" \
--add-emojis \
--max-words-per-line 6 \
--position-y 82 \
--font-size 54 \
--highlight-color "#FFD803" \
--hook-color "#FF5CAA" \
--out captioned.mp4
Notes:
- The script prints the final job JSON to stdout.
- Download logic:
- prefers
result.downloadUrlwhen present - otherwise falls back to
GET /api/v1/caption-jobs/{id}/video(which typically redirects to a signed URL)
- prefers
Option 2: Raw API examples (curl)
1) Create job
curl -sS https://api.reelwords.ai/api/v1/caption-jobs \
-H "x-api-key: $REELWORDS_API_KEY" \
-H "content-type: application/json" \
-d '{
"videoUrl": "https://cdn.reelwords.ai/sample.mp4",
"preferences": {
"style": {
"styleId": "style1"
}
}
}'
Response includes an id (save it as $JOB_ID).
2) Poll status
curl -sS https://api.reelwords.ai/api/v1/caption-jobs/$JOB_ID \
-H "x-api-key: $REELWORDS_API_KEY" \
-H "accept: application/json"
Poll until status becomes completed (or the response includes failureReason/failureMessage).
3) Download rendered video
Preferred (when present):
- download from
result.downloadUrl
Fallback (works in most tenants):
curl -L https://api.reelwords.ai/api/v1/caption-jobs/$JOB_ID/video \
-H "x-api-key: $REELWORDS_API_KEY" \
-o captioned.mp4
Workflow (high level)
- Create caption job:
POST /api/v1/caption-jobsvideoUrl(required)preferences.style.styleId(required)- optional preferences (emojis, max words per line, colors, font sizing, etc.)
- Poll job status:
GET /api/v1/caption-jobs/{id}until:- completed:
result.downloadUrlis usually present (downloadable) - failed:
failureReason/failureMessagepresent
- completed:
- Download:
result.downloadUrl, orGET /api/v1/caption-jobs/{id}/video(redirects to a signed URL)
References
- API summary + curl examples:
references/api.md
Notes
- Auth header is
x-api-key: <token>. - If you hit usage limits, treat HTTP
402as “out of credits / limit reached” and surface the response cleanly. - If ReelWords adds new fields, prefer passing them through in the JSON payload rather than hardcoding assumptions.
04 同仓库更多 Skills
crowd-prompting
A marketplace where AI agents improve prompts, system instructions, tool descriptions, and other text-based content with domain expertise from real-world operations — and earn tokens for valuable contributions.
ceaser
Interact with the Ceaser privacy protocol on Base L2 using the ceaser-mcp MCP tools. This skill uses the ceaser-mcp npm package for ALL operations -- shield, unshield, note management, and protocol queries. All ceaser tool calls use CLI subcommands (npx -y ceaser-mcp <subcommand>). Ceaser is a privacy-preserving ETH wrapper using Noir/UltraHonk zero-knowledge proofs on Base L2 (chain ID 8453).
ceaser-send
Fully automated private ETH transfer via Ceaser Protocol on Base L2 using the ceaser-mcp MCP tools. This skill uses the ceaser-mcp npm package for ALL operations -- all ceaser tool calls use CLI subcommands (npx -y ceaser-mcp <subcommand>). WARNING -- creates observable on-chain links between user wallet and hot wallet (see Privacy Warning). Generates an ephemeral hot wallet with BIP-39 mnemonic recovery, user funds it, agent signs and broadcasts the Shield TX automatically. Exactly one manual step required (funding the hot wallet with ETH). Uses Noir/UltraHonk zero-knowledge proofs.
dilemm-ai
Compete in DilemmAI, the prisoner's dilemma AI arena at dilemm.ai. Use when an OpenClaw agent wants to create an account, design and submit strategy prompts for their bot, enter matchmaking, analyze historical matches and leaderboards, and iterate on bot strategy. Requires headless browser automation (no API available yet).
moldium
Post and manage content on the Moldium blog platform. Triggered by "post to Moldium", "write a blog post", "publish an article", etc.
arxiv-paper-reviews
Interact with arXiv Crawler API to fetch papers, read reviews, submit comments, search papers, and import papers. Use when working with arXiv papers, fetching paper lists by date/category/interest, viewing paper details with comments, submitting paper reviews, searching papers by title, or importing papers from arXiv URLs via API at http://weakaccept.top:8000/.