Skip to content
AI Primer
workflow

Claude turns a voiceover into an animated video using HTML and Playwright

Emil Kowalski generated an animation draft with Claude from a voiceover and animation skills. His pipeline uses HTML, Playwright, ffmpeg and Whisper timestamps, but he says substantial edits remain.

3 min read
Claude turns a voiceover into an animated video using HTML and Playwright
Claude turns a voiceover into an animated video using HTML and Playwright

TL;DR

  • Claude produced an animation draft from a voiceover and animation skills, but the creator's first post says “lots of edits” remain.
  • The 4K pipeline uses HTML, Playwright, ffmpeg and Whisper word timestamps, according to his technical explanation.
  • Claude also appears as a performance-review partner in a separate AI-acting workflow shared by PJaccetturo.

Emil Kowalski, author of Skills for Designers and Engineers, describes a video renderer built around a plain HTML page and browser screenshots. The public skill he shared in the replies does something delightfully restrained: removes unnecessary UI animation.

A voiceover-led draft

Kowalski asked Claude to create an animated video using his voiceover and animation skills. His earlier animation-course videos had taken long hours to edit, with numerous cuts and visual examples.

He said the result exceeded his expectations, while still needing substantial edits. He also named Final Cut Pro in the replies, without describing a detailed finishing workflow.

HTML, Playwright and ffmpeg

Kowalski described four components in the renderer:

  • Scene state: A plain HTML page exposes a render(t) function that sets every style for a given moment.
  • Frame capture: Playwright steps through the animation frame by frame and screenshots each frame at 4K.
  • Encoding: Those screenshots are piped into ffmpeg.
  • Speech alignment: Whisper word timestamps synchronize the animation with the voiceover.

The editable HTML is the best part: Kowalski says it makes the result easy to review. His setup does not use Remotion.

He uses this approach for theoretical lessons without screen recordings, including mental models and packaging work. In another reply, he said his written lessons complement the videos with interactive examples and additional explanations.

Published UI skills

A dedicated skill containing motion principles for videos remains a proposal in his original post. In a reply sharing a skill, Kowalski linked to /remove-animations, whose official page describes three jobs:

  • Detecting motion on keyboard actions, high-frequency surfaces, functional data and purely decorative elements.
  • Removing or shortening animations that do not make sense.
  • Documenting which animations remain and why.

His broader skills collection is available through npx skills@latest add emilkowalski/skills. In a separate post, he reported 60,000 stars and four million downloads.

An AI-acting checklist

Separately, PJaccetturo described spending $30,000 in credits figuring out how to make AI actors look alive for a $102,725 episode. The resulting Nexus x Dreamina performance cheat sheet sets out eight review rules:

  1. Review every take: Record what worked and failed before generating another.
  2. Repeat before rewriting: Try the same prompt two or three times; change it when the same problem persists.
  3. Include the clip: Give Claude the video alongside written notes when requesting a revised prompt.
  4. Salvage good moments: Have Claude describe a successful movement from an otherwise bad take so it can be reused.
  5. Lock successful beats: Explicitly preserve the parts that already work during revisions.
  6. Limit each revision: Change only one or two things per round.
  7. Retain working prompts: Save them to Claude's memory for comparison when later results break.
  8. Cap generations: Target roughly five generations per usable clip; beyond seven, splice the best parts of existing takes.

These are the production team's published rules, assembled from @second_bassoon's tips and an hour-long team discussion about performance.

A comparison of rigid and more expressive AI character performances

Further reading

Discussion across the web

Where this story is being discussed, in original context.

On X· 5 threads
TL;DR1 post
A voiceover-led draft1 post
HTML, Playwright and ffmpeg1 post
Published UI skills1 post
An AI-acting checklist1 post
Share on X