pdf2video
Pdf2Video
Overview
Take a course package already produced by codex2course and turn it into a narrated lecture video. Stages: sanity-check inputs → choose TTS provider + set audio params → write per-slide narration (hard stop for review) → synthesize per-slide audio → assemble slides + audio into one <course title>.mp4 (falls back to course-video.mp4) with ffmpeg.
TTS provider choice. Two options, picked at step 2:
minimax— paid, higher-quality Chinese/multilingual voices, supportsemotion. RequiresMINIMAX_API_KEY.edge— free, uses Microsoft Edge's read-aloud voices viaedge-tts(pip install edge-tts). No API key, no per-character cost. Quality is solid for lecture narration but noemotioncontrol. Use this to cut costs.
REQUIRED UPSTREAM: This skill assumes a directory produced by codex2course — outline.md, handout.md, slide-units/NNN-*.md, slides/000-cover.png + NNN-*.png + zzz-ending.png. If anything is missing, send the user back to codex2course first.
When to Use
Use this skill for:
- Adding a voiced narration track to an already-rendered slide deck
- Producing lecture / tutorial / training videos where each slide stays on screen for the duration of its narration
- Regenerating audio or video for a small set of slides after content edits
More from likefallwind/courseskills
codex2course
Use when creating course handouts, lecture notes, workshops, tutorials, PPT-like course slides, visual lecture materials, or course PDF decks from a topic, outline, handout, or existing course package.
3makecourse
Use when publishing an AI-generated course directory into the aistudy101 website. The user provides the generated course path and says which curriculum course it corresponds to; Codex must register the course, keep the source repo link, copy generated lesson videos into website assets through sync, update data, run build verification, and leave source videos untouched.
2ai-tutorials
Use when designing, writing, or structuring AI courses, tutorials, lectures, and hands-on projects. Also use when user asks to create syllabus, write lecture notes, or design coding exercises about AI/ML/LLM topics.
2movecourse
Use when publishing AI-generated course lesson mp4 files into the aistudy101 website course-assets tree, especially from lesson*/ directories into static/course-assets/<course-id>/lesson*/video.
1