makevideo

How to make narrated videos with an AI agent

When you ask a coding agent for a video, it usually improvises: it picks some text-to-speech service, maybe installs a headless browser to draw frames, guesses scene timings, and wrestles ffmpeg flags. Every video comes out different, often silent, and renders can take many minutes.

makevideo gives agents one standard path instead: write the video as Markdown (or JSON), run one command, get an MP4 with narration, captions and transitions.

The three-step loop

npx -y github:random00000000/makevideo check video.md     # instant validation + quality hints
npx -y github:random00000000/makevideo preview video.md   # contact sheet PNG of every scene (~1 s)
npx -y github:random00000000/makevideo video.md           # video.mp4 + .srt + poster + report

The agent writes video.md:

# Weekly update
What shipped this week
> Here is what shipped this week.

## Highlights
- Faster builds
- New onboarding
> Two highlights. Builds are faster. And onboarding is new.

## Decisions
- Ship on Friday?
> One decision for you. Do we ship on Friday?

Each ## heading is a scene. Lines starting with > are the narration; if a scene has none, its visible text is read aloud — narration is the default, not an afterthought.

Make every agent in a project use it

npx -y github:random00000000/makevideo agents --all

This writes a short, idempotent "use makevideo for videos" block into AGENTS.md (read by Codex, Cursor, Copilot, Amp and others), CLAUDE.md, .cursor/rules/makevideo.mdc and .github/copilot-instructions.md. Use --global to install it for Claude Code and Codex on the whole machine.

Or give the agent a tool

Why agents do better with a standard

← makevideo home · GitHub