Communitygithub.com

Textbook Vocabulary Video Skill

Automated video creation for textbook vocabulary: bilingual voiceovers, subtitles, quizzes, quality checks, and social copy for WeChat Video.

What is Textbook Vocabulary Video Skill?

The Textbook Vocabulary Video Skill is designed for developers and content creators using AI agents (such as Cursor, Codex, or Claude Code) to automate the production of educational videos from textbook vocabulary lists. It leverages Remotion (a React-based video rendering library) to generate videos with Chinese-English bilingual voiceovers, subtitles, interactive quiz segments, and automated quality checks. The skill supports workflows across multiple platforms, including WeChat Video, and can generate accompanying social media copy. Key features include customizable templates, speech synthesis for both languages, subtitle alignment, and built-in quality assurance checks to ensure accuracy and fluency. This skill is particularly useful for educators, language tutors, and e-learning platforms looking to scale video content production without manual editing.

Works with~Claude Code~Codex CLI~Cursor
npx skills add pcyone/textbook-vocabulary-video-skill

Ask in your favorite AI

Open a new chat with this agent skill pre-loaded.

Documentation

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

  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

Related Skills