Install
openclaw skills install douyin-video-create根据主题自动搜索整理信息,生成多风格视频脚本,并调用数字人平台创建完整短视频。
openclaw skills install douyin-video-create这个 Skill 提供了一个完整的内容生成 pipeline: 搜索信息 → 整理数据 → 生成脚本 → 生成数字人视频
当用户要求:
node pipeline.js --topic "人工智能的未来" --style "analysis"
node pipeline.js --topic "气候变化" --provider "d-id" --style "educational"
node pipeline.js --topic "区块链" --output "./my-videos" --style "story"
Pipeline 会生成以下文件:
output/[timestamp]/
├── 01-search-results.json # 搜索结果
├── 02-organized-data.json # 整理后的数据
├── 03-script.md # Markdown 脚本
├── 03-script.json # JSON 脚本
├── 04-video-result.json # 视频生成结果
└── REPORT.json # 完整报告
# 数字人 API Keys
export AVATAR_API_KEY="your-api-key"
export HEYGEN_API_KEY="your-heygen-key"
export DID_API_KEY="your-d-id-key"
export SYNTHESIA_API_KEY="your-synthesia-key"
支持的风格:
analysis - 深度分析型story - 故事型educational - 教育型编辑 script-generator.js 中的 SCRIPT_TEMPLATES:
SCRIPT_TEMPLATES['my-style'] = {
intro: '...',
body: '...',
conclusion: '...'
};
编辑 avatar-generator.js 中的 generateWithProvider 方法。
编辑 pipeline.js 中的 searchInformation 方法。
content-pipeline/
├── script-generator.js # 脚本生成引擎
├── data-organizer.js # 数据整理工具
├── avatar-generator.js # 数字人视频生成
├── pipeline.js # 主 pipeline
├── SKILL.md # 本文件
└── examples/
├── sample-data.json # 示例数据
└── sample-script.json # 示例脚本
MIT
如有问题,请查看日志文件或联系开发者。