whatisgithub

What is music-video-arena?

hershalb/music-video-arena — explained in plain English

Analysis updated 2026-05-18

60TypeScriptAudience · developerComplexity · 4/5Setup · hard

In one sentence

Music Video Arena has AI models compete to make the best music video for a song within a budget, judged subjectively by a human.

Mindmap

mindmap
  root((Music Video Arena))
    What it does
      AI models compete
      Generate music videos
      Human judged results
    Tech stack
      TypeScript
      Node.js
      ffmpeg
    Use cases
      Model comparison
      Agent benchmarking
      Budget-metered generation
    Safety
      Music licensing warning
      Real money spend
      Sandboxing recommended

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Compare how different LLMs plan, spend a budget, and use tools by having them generate a music video for the same song.

USE CASE 2

Run a single AI agent to autonomously research, generate, and edit video clips into a finished music video with ffmpeg.

USE CASE 3

Study a structured event log and cost summary to see exactly how a model spent its budget and time.

USE CASE 4

Supply a synced lyric transcript so a model can align generated video clips to specific lyrics.

What is it built with?

TypeScriptNode.jsffmpegVercel AI SDK

How does it compare?

hershalb/music-video-arenaallstarswc/allstarsboona13/image-extender
Stars606060
LanguageTypeScriptTypeScriptTypeScript
Setup difficultyhardhardeasy
Complexity4/54/52/5
Audiencedevelopergeneraldeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · hard Time to first run · 1h+

Requires FAL and Replicate API keys, ffmpeg on PATH, and real budget spend on generation and LLM tokens.

No license information is stated in the README.

So what is it?

Music Video Arena is a TypeScript project that pits different AI language models against each other in a contest to make the best music video for a given song. Each model gets the same song, a fixed dollar budget, access to FAL and Replicate video and image generation services, a web search tool, and the ability to run local shell commands including ffmpeg. From there each model works independently: researching which generation models to use, generating video clips, editing them together, watching the result, and refining it until it produces a finished output video synced to the track. Rather than scoring the models with an automated test, the winner is judged subjectively by a human watching the results. The author's stated goal is to observe how different models plan, manage a budget, use tools, recover when something fails, and show taste, things a typical one shot coding benchmark cannot capture. The tool deliberately leaves out any dedicated audio or video editing helper, since part of the experiment is seeing whether a model can figure out on its own how to inspect and assemble media using only ffmpeg. For each run, the project creates an isolated workspace, copies in the song, and runs a multi step loop where the model calls tools until it stops on its own, or hits a step limit or time limit. Every paid generation call is checked against the remaining budget, and once the budget runs out further paid calls are refused, though the model can still keep editing with ffmpeg. Every model message, tool call, result, and cost is logged, and a run produces the final video file, a structured event log, a readable transcript, and a cost summary broken down by model and generation call. Because the models cannot hear the actual audio, an optional lyric transcript with timing can be supplied, generated with a tool like WhisperX, so a model can sync video clips to specific lyrics. Setup requires Node.js, an .env file with API keys, and ffmpeg on the system path. The readme includes clear warnings: only use songs you actually have the rights to use, real money is spent on generation and token costs so budgets should start conservative, and since the tool lets a model run arbitrary shell commands, it should be run in an environment you trust or inside a container.

Copy-paste prompts

Prompt 1
Walk me through setting up Music Video Arena with npm install and the required .env API keys.
Prompt 2
Explain how the budget metering works when a model calls FAL or Replicate generation models.
Prompt 3
How do I generate a synced lyric transcript with WhisperX to pass into a run with --transcript?
Prompt 4
What tools does each AI agent have access to in this arena, and how is run_command restricted?

Frequently asked questions

What is music-video-arena?

Music Video Arena has AI models compete to make the best music video for a song within a budget, judged subjectively by a human.

What language is music-video-arena written in?

Mainly TypeScript. The stack also includes TypeScript, Node.js, ffmpeg.

What license does music-video-arena use?

No license information is stated in the README.

How hard is music-video-arena to set up?

Setup difficulty is rated hard, with roughly 1h+ to a first successful run.

Who is music-video-arena for?

Mainly developer.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.