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 a song, artwork, and clip in one session
Claude Code handled lyrics, audio generation, mastering, cover art, and a short video through one connected workflow.
Schedule a batch of YouTube Shorts
Claude in Chrome set up 60 generated shorts in YouTube Studio after the user asked it to take over.
Build LEGO CAD models in LDraw with an agent
Have an agent plan, generate, and check an LDraw LEGO model from a text brief.
Use Claude Cowork to draft and queue social posts
Claude Cowork can turn existing content into platform-specific drafts, visuals, and scheduled social posts.
Research a newsletter idea and file it in Notion
Use Grok Bot to gather background on a topic from YouTube, the web, and X, then save the findings in a Notion backlog entry.
Convert a full math program into a single-year path
Claude condensed a two-year math sequence into one year and assembled the lessons, tests, activities, and schedule.