עברית 📰 Blog
← Back to Blog
AI News

A 2-Minute Animated Music Clip With No Video Model: Claude + anime.js

Stav Adam
Founder, Masterphub
October 19, 2026

Share this article

A 2-Minute Animated Music Clip With No Video Model: Claude + anime.js
Short answer: You can make a full animated music clip without any AI video model. Claude writes the animation as code with anime.js, a free JavaScript animation library (MIT license, about 74k GitHub stars, version 4.5). The characters are drawn in SVG, the cuts are synced to the beats of the song, and every frame is rendered to video at 60fps.

What was made

A creator took three short flat-vector clips from Pinterest (a skater, a motorcycle with a sidecar, and a guy walking with a boombox) and asked Claude to merge them into one wild 2-minute clip. The walker jumps on a skateboard, switches to the motorcycle, does a slow-motion flip, flies to the sky, to space, through a hyper tunnel and a mirrored neon loop, crashes, and starts again. It is an endless loop.

The music trick

Claude wrote a simple beat in code. That beat was uploaded to Suno as a base and came back as a full produced track. The clip then detected the beats in the new song, so every background change, jump and word lands exactly on the beat.

What anime.js did, and what was built around it

  • anime.js: the motion engine. One timeline with about 150 tweens and easing curves that give the hand-drawn feel: a bouncy landing, letters that pop, a smooth flip.
  • SVG: drawing the characters.
  • Beat detection: finding the beat times in the song.
  • Frame-by-frame render: stepping the timeline one frame at a time and saving each frame to video at 60fps.

How to copy it

  1. Pick 2-3 reference clips in one flat style and describe them to Claude.
  2. Ask Claude to draw the characters as SVG in one HTML page and animate them with one anime.js timeline.
  3. Write the story as beats: "walks, jumps on board, switches to bike, flips, flies, crashes, loops".
  4. Make the music: a short code beat, then a full version in Suno.
  5. Detect the beats in the final song and pass the beat times to the timeline so every change lands on a beat.
  6. Render frame by frame with a headless browser and join the frames to video with ffmpeg.

The bottom line

anime.js is great for motion, but the magic happens when it is connected to the other tools. A video model gives you 8 seconds you cannot control. Code gives you 2 minutes where every move is exactly where you want it.

Want ready prompts for animation with Claude? Look for them on Masterphub.

Share this article