Automated text-to-video pipeline with multi-provider TTS/ASR support - OpenAI, Azure, Aliyun, Tencent | 多厂商 TTS/ASR 支持的自动化文本转视频系统
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install video-generator或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install video-generator⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/video-generator/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: video-generator description: Automated text-to-video pipeline with multi-provider TTS/ASR support - OpenAI, Azure, Aliyun, Tencent | 多厂商 TTS/ASR 支持的自动化文本转视频系统 tags: [video-generation, remotion, openai, azure, aliyun, tencent, tts, whisper, automation, ai-video, short-video, text-to-video, multi-provider] repository: https://github.com/ZhenRobotics/openclaw-video-generator homepage: https://github.com/ZhenRobotics/openclaw-video-generator#readme requires: api_keys: - name: OPENAI_API_KEY description: OpenAI API key for TTS and Whisper services (default provider) | OpenAI API 密钥(默认提供商) url: https://platform.openai.com/api-keys optional: false provider_group: openai - name: AZURE_SPEECH_KEY description: Azure Speech Service key (alternative to OpenAI) | Azure 语音服务密钥(OpenAI 的替代选项) url: https://portal.azure.com/ optional: true provider_group: azure - name: AZURE_SPEECH_REGION description: Azure region (required with AZURE_SPEECH_KEY) | Azure 区域(配合 AZURE_SPEECH_KEY 使用) optional: true provider_group: azure - name: ALIYUN_ACCESS_KEY_ID description: Aliyun AccessKey ID (alternative to OpenAI) | 阿里云 AccessKey ID(OpenAI 的替代选项) url: https://ram.console.aliyun.com/manage/ak optional: true provider_group: aliyun - name: ALIYUN_ACCESS_KEY_SECRET description: Aliyun AccessKey Secret (required with ALIYUN_ACCESS_KEY_ID) | 阿里云 AccessKey Secret optional: true provider_group: aliyun - name: ALIYUN_APP_KEY description: Aliyun NLS App Key (required with ALIYUN_ACCESS_KEY_ID) | 阿里云 NLS 应用密钥 url: https://ram.console.aliyun.com/manage/ak optional: true provider_group: aliyun - name: TENCENT_SECRET_ID description: Tencent Cloud Secret ID (alternative to OpenAI) | 腾讯云 Secret ID(OpenAI 的替代选项) url: https://console.cloud.tencent.com/cam/capi optional: true provider_group: tencent - name: TENCENT_SECRET_KEY description: Tencent Cloud Secret Key (required with TENCENT_SECRET_ID) | 腾讯云 Secret Key optional: true provider_group: tencent - name: TENCENT_APP_ID description: Tencent Cloud App ID (required with TENCENT_SECRET_ID) | 腾讯云应用 ID optional: true provider_group: tencent tools: - node>=18 - npm - ffmpeg - python3 - jq packages: - name: openclaw-video-generator source: npm version: "1.6.2" registry_url: https://www.npmjs.com/package/openclaw-video-generator verified_repo: https://github.com/ZhenRobotics/openclaw-video-generator verified_commit: 6279034 npm_latest: "1.6.2" install: method: npm package: [email protected] commands: - npm install -g [email protected] verify: - openclaw-video-generator --version registry_verification: | npm info openclaw-video-generator version # Expected output: 1.6.2 post_install: | Configure ONE provider (see api_keys section above): OpenAI (default): export OPENAI_API_KEY="sk-..." Or Azure/Aliyun/Tencent (see api_keys for details) notes: | Install spec note: npm package.json does not include environment variable declarations (this is a spec limitation, not a security issue). All configuration is documented above in the api_keys section. Verification: npm info openclaw-video-generator ---
Automated text-to-video generation system that transforms text scripts into professional short videos with AI-powered voiceover, precise timing, and cyber-wireframe visuals.
Cost: ~$0.003 per 15-second video | License: MIT | Package: openclaw-video-generator
---
| Property | Value | |----------|-------| | npm Package | openclaw-video-generator | | Version | 1.6.2 | | Repository | github.com/ZhenRobotics/openclaw-video-generator | | Commit Hash | 6279034 | | License | MIT |
Verification:
npm info openclaw-video-generator version repository.url
# Expected: 1.6.2 and https://github.com/ZhenRobotics/openclaw-video-generator
---
This tool supports 4 alternative TTS/ASR providers. You only need ONE configured:
export OPENAI_API_KEY="sk-..."
export AZURE_SPEECH_KEY="..."
export AZURE_SPEECH_REGION="eastasia"
export ALIYUN_ACCESS_KEY_ID="..."
export ALIYUN_ACCESS_KEY_SECRET="..."
export ALIYUN_APP_KEY="..."
export TENCENT_SECRET_ID="..."
export TENCENT_SECRET_KEY="..."
export TENCENT_APP_ID="..."
Why multiple providers? Fallback support for network restrictions, regional preferences, and cost optimization.
---
node --version # Need >= 18
npm --version
ffmpeg -version
Option 1: npm Global Install
npm install -g [email protected]
export OPENAI_API_KEY="sk-..." # Or add to ~/.bashrc
openclaw-video-generator --version
Option 2: From Source
git clone https://github.com/ZhenRobotics/openclaw-video-generator.git
cd openclaw-video-generator
npm install
# Configure provider
cp .env.example .env
nano .env # Add your API key
chmod 600 .env
cd ~/openclaw-video-generator
cat > test.txt << 'EOF'
AI makes development easier
Saving time and boosting efficiency
EOF
./scripts/script-to-video.sh test.txt --voice nova --speed 1.15
# Output: out/test.mp4
---
Auto-trigger when user mentions: video, generate video, create video, 生成视频
cd ~/openclaw-video-generator && \
./scripts/script-to-video.sh <script-file> \
--voice nova \
--speed 1.15
cd ~/openclaw-video-generator && \
./scripts/script-to-video.sh <script-file> \
--voice nova \
--bg-video "backgrounds/tech.mp4" \
--bg-opacity 0.6
User: "Generate video: AI makes development easier"
Agent:
# 1. Check project
ls ~/openclaw-video-generator || echo "Not installed"
# 2. Create script
cat > ~/openclaw-video-generator/scripts/user-script.txt << 'EOF'
AI makes development easier
EOF
# 3. Generate
cd ~/openclaw-video-generator && \
./scripts/script-to-video.sh scripts/user-script.txt
# 4. Show result
echo "Video: ~/openclaw-video-generator/out/user-script.mp4"
Do:
Don't:
---
---
OpenAI:
nova (recommended), alloy, echo, shimmerAzure:
zh-CN-XiaoxiaoNeural, zh-CN-YunxiNeuralRange: 0.25 - 4.0 | Recommended: 1.15
--bg-video - Video file--bg-opacity <0-1> - Transparency--bg-overlay - Text overlayRecommended: | Use Case | Opacity | Overlay | |----------|---------|---------| | Text-focused | 0.3-0.4 | rgba(10,10,15,0.6) | | Balanced | 0.5-0.6 | rgba(10,10,15,0.4) | | Visual-focused | 0.7-1.0 | rgba(10,10,15,0.25) |
---
---
| Type | Effect | Trigger | |------|--------|---------| | title | Glitch + scale | First segment | | emphasis | Pop-up zoom | Numbers/percentages | | pain | Shake + warning | Problems mentioned | | content | Fade-in | Regular text | | circle | Rotating ring | Listed points | | end | Slide-up | Last segment |
---
Per 15-second video: ~$0.003 (< 1 cent)
---
ls ~/openclaw-video-generator || \
git clone https://github.com/ZhenRobotics/openclaw-video-generator.git ~/openclaw-video-generator && \
cd ~/openclaw-video-generator && npm install
# Verify .env
cat ~/openclaw-video-generator/.env
# Create if missing
cd ~/openclaw-video-generator
echo 'OPENAI_API_KEY="sk-..."' > .env
chmod 600 .env
cd ~/openclaw-video-generator && ./scripts/test-providers.sh
---
Local Processing:
Cloud Processing (via configured provider):
API keys are stored in .env file (600 permissions, never committed to git).
---
---
Remotion · OpenAI · Azure · Aliyun · Tencent · TypeScript · Node.js · FFmpeg
---
v1.6.2 (2026-03-25) - Current
v1.6.0 (2026-03-18)
v1.2.0 (2026-03-07)
v1.0.0 (2026-03-03)
---
License: MIT | Author: @ZhenStaff | Support: GitHub Issues
安装 Video Generator | 视频生成器 后,可以对 AI 说这些话来触发它
Help me get started with Video Generator | Video Generator
Explains what Video Generator | Video Generator does, walks through the setup, and runs a quick demo based on your current project
Use Video Generator | Video Generator to automated text-to-video pipeline with multi-provider TTS/ASR suppor...
Invokes Video Generator | Video Generator with the right parameters and returns the result directly in the conversation
What can I do with Video Generator | Video Generator in my design & creative workflow?
Lists the top use cases for Video Generator | Video Generator, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/video-generator/ 目录(个人级,所有项目可用),或 .claude/skills/video-generator/(项目级)。重启 AI 客户端后,用 /video-generator 主动调用,或让 AI 根据上下文自动发现并使用。
Video Generator | 视频生成器 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
Video Generator | 视频生成器 可免费安装使用。请查阅仓库了解许可证信息。
Automated text-to-video pipeline with multi-provider TTS/ASR support - OpenAI, Azure, Aliyun, Tencent | 多厂商 TTS/ASR 支持的自动化文本转视频系统
Video Generator | 视频生成器 属于「Design & Creative」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。
Automate my design & creative tasks using Video Generator | Video Generator
Identifies repetitive steps in your workflow and sets up Video Generator | Video Generator to handle them automatically