Who it is forAn educator or course creator who records lessons and wants the animations to follow the spoken words.
The problemLining up narration with each animation step by hand is slow and error prone.
The outcomeAn MP4 where the animations are timed to the spoken lines written with self.say().
What you need first
- Python 3.13 or newer for the pip install route
- Node.js and npm for the browser route (npm install manimgx)
- A browser with WebGPU support to view scenes in the web page
- An AI coding agent such as Claude Code, Codex or Cursor, only for the prompt-driven route
Steps
- Run
pip install manimgx - Read the sound and voice guide at https://manimgx.academa.ai/user-guide/sound-and-voice/.
- Write a construct method that calls self.say() with the narration and self.play() with each animation.
- Run
manimgx render scene.py - Watch the MP4 and check that each animation lines up with its spoken words.
Prompt for your agent
Using the manimgx repo at github.com/academa-labs/manimgx, write a scene.py for <target lesson> that uses self.say() to sync narration with self.play() animations, then run manimgx render scene.py. Expected output: an MP4 with speech-synced animations. Verify that each animation starts at the matching spoken line.
Caveat. The README names self.say() and a sound and voice guide but does not show the narration input format, so read that guide before writing the scene.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for academa-labs/manimgx and "Make a narrated explainer video synced to speech"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer