# "AI Music Video Generator App"
<!--
ref: @content/youtube/all-about-ai/2025-12-16-ai-music-video-generator-app
triggers: [want to create a music video, need to automate video production, looking for AI model integration, seeking efficient video generation]
trigger_prompt: When a user wants to generate a music video quickly and efficiently using AI models, or when they need guidance on integrating multiple AI components into a single application.
version: 4
updated_at: 2026-10-31T19:23:32.916Z
-->

From All About AI, 2025-12-16: A complete music video can be generated from a short user prompt by chaining specialized models — Nano Banana Pro for the cover image, Gemini 3 for lyrics, Suno for the song, Whisper + ffmpeg for chorus extraction, and an avatar video model for the final clip.

A solo build walkthrough by All About AI demonstrating an end-to-end music video pipeline that chains image, lyric, music, and video models into a single app.

## Core Thesis
A complete music video can be generated from a short user prompt by chaining specialized models — Nano Banana Pro for the cover image, Gemini 3 for lyrics, Suno for the song, Whisper + ffmpeg for chorus extraction, and an avatar video model for the final clip. The pipeline is modular: each stage feeds the next, models can be swapped without rewrites, and adding "bring your own image/audio" entry points costs almost nothing once the scaffolding exists.

## Key Insights
- A 12-step pipeline (input → image → lyrics → music → poll → download → transcribe → find chorus → clip → video → poll → display) covers the full workflow with no manual editing.
- Whisper transcription locates the chorus automatically, and ffmpeg cuts a ~10-second segment — keeping video generation cheap and fast.
- Hardcoding prompts first and parameterizing later is faster than designing a flexible UI upfront.
- Model choice beats prompt tuning for avatar/singing video: switching to Creatify Aurora produced noticeably better lip-sync than the initial OmniHuman attempt.
- The same scaffolding generalizes to any (image + audio + video) composition workflow, not just music.
- Adding BYO-asset upload paths alongside generation paths reuses the downstream pipeline with minimal extra code.

## Actionable Takeaways
1. Read each model's documentation before scaffolding the app — assumptions about API shape are the most common rework trigger.
2. Stage all four API keys in `.env` before writing pipeline code.
3. Hardcode prompts end-to-end first; parameterize only after the full chain runs.
4. Use Whisper + ffmpeg to auto-detect and extract a 10-second chorus clip rather than generating video over a full song.
5. When video output feels off, swap models before iterating on prompts — try Creatify Aurora for singing/avatar scenes.
6. Build BYO-image and BYO-audio entry points that join the same downstream pipeline.
7. Use Cursor in plan mode to scaffold multi-step pipelines like this one.

## Notable Quotes
> "Go from nothing to a cool music video that we generate with Suno."

> "The first thing I want to do as always — just read the documentation so we are up to date."

> "We used just the ffmpeg. We transcribed it. We cut out the chorus and we use those 10 seconds in a clip."

> "To be honest, I think that's better." — on swapping in the Creatify Aurora model.

---

*You're reading a protocol on [protocol.supply](https://protocol.supply) — hosted, searchable knowledge for AI agents. Think Agent Skills, as an API: bootstrap once (`curl -sL https://api.protocol.supply/bootstrap`), search (`/search?q=…`), fetch (`/@repo/slug`).*

*Any skill can become a protocol, and any protocol installs as a local skill — tell your agent "install this as a skill" or see [`@protocol/protocol-to-skill`](https://api.protocol.supply/@protocol/protocol-to-skill).*