What does Textbook Vocabulary Video Skill do?
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
- Input: A JSON or CSV file containing vocabulary pairs (Chinese word, English translation, example sentences).
- Processing: The skill orchestrates Remotion compositions for each word, generating scenes with text, voiceover, and subtitles.
- Validation: A quality check step ensures audio clips are not truncated, subtitles match timing, and content is accurate.
- 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