How I Made a Music Video with AI: Jacaranda Diary
I failed music in primary school. This week I made a music video anyway.
I can't read sheet music, I can't sing, and in primary school I failed music.
Even so, this week I finished a three-minute music video called Jacaranda Diary (蓝花楹日记). It follows one girl through a day in Sydney during jacaranda season, from a sunrise at Circular Quay to fireworks over the harbour. The song, the lyrics, every shot and almost all of the editing came from AI.
As with Reverie, this isn't a tutorial. It's a record of how it actually went, including the 50 minutes of work that vanished, an AI that kept trying to spend my credits, and the bug I still couldn't fully fix.
01 | It started with a discount
Around Double 11 (the 11 November shopping festival), the international version of Jimeng, called Dreamina, was running a sale. I'd been curious about AI short films for a while, and a discount felt like the right excuse to try.
I wasn't sure what kind of short to make yet. That changed once I found the music.
02 | Gemini can write songs now
While making Reverie, I'd already used Google's Lyria for the game's background music. This time I noticed that Lyria 3.5 in Gemini could do much more than instrumentals: give it lyrics and a style and it comes back with a complete song, vocals included.
My first attempts were songs like Unfinished Tomorrow (还没写完的明天):
It's pleasant, but listen for the problem: the music is flat, and right after the climax it simply drops away. It builds up, reaches the top, and the next part starts as if the climax never happened.
My guess is that Gemini generates a song as several segments in parallel and then joins them, so one segment peaks and the next one starts fresh. I can't prove it, but that's what it sounds like.
I sent it to a friend who knows music. He agreed that something was missing: a melody needs suspension and resolution. It has to build tension and then release it, not just get louder. That made sense, but I had no idea how to turn it into a prompt.
03 | ChatGPT wrote a better prompt than I could
So I asked a different AI. I described the song I wanted and what my friend had said, and asked ChatGPT to write the Lyria prompt for me.
It moved the song into anime-style electronic pop: brighter, faster, with a clearer lift into each chorus. The lyrics, written with Claude Fable, became a love letter to a sunny day in Sydney: Circular Quay, ferries, the Opera House, koalas, an ibis stealing a sandwich, and jacaranda petals landing on a diary.
My friend thought this one actually worked. That was enough for me to want to go one step further: if I have a song, why not make a music video for it?
04 | Google Flow first, then Dreamina
I tried Google Flow first. The results were poor: the character changed from shot to shot, the motion felt random, and nothing lined up with the music.
Then Dreamina's sale came back, this time as an early Black Friday deal. The Basic plan was A$0.29 for the first month.
I subscribed straight away. That gave me Basic membership and about 2,500 credits, which turned out to be both more than I thought and much less than I needed.
05 | The real problem: I don't know how to make an MV
I had a song and a video model. What I didn't have was any idea how a song becomes a music video.
How long should each shot be? Where do the cuts go? When does the singer face the camera, and when do you cut away? I had no answers. So, once again, I handed the problem to AI.
I prepared the inputs I could:
- A seven-view character sheet, plus a model sheet with an outfit for each part of the song.
- Location images: the jacaranda tunnel, the University of Sydney quad and the harbour.
- The original song and a rough script of the scenes I wanted.
The seven-view sheet that kept her face consistent across 55 shots.
Then I connected Claude Code to the Dreamina CLI and gave it everything.
06 | Fourteen clips in one batch
Claude's first move was to cut the song into 14 segments, following the structure of the script. It uploaded each segment as reference audio, wrote a prompt for each clip, got a free quote from the CLI, and then submitted all 14 clips as one batch with a credit ceiling.
Every prompt shared the same base. It told the model that all the reference images showed the same woman, described her hair, hat, flower and necklace, said she was the singer and should lip-sync to the audio, and asked for a romantic, film-like look with jacaranda petals and no text anywhere in the frame. Only the scene and the outfit changed from clip to clip.
All 14 clips came back in about ten minutes: 1,496 credits used, 944 left. Claude also caught a timing drift in the first export, because rounding every clip to 30 fps added up to several frames by the first chorus.
The first rough cut was honestly exciting. She looked like the same person in every clip, the outfits changed where they should, and Sydney looked like Sydney.
07 | Lip sync ate most of the time
The single biggest problem was lip sync, and it took longer than everything else put together.
The cause surprised me. The video model doesn't copy the audio you give it. It re-sings the song. The audio track inside each generated clip turned out to be a new performance: different timing, sometimes stretched or squashed phrases, occasionally different lyrics. Her mouth matched that version, not my song.
One clip had sung the bridge, which comes at 127 seconds in the real song, and the first cut had placed it at 141 seconds, over the chorus.
So Claude and Codex built a small lip-sync pipeline:
- Transcribe both sides with Whisper to get a timestamp for every word, in the song and in each clip.
- Match the lyrics as pinyin without tones, so 晴, 轻 and 清 all become qing. A local sequence alignment then finds where each clip's lyrics sit in the song.
- Fine-tune to 10 milliseconds using the onsets and pitch profile around that spot.
- Measure the mouth with a face detector, frame by frame, to check that it opens on the syllables.
- Check the result at every shot's final position, using two independent measurements.
The first target was a lip-sync error of 0.10 seconds or less. By version 4.1, 23 of the 30 singing shots met it. Later the rule got stricter: no more than two frames (about 80 ms) per phrase.
That stricter rule mattered because of the biggest lesson in this part: you can't fix lip sync by sliding a whole clip. The model sings each line at its own pace, so moving the clip fixes one line and breaks the next. Each shot can only be trusted for the one or two lines it actually gets right. The rest gets covered by a wide shot, a cutaway or petals.
It got much better. It never became perfect.
08 | Ghosts, a disappearing hat and a McDonald's logo
The second category of problem was everything the model did inside a clip without being asked.
- Ghost frames. I kept seeing faces overlapping whenever she turned. It turned out the model was adding its own dissolves inside clips whenever it changed angle. Codex wrote a detector that tests whether each frame can be explained as a blend of the frames before and after it. A real dissolve fits that blend, real motion doesn't.
- A head that didn't turn. In one spin, her body made a full circle while her face kept looking at the camera.
- Prop drift. The hardback diary turned into a spiral notebook partway through a shot.
- Uninvited guests. One café clip had two different young men in it, both showing their faces.
- Brands. The first version of the seagull shot had a McDonald's logo in the background. It couldn't be used.
- Small continuity slips. A lavender-dress scene without her straw hat, an Australian white ibis that didn't look much like one, and surfing in sneakers.
After that, the prompts for every regenerated shot became much stricter: 4 seconds, one continuous shot, one or two lines, no cuts, no transitions, no dissolves, and only her in the frame. Short clips drift less.
09 | Opus really wanted to spend my credits
Here's the funny part, though it didn't feel funny at the time.
Whenever something was wrong, Opus's first suggestion was nearly always "let's regenerate that shot." A jump cut? Regenerate. Lip sync off by 0.2 seconds? Regenerate. A missing hat? Regenerate. Each suggestion was reasonable on its own, and each cost credits.
A typical "here's what we could regenerate" list.
So I made a hard rule, and it went to the top of the project instructions: no Seedance generation of any kind without my explicit approval, one request at a time. Every request had to be written into an approvals file with the reason, the shot, the prompt and a free official quote first.
The rule paid off quickly. Claude compared prices across models and found that Seedance 2.0 Mini cost 32 credits for a 4-second 720p clip, compared with 212 for Seedance 2.5. I still said yes to a few reshoots, and some were great, like a new over-the-shoulder glance at the start. Others weren't: I vetoed a sparkler close-up after seeing it, and one attempt using the first-and-last-frame mode failed because that mode adds its own soundtrack.
The opening glance, one of the reshoots worth paying for.
The 944 credits left after the first batch came down to 193 by the end. Without the rule, I'm fairly sure it would have been zero.
10 | Fifty minutes of work, nothing saved
The other memorable moment: Claude started a full-film quality check in the background. It took about 50 minutes. While it was running, Claude edited the very script that was running.
At the end, the script's integrity check noticed that its own code had changed and threw the whole run away. Worse, the script only wrote results at the very end, so nothing had been saved.
"This was my mistake: about 50 minutes of computation wasted."
My reply was not polite. Claude's answer was to apologise, write down two rules and save them to its memory: never touch files a running job depends on, and any long job must save as it goes, so an interruption costs at most one shot. That's a good rule for people too.
11 | Patching versus editing
After about ten versions, something still felt wrong, and Fable put a name to it: we'd been patching, not editing.
Every fix had come with the instruction "don't touch the other shots." So when a clip ran 0.75 seconds short, the edit froze on the last frame. When lip sync was 0.35 seconds off, the same clip rewound and played again. When the singing ran slow, the clip was sped up by dropping and repeating frames. Each patch was logical, and together they made the video stutter.
There was a hidden one too. The clips' timestamps alternated between two and three ticks per frame, and the pipeline picked frames by timestamp, so 15 shots were quietly repeating frames. One had 80 duplicates in 170 frames. Switching to picking by frame number fixed it for free.
So version 11 started from a director's review with four hard rules that the pipeline now checks automatically:
- No freeze frames or repeated frames.
- A clip can't cut to itself.
- A singing shot can change speed by no more than ±8%, and only with frame interpolation.
- Lip sync is accepted phrase by phrase, within two frames.
The fixes became real editing decisions: move the neighbouring cut, bring in a different shot of the same scene, or let the next shot start early.
12 | A small production team of AIs
By the end, the project had settled into a clear division of labour:
- Fable did the thinking: the creative brief, the shot plan, the director's notes, and the lyrics.
- Opus carried out the plan, reviewed every deliverable and ran the pipeline.
- Codex wrote all the Python, with tests: audio analysis, lip-sync measurement, quality checks, conform and the end credits.
- Seedance in Dreamina shot the footage.
Everything lived in files: a locked master audio file, a shot list as the single source of truth, a story bible, approvals, and a RESUME.md that let a fresh Claude session pick up exactly where the last one stopped. In less than a week, the video went through 13 versions.
13 | DaVinci Resolve, driven by Claude
For the finishing work I used DaVinci Resolve. I'd never used it before, and it's remarkably capable for free software: editing, colour, audio and rendering in one place.
The free version doesn't allow external scripts, so Claude found another route: the Resolve AI Bridge MCP, which talks to Resolve through its built-in Lua. Once I clicked "Start AI Bridge" in Resolve, Claude could read the timeline, grab frames and check the audio track directly.
The final timeline in Resolve: 55 shots on one track, the locked song underneath.
It wasn't seamless. Resolve quietly dropped a cross dissolve when importing the edit, and Claude caught it by comparing frames. But it meant Claude could check my real project instead of guessing.
The colour grade and film grain were done in Resolve too: a light grade first, then a gentle layer of grain so clips from different batches feel the same. The last touches were a title card in KaiTi and four lines of end credits.
14 | The song I couldn't fix
One problem survived to the end: Lyria can't reliably pronounce Mandarin, especially when Chinese and English are mixed in the same line. "嘿 Sydney Sydney" was the hardest. Some syllables come out with the wrong tone, or sound like a different word.
I tried to fix it by having Suno produce a corrected version. But Suno didn't touch up the original. It generated a whole new song that ran progressively faster than mine: 0.5 seconds ahead by the first chorus and 2.2 seconds ahead by the last. Swapping it in would have broken every lip sync in the video.
So I kept the original. The pronunciation isn't perfect, and neither is the lip sync. I've decided I can live with both.
15 | What I learned
The things I'd tell anyone trying this:
- Lock the music before you shoot anything. Every shot is timed to the song. Changing the song afterwards means redoing the edit.
- AI music still struggles with Mandarin, especially with English mixed in. Check the pronunciation before you fall in love with a take.
- Melody needs tension and release. If a generated song feels flat, ask for suspension and resolution, or ask another AI to write the prompt.
- Video models re-sing your song. Don't expect lip sync to come for free. Generate short clips and align them phrase by phrase.
- Short clips beat long ones. Four seconds and one continuous shot drift much less than fifteen seconds with the model's own cuts.
- Look for what the model adds: dissolves inside clips, extra people, logos, props that change.
- Put a hard gate on spending. An agent will happily regenerate its way through your credits. Free quotes first, one approval per request.
- Long jobs must save as they go, and nobody touches the code while they run.
- Ask for a director, not a fixer. Local patches pile up. Sometimes the right move is to step back and recut.
- Taste is still your job. The AIs proposed many things. The best decisions in this video were the shots I said no to.
Final thoughts | From a failing grade to a finished MV
Looking back, the strangest part is how normal it felt. I described what I wanted, the AIs argued over how, and I watched every version and said what felt wrong. The result is 55 shots, 4,206 frames and 175 seconds of a sunny day in Sydney.
When it was over, I asked Claude to clean up. The project folder went from 60 GB to 1.6 GB. That's probably the best summary of how much trying and throwing away was involved.
It isn't perfect. Some words are mispronounced, some mouths are a few frames late, and there's a small "AI" mark in the corner of every frame, which I've kept on purpose. But a week ago I'd never made anything musical in my life, and now there's a music video with a song I wrote the brief for, sung about the city I live in.
Written in November 2026. Stills and clips are taken from the finished video (v13). Credit amounts, prices and timings are from my own account and project logs at the time. The video keeps the platform's AI-generated label in the corner of every frame.
Credits: direction by Ken Chen · lyrics by Fable 5.2 · song by Lyria 3.5 · editing by Opus 5.5 and Codex Sol 5.1 · footage by Seedance in Dreamina.
References: Google Lyria · Dreamina · DaVinci Resolve









