Communitygithub.com

pcyone/textbook-vocabulary-video-skill

教材词汇 Remotion 自动化视频 Skill:中英配音、字幕、小测、质量检查与视频号文案

textbook-vocabulary-video-skill 是什么?

textbook-vocabulary-video-skill is a Claude Code agent skill that 教材词汇 Remotion 自动化视频 Skill:中英配音、字幕、小测、质量检查与视频号文案.

兼容平台~Claude Code~Codex CLI~Cursor
npx skills add pcyone/textbook-vocabulary-video-skill

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

textbook-vocabulary-video-skill 是做什么的?

Textbook Vocabulary Remotion Automated Video Skill: bilingual voiceovers, subtitles, quizzes, quality checks, and social copy for WeChat Video.

Overview

This skill automates the creation of educational videos from textbook vocabulary lists. It uses Remotion to render videos with synchronized Chinese-English voiceovers, subtitles, and embedded quiz segments.

Features

  • Bilingual Voiceovers: Automatically generates Chinese and English speech using TTS engines.
  • Subtitles: Animated subtitles for both languages, synced with voiceover timing.
  • Quiz Integration: Adds interactive quiz sections to reinforce learning.
  • Quality Check: Automated validation of audio, subtitle timings, and content accuracy.
  • Social Copy: Generates promotional text for WeChat Video and other platforms.

How It Works

  1. Input: A JSON or CSV file containing vocabulary pairs (Chinese word, English translation, example sentences).
  2. Processing: The skill orchestrates Remotion compositions for each word, generating scenes with text, voiceover, and subtitles.
  3. Validation: A quality check step ensures audio clips are not truncated, subtitles match timing, and content is accurate.
  4. Output: Rendered video files (e.g., MP4) and a text file with social media copy.

Supported Platforms

  • Remotion: For video rendering (React-based).
  • WeChat Video: Social copy generation.
  • TTS Services: e.g., Google Cloud TTS, Azure Speech, or ElevenLabs for voiceovers.

Usage Example

# Generate a vocabulary video for a lesson
skill run textbook-vocabulary-video --input lesson5.json --output video.mp4

Configuration

See config.yaml for settings including TTS provider, voice selection, subtitle style, and quiz parameters.

Development

  • Clone the repository: git clone https://github.com/pcyone/textbook-vocabulary-video-skill.git
  • Install dependencies: npm install
  • Run locally: npx remotion render src/index.ts out/video.mp4

License

MIT

相关技能