Install
openclaw skills install drama-generatorAutomated drama video generator - from script to multi-character drama videos with OpenAI TTS, Whisper, and Remotion
openclaw skills install drama-generatorTagline: 短剧生成 - 从剧本到视频,一键生成 | From Script to Video, One-Click Generation
Drama Generator(短剧生成器) - 自动化短剧视频生成系统
将剧本文本自动转换为多角色配音的专业短剧视频。支持场景切换、角色对话、旁白等完整短剧元素。
支持标准的短剧剧本格式:
[场景N - 地点 - 时间]
角色名: 对话内容
旁白: 旁白内容
示例:
[场景1 - 办公室 - 早晨]
旁白: 又是忙碌的一天。
小明: 早啊,今天的会议准备好了吗?
小红: 准备好了!
[场景2 - 会议室 - 上午]
老板: 大家好,我们开始吧。
小明: (紧张) 好的,老板。
# npm 全局安装
npm install -g openclaw-drama-generator
# 或从 GitHub 克隆
git clone https://github.com/ZhenRobotics/openclaw-drama-generator.git
cd openclaw-drama-generator
npm install
# OpenAI(推荐)
export OPENAI_API_KEY="sk-..."
# 或其他提供商
export AZURE_TTS_KEY="..."
export ALIYUN_ACCESS_KEY_ID="..."
# 1. 创建剧本文件
cat > my-drama.txt <<'EOF'
[场景1 - 咖啡厅 - 下午]
旁白: 这是一个温暖的午后。
小美: 你好,好久不见!
小王: 是啊,最近很忙。
小美: 在学习做短剧视频,用AI生成的。
小王: 听起来很酷!
EOF
# 2. 一键生成视频
drama-generator my-drama.txt
# 3. 查看结果
mpv out/my-drama.mp4
| 声音 | 特点 | 适合角色 |
|---|---|---|
| alloy | 中性,清晰 | 男性角色 |
| echo | 男性,稳重 | 成熟男性 |
| fable | 英式,优雅 | 旁白 |
| onyx | 深沉,有力 | 领导/老板 |
| nova | 女性,活泼 | 年轻女性 |
| shimmer | 柔和,温暖 | 旁白/女性 |
使用 OpenAI TTS + Whisper:
处理时间(1分钟短剧):
Drama Generator - Automated drama video generation system
Automatically converts drama scripts into multi-character voiced professional drama videos. Supports scene transitions, character dialogues, narration, and complete drama elements.
Standard drama script format:
[Scene N - Location - Time]
Character Name: Dialogue content
Narrator: Narration content
Example:
[Scene 1 - Office - Morning]
Narrator: Another busy day begins.
Ming: Good morning, is the meeting ready?
Hong: Ready!
[Scene 2 - Meeting Room - Morning]
Boss: Hello everyone, let's begin.
Ming: (nervous) Yes, boss.
# npm global install
npm install -g openclaw-drama-generator
# Or clone from GitHub
git clone https://github.com/ZhenRobotics/openclaw-drama-generator.git
cd openclaw-drama-generator
npm install
# OpenAI (recommended)
export OPENAI_API_KEY="sk-..."
# Or other providers
export AZURE_TTS_KEY="..."
export ALIYUN_ACCESS_KEY_ID="..."
# 1. Create script file
cat > my-drama.txt <<'EOF'
[Scene 1 - Cafe - Afternoon]
Narrator: A warm afternoon.
Mei: Hello, long time no see!
Wang: Yes, been very busy.
Mei: Learning to make drama videos with AI.
Wang: Sounds cool!
EOF
# 2. Generate video with one command
drama-generator my-drama.txt
# 3. View result
mpv out/my-drama.mp4
| Voice | Characteristics | Suitable For |
|---|---|---|
| alloy | Neutral, clear | Male characters |
| echo | Male, steady | Mature males |
| fable | British, elegant | Narration |
| onyx | Deep, powerful | Leaders/bosses |
| nova | Female, lively | Young females |
| shimmer | Soft, warm | Narration/females |
Using OpenAI TTS + Whisper:
Processing time (1-minute drama):
License: MIT-0 Version: 2.0.0 Author: ZhenStaff