generating-drama-recaps
yikart/AiToEarn · Agent Skill
利用AI脚本生成和语音合成技术,从短剧片段生成带旁白的剧情回顾视频。
前往安裝 ↓安裝選項
預設為含檢閱步驟的提示。您可以切換到直接指令。
複製提示,貼入 Claude、Codex 或其他助手,它會檢視技能頁面並安裝。
I'd like to install this Claude Code skill: https://github.com/yikart/AiToEarn/tree/main/project/aitoearn-backend/apps/aitoearn-ai/src/core/agent/skills/generating-drama-recaps Please review the SKILL.md file, verify the skill is legitimate, then copy the skill folder into .claude/skills/ of my project.
直接指令會跳過檢閱 — 請先檢查原始碼。
npx skills add https://github.com/yikart/AiToEarn/tree/main/project/aitoearn-backend/apps/aitoearn-ai/src/core/agent/skills/generating-drama-recaps
安裝前請先檢視 SKILL.md 與相關檔案。點擊檔案即可預覽。
SKILL.md 內容
作者原文 · 唯讀Drama Recap Generation
Generates narrated recap videos from short drama clips using AI-powered script generation and voice synthesis.
When to Use
Use this skill when:
- Creating narrated recaps of short dramas
- Generating drama summary videos with voice-over
- Adding AI-generated commentary to drama clips
- Producing drama explanation/recap content
Key Features
- AI Script Generation: Automatically generates narration script if not provided
- Voice Synthesis: TTS technology for natural narration
- Subtitle Erasure: Removes original hardcoded subtitles (enabled by default)
- Style Customization: Various narration styles available
- Batch Generation: Generate multiple versions in one task
Workflow
Step 1: Collect Video Sources
IMPORTANT: DO NOT call getVideoInfo - URLs are auto-uploaded to VID format.
Gather video VIDs or URLs from user.
Step 2: Submit Recap Task
Call submitDramaRecapTask with:
- Video VIDs (array)
- Optional: custom narration text, style, voice config
Step 3: Poll for Results
1. First check: Wait 180 seconds (3 minutes) after submission
2. Subsequent checks: Wait 30 seconds between polls
3. Call getDramaRecapTaskStatus to check progress
Step 4: Timeout Handling
Maximum wait time: 20 minutes
If task exceeds 20 minutes:
- Report as timeout failure
- Suggest user try with shorter clips
Step 5: Return Results
On completion, return the output video URL and VID to user.
Narration Style Options
| Style | Description |
| -------- | ----------------------- |
| 生动有趣 | Vivid and interesting |
| 幽默搞笑 | Humorous and funny |
| 悬疑紧张 | Suspenseful and tense |
| 轻松愉快 | Light and pleasant |
| 感人温馨 | Touching and warm |
| 热血激昂 | Passionate and exciting |
| 浪漫甜蜜 | Romantic and sweet |
Examples
Example 1: Auto-Generated Narration
1. submitDramaRecapTask:
- vids: ["vid://xxx", "vid://yyy", "vid://zzz"]
- recapStyle: "生动有趣"
- recapTextSpeed: 1.2
2. Wait 180 seconds
3. Poll getDramaRecapTaskStatus until completed
4. Return output video URL
Example 2: Custom Narration Script
1. submitDramaRecapTask:
- vids: ["vid://xxx"]
- recapText: "这是一个关于爱情与冒险的故事..."
2. Wait 180 seconds
3. Poll getDramaRecapTaskStatus until completed
4. Return output video URL
Example 3: Generate Multiple Versions
1. submitDramaRecapTask:
- vids: ["vid://xxx", "vid://yyy"]
- batchGenerateCount: 3
- recapStyle: "轻松愉快"
2. Wait 180 seconds
3. Poll getDramaRecapTaskStatus until completed
4. Return multiple output URLs
Important Notes
- DO NOT call getVideoInfo before this task - URLs auto-upload
- Processing time: approximately 10 minutes per 1-minute of video
- Maximum wait time is 20 minutes
- Maximum narration duration: 60 minutes
- Subtitle erasure is enabled by default