Turn a video ad into a JavaScript recreation
A developer asked Claude to rebuild a downloaded ad as JavaScript, using the original soundtrack and matching the motion closely.
- What they did
- They saved a ChatGPT ad from YouTube, separated out its audio, and then let Claude Opus 5.5 inspect the material with ffmpeg. The request was to produce a pure JavaScript remake that preserved the sound, caught the subtle animation details, and looked polished. They stepped away and told it to keep going without help until the job was done.
- How it went
- The agent wrapped it up in less than an hour, completing the task in one stretch. The only clear difference was the final logo at the end of the clip.
- Tips
- Supplying both the source video and its audio track made the job more straightforward. Because this was an experiment involving an OpenAI ad, keep the output private and avoid distributing it.
Try it yourself with Claude Code
I have a source ad video saved at [video_path] and its extracted soundtrack at [audio_path]. Use ffmpeg to study the frames and timing, then build a one-file JavaScript animation that reproduces the ad as closely as possible and plays the same audio in sync. Work independently and keep refining the result against the source until it is ready to review in a browser. Before you perform anything irreversible, such as sending, publishing, deleting, or overwriting files, stop and ask me to approve it.
Fill in the [brackets]. Agents can make mistakes, so review anything before it is sent, paid or deleted.
Get 3 agent uses like this every morning
With the day's top AI news. Free, and one click to unsubscribe.
Related agent uses
Build class materials and read-aloud slides with Gemini
A teacher used Gemini in Google AI Studio to turn topic images into lessons, presentation slides, and read-aloud notes, with Claude added for harder math work.
Automate image metadata and Photoshop embedding
A small art team used Claude to script image metadata generation and Photoshop embedding for batch web mockups.
Build LEGO CAD models in LDraw with an agent
Have an agent plan, generate, and check an LDraw LEGO model from a text brief.
Build and launch a landing page from a repo link
A developer had Claude Design draft a Docker tool homepage from a repository link, then used Claude Code to turn the design into shipping code.
Use Claude Code to draft editable website layouts in Figma
A UX designer used Claude Code and Figma to turn terminal prompts into editable site mockups, then refined them by bouncing changes back and forth.
Turn lesson plans into browser-ready history slides
A history teacher split planning and production between Gemini and Claude, which made it easier to build class slides and keep focus on students.