How to make an explainer video with code and an AI agent
Script in scenes, storyboard, pick a style, and have a coding agent render your explainer video to MP4 from HTML. Plus when a web tool is the better choice.
- For
- Founders, educators and developers who need a short explainer
- Written for
- Claude CodeCodexCursorGitHub CopilotGemini CLIOpenCodeAny agent that reads SKILL.md folders
- Time
- 8 min read · updated Nov 10, 2026
The short answer
- To make an explainer video, write the script as scenes first: the question, three to five steps, the result and what to do next. Then storyboard one still per scene, pick a visual style, render, and add voice or music.
- With a coding agent such as Claude Code, Codex or Cursor, an explainer skill turns that script into a brief, and the agent renders the film to MP4 on your machine from HTML and CSS. If you want cartoon presenters or a voice generated in the same tool, a browser-based explainer video maker is the better fit.
An explainer video answers one question: how does this work? This guide shows how to make an explainer video the code route, with an AI coding agent and a video skill, and is plain about where that route is weaker than an online explainer video maker. The steps are the same either way: script, storyboard, style, render, sound, checks.
Code and an agent, or an explainer video maker?
Search for “explainer video maker” and you get browser tools. Adobe Express, for example, offers free explainer templates, stock soundtracks and recording your own voice-over in its online editor. Animaker offers characters designed to match your brand and AI voices from a text-to-speech engine. If that is what your video needs, use one of them.
Step 1: write the explainer script in scenes
Don’t start with a script of paragraphs. Start with scenes, because every explainer style below is built from them, and each scene gets one line on screen.
- Make the step titles carry the story on their own. A viewer who reads only the titles should still get it.
- Keep steps concrete. “Signed and encrypted”, not “Security”.
- Use only real numbers, and mark made-up ones as illustrative. The film presents every number as fact.
- If you will add a voice-over, write one spoken line per scene and read it aloud against a timer. When it runs long, cut words, not the scene.
Step 2: storyboard it
A storyboard is one still per scene: what is on screen, which line, where the eye goes. With a skill you don’t draw it. The agent writes the scenes into a brief.json, a checker lists every line that is too long for its space, and a snapshot command renders stills from the real composition. You approve the stills, not a sketch.
Step 3: pick an explainer video style
Step 4: how an agent renders an explainer from HTML
A coding agent is good at writing HTML and CSS, so the explainer is written as a web page. Each scene is a layout, a GSAP timeline moves it, and HyperFrames, an open-source renderer under the Apache 2.0 license, seeks every frame in a headless Chrome and encodes the frames with FFmpeg. Nothing is generated by a video model, so the same brief renders the same film every time. For other renderers, including Remotion, see Remotion alternatives.
Step 1: Install the skill
TerminalOr paste the install prompt from the skill’s page; see Install a skill in any agent. The explainer films need Node.js 22 or newer, FFmpeg and Chrome.
Step 2: Hand over your scene list
Your agentStep 3: Let it check and render
The agent writes the brief, picks an object from the kit for each step, and runs one command that builds the project, writes the soundtrack and renders the MP4:
Terminal
Step 5: voice-over and music
Music. Isometric Explainer Film, Sketch Explainer Film, Radial Cycle Film and One-Take Type Film each write an original soundtrack on your machine, on the same beat sheet as the picture, so the whooshes and clicks land on the frames they belong to. The track it writes is yours to use. Each also takes your own track in the brief ("music": "track.wav") or renders silent with --no-music. Paper-Cut Explainer ships silent; its scenes change at 6, 12, 18, 24, 30 and 36 seconds, which helps when you cut a track to it.
Voice-over. No Lookbk skill records or generates a voice. Record one yourself or use a text-to-speech tool, then lay it over the render with FFmpeg, which the skills already need. Over a silent film:
Over a film with its own soundtrack, turn the music down under the voice:
Step 6: checks before publishing
Look at stills from the middle of each scene, not only where it settles. Mid-move is where a card covers its picture or a line is still sliding in. Each skill prints the moments worth checking; for the isometric film:
A title or line looks smaller than the others
It was shrunk to fit its card. Shorten the line in the brief rather than editing the template.
The checker lists several problems at once
Each names the field and its limit. Fix them all in the brief and run it again.
Text is hard to read on a phone
Watch the draft on a phone, not just on your monitor. Cut words until each card reads at a glance.
The voice-over runs past a scene change
Cut words from that line, or record it faster. The picture won’t wait for it.
Plain fonts, or the render hangs before the first frame
The fonts and GSAP load from the web while rendering. Allow
fonts.googleapis.comandcdn.jsdelivr.net; each skill’s Troubleshooting section says how to point it at a local copy of GSAP.
If the explainer is really a walkthrough of your interface, it is a demo: see Product demo video: how to make one with an AI agent. For explainers built on numbers, see animated chart videos.
Common questions
- How long should an explainer video be?
- Long enough for one question and its steps. Lookbk’s explainer films run 35 to 40 seconds for three to seven steps; if yours needs much more, split it into two questions.
- Can an AI agent make an explainer video?
- Yes, as motion graphics. A coding agent writes the scenes as HTML and CSS and a renderer such as HyperFrames records them to MP4. It doesn’t film or generate footage, so it can’t make realistic people.
- Do I need to know how to animate?
- No. An explainer skill holds the animation; you give the agent the question, the steps and the end URL, and look at the stills before the render.
- Can the explainer have a voice-over?
- Yes, added afterwards. Lookbk’s skills don’t record or generate voice; record one or use a text-to-speech tool, and mix it in with FFmpeg or a video editor.
- Is a web explainer video maker better?
- For animated characters, presenters and built-in voices, usually yes. For diagrams, exact wording and explainers you will update and re-render, the code route is easier to repeat.
- Can I use my own illustrations?
- Not in these skills: each draws from its own built-in kit of objects or icons. For your own artwork, start from a blank HyperFrames project; see HTML to video with HyperFrames.
Sources
What this guide says about other companies’ tools comes from their own documentation, checked on Nov 10, 2026.
Did this guide help?
Read next
All guidesProduct demo video: how to make one with an AI agent
What a product demo video is, the four-part structure, store limits for app previews, recording vs rendering your UI, and how to make one with an agent skill.
HyperFrames tutorial: render an HTML page to MP4
Turn HTML into an MP4 without screen recording: set up HyperFrames, write the video as an HTML page with GSAP, check it, render it, or hand it to an agent.
Remotion alternatives for agent-made video (2026)
HyperFrames, Motion Canvas, Revideo and a browser plus FFmpeg, compared with Remotion: what your agent writes, the license, and when to stay put.
Can Claude make videos? What works, and what doesn’t
Claude has no video generation model, but it can still make an MP4: Claude Motion on Team and Enterprise plans, or a video skill in Claude Code that renders it.
See a skill’s result before you install it.
Every skill page shows what it makes, what it needs and which agents can run it.





