How to Write a Song with AI: A Step-by-Step Guide
Go from a one-line idea to a finished, sung track. This guide covers the idea, the prompt, the lyric draft, structure tags, vocals and how to revise between takes.
By MusicVivo Editorial TeamUpdated 13 min read
Quick answer: To write a song with AI, start with one specific idea in a sentence, turn it into a prompt that names genre, tempo, instruments, vocal and mood, then draft lyrics tagged with
[Verse],[Chorus]and[Bridge]. Generate 2 to 4 variations, keep the best take, rewrite the weak lines and generate again. Most finished songs take three to six rounds.
This guide is for people who have a song in their head but no band, no studio and maybe no idea what a bridge is supposed to do. You might be a hobby writer, a teacher, a video creator or someone who wants to put a memory into music. You do not need to read notation or play an instrument.
By the end you will be able to take a one-line idea through every stage of an AI song generator workflow: the idea, the prompt, the lyric draft, the structure, the vocal settings and the revision loop that turns a decent first take into a song you actually want to share. We will follow one song from start to finish so you can see each decision in context.
Key takeaways
- 01Write the idea as one concrete sentence with a person, a place or an object in it before you touch any settings.
- 02A strong prompt names one genre, a BPM, two or three instruments, the vocal type and a single emotion.
- 03Tag your lyrics with [Verse], [Chorus] and [Bridge] so the model knows where the energy should rise and fall.
- 04Keep chorus lines short (5 to 8 words) and repeat the hook at least twice so it lands.
- 05Revise in rounds: fix genre and tempo first, then lyrics, then pick the best vocal take.
Step 1: Turn a feeling into a one-line idea
Most weak AI songs start with a weak idea, not a weak model. "A song about love" gives the generator nothing to hold on to, so it reaches for the most average lyrics it can find. "A song about leaving the porch light on for my brother who works night shifts" gives it a person, an object and a habit. The model can build verses out of that.
Use this formula for your one-liner: who + what happened + one concrete detail. Here is how it works on three vague ideas:
| Vague idea | One-line idea |
|---|---|
| A song about summer | Two friends driving to the coast in a car with a broken radio, singing anyway |
| A song about missing home | Calling my mom from a city where nobody knows how to make her soup |
| A happy song for my kid | My daughter teaching our dog to sit, and the dog teaching her patience instead |
Notice that none of these mention genre yet. The idea comes first because it decides almost everything else. The broken radio idea wants something upbeat and loose. The soup idea wants something slow and close to the microphone. If you want more raw material, our list of song lyric theme ideas has dozens of starting points sorted by mood.
For the rest of this guide we will use the porch light idea: a song about leaving the porch light on for my brother who works night shifts.
Step 2: Write the prompt that sets the sound
The prompt is your instruction to the band. It should answer five questions: what genre, how fast, which instruments, who sings and how it should feel. Each part narrows the space of possible songs.
warm Americana folkaround 84 BPM, steady and unhurriedacoustic guitar, upright bass, light brushed drums, a little pedal steelsoft male lead vocal, close and conversationaltender, a little tired, about leaving the porch light on for a brother on night shift
Put together, the prompt reads like a sentence a producer could act on:
What to leave out
Long lists of adjectives cancel each other out. "Epic emotional powerful uplifting dark cinematic" tells the model nothing it can act on. Pick the one emotion that matters and let the instruments carry the rest. Also leave out artist names. A style description like "breathy female vocal over a slow piano" is clearer and avoids imitating a real person. For a full set of tested examples, see our 30 AI song prompts that actually work.
Picking the tempo
If you are not sure about BPM, think about how you would move to the song. Swaying slowly is 60 to 80. Walking is 90 to 110. Dancing is 115 to 130. Our porch light song is a slow walk home, so 84 is a good fit.
- Lullaby or slow ballad60–76
- Folk or singer-songwriter76–100
- Mid-tempo pop96–116
- Upbeat pop or dance-pop116–128
- Pop-punk or fast rock150–180
Step 3: Draft the lyrics (or let the AI draft them)
You have two choices here. Leave the lyrics box empty and MusicVivo writes them from your description, or paste your own. The fastest path for most people is a hybrid: generate once with auto lyrics, listen, then rewrite the lines that feel generic and paste the edited version back in.
When you write or edit, keep three rules in mind:
- Verses tell, choruses sum up. Verses carry the specific details: the night shift, the porch, the time on the clock. The chorus states the one feeling the song is about.
- Short chorus lines. Five to eight words per line is easy to sing and easy to remember.
- Even line lengths within a section. If line one has 8 syllables and line two has 15, the singer has to rush. Our guide to fixing syllable counts in lyrics shows how to even them out.
Here is an original draft for the porch light song:
[Verse]
Your truck pulls out at a quarter to ten
The kettle's still warm when you leave again
I fold your jacket over the chair
Like you might come back for it, standing there
[Chorus]
I leave the porch light on
Till the morning comes along
However late you're gone
I leave the porch light on
[Verse]
The neighbors think I'm up for the news
I'm counting headlights, counting the blues
Four in the morning, the road's gone still
I know the sound of your tires on the hill
[Bridge]
We don't say much, we never did
A switch by the door says what we hid
[Chorus]
I leave the porch light on
Till the morning comes along
However late you're gone
I leave the porch light on
The hook, "I leave the porch light on", opens and closes the chorus. That bookending is one of the simplest ways to make a hook stick. If your chorus feels flat, our guide on how to write a chorus that sticks covers more patterns.
Step 4: Add structure tags so the arrangement follows the story
Section tags tell the model where the song changes. Without them, the generator guesses, and you can end up with a chorus melody on a verse or a song that never builds. With them, the music usually rises into the chorus and drops back for the next verse.
The tags MusicVivo understands in pasted lyrics include [Intro], [Verse], [Pre-Chorus], [Chorus], [Bridge] and [Outro]. Put each tag on its own line above the lines it covers. Here is the shape our porch light song follows, with typical bar counts at 84 BPM:
| Intro | 4 bars |
| Verse 1 | 8 bars |
| Chorus | 8 bars |
| Verse 2 | 8 bars |
| Chorus | 8 bars |
| Bridge | 4 bars |
| Chorus | 8 bars |
| Outro | 4 bars |
At 84 BPM in 4/4, one bar lasts about 2.9 seconds, so 52 bars comes to roughly two and a half minutes. That is a natural length for a folk song and well under the four-minute limit. If you want a deeper explanation of how each tag changes the arrangement, read verse, chorus, bridge: structuring songs for AI.
Short bridges work better
A bridge of two to four lines is enough. Its job is contrast, a new angle on the story, not more verse. In our song, the bridge admits the brothers never talk about feelings, which gives the last chorus more weight.Step 5: Choose the vocal and the length
Vocals change the song more than any other setting. For the porch light song, a soft male lead fits because the narrator is a sibling speaking quietly at night. A big belting voice would fight the lyrics.
Settings for this song:
- Vocals: lead, male
- Language: English
- Length: about 2:30, matching the structure above
- Variations: 2 to 4 if your plan allows, so you can compare takes
If you are unsure whether a male or female vocal, or a soft or lead style, suits your idea, our guide on choosing vocal gender, style and language walks through the tradeoffs with examples. One rule of thumb: match the vocal to the narrator. If the song is "I" speaking to someone, the voice should sound like the person you imagine saying those words.
Length uses credits, since 1 credit equals 1 second of audio. A 2:30 song costs 150 credits per take. On the Free plan you can generate 30-second clips to test an idea, which is enough to check that the genre and tempo are right before you spend credits on a full take. The pricing page lists the monthly seconds on each plan.
Try it
Try the porch light prompt yourself
Paste the prompt and lyrics from this guide, pick a soft male vocal and hear the first take in about a minute.
Step 6: Listen like a producer, then revise
Your first take is a draft. The goal of the first listen is not "do I love it" but "what is the single biggest problem". Fix that one thing, then listen again. Changing five things at once makes it hard to know what helped.
Listen in this order:
- Genre and tempo. Does it feel like the right kind of song at the right speed? If not, change the prompt, not the lyrics.
- Structure. Does the chorus arrive where you expect, and does it sound bigger than the verse?
- Lyrics. Are there lines that are hard to understand or that rush?
- Vocal performance. Among the variations, which one has the delivery you want?
A worked revision
Here is how the porch light song went across three rounds.
Round 1 used auto lyrics and the prompt without a BPM. The result was a pleasant folk song at around 110 BPM that sounded like a campfire singalong. Wrong energy: the story is about waiting up at night.
Round 2 added "around 84 BPM, steady and unhurried" and pasted the draft lyrics with tags. The tempo was right. But the line "I'm counting headlights, counting the blues" sounded forced, and the singer slurred "Four in the morning, the road's gone still" because it had more syllables than its partner line.
Round 3 rewrote two lines:
Works
- I'm counting headlights through the window glass (concrete, easy to sing)
- Four a.m., the road is still (7 syllables, matches the next line)
Doesn't
- I'm counting headlights, counting the blues (cliche filler rhyme)
- Four in the morning, the road's gone still (crowded, the vocal rushes it)
With four variations on round 3, one take had a slight crack in the voice on the last chorus. That was the keeper.
When to stop
Stop when the remaining problems are ones a listener would not notice. Chasing a perfect take can burn through credits, and failed generations are refunded automatically but mediocre ones are not. If you are on your fifth round and the issue is the same every time, the cause is usually the prompt or the lyrics, not luck. Our guide on why some AI songs sound robotic lists the most common causes and fixes.
Step 7: Download, label and share
Each finished track gives you the MP3 and an .lrc file with line-timed lyrics, plus a 1024 by 1024 cover image. Keep them together in one folder named after the song and the date, for example porch-light-2026-10-12. If you plan to use the song commercially, note which plan you were on when you generated it, since paid plans include a commercial license and the Free plan is for personal use.
The .lrc file is useful for more than karaoke. You can drop it into a lyric video editor to time captions automatically, or load it in a music player that shows scrolling lyrics. Our explainer on what an LRC file is covers the format and which apps read it.
Your seven-step song checklist
- One-line idea with a person, place or object in it
- Prompt with genre, BPM, 2 to 3 instruments, vocal and one emotion
- Lyrics drafted or edited, chorus lines 5 to 8 words
- Section tags on their own lines: [Verse], [Chorus], [Bridge]
- Vocal gender and style matched to the narrator
- Length planned from bar count and BPM
- Revised in rounds, one problem at a time
- Files saved together with the plan noted
Common mistakes and quick fixes
A few problems show up again and again when people write their first AI songs.
The chorus sounds like the verse. Usually the lyrics are not tagged, or the chorus lines are as long as the verse lines. Add the tags and cut the chorus lines down.
The song ends abruptly. Add an [Outro] tag with one or two short lines, often a softer repeat of the hook.
The lyrics are generic. Replace every abstract noun (love, pain, dreams) with a physical one (porch light, kettle, jacket). Then check the result against our list of cliches to avoid in lyrics.
The vocal mispronounces a name. Spell it the way it sounds. "Siobhan" might need to become "Shi-vawn".
The track is too long or too short. Count bars, not minutes. Multiply bars by 4 beats, divide by BPM and multiply by 60 to get seconds.
People also ask
Can AI write a whole song for me? Yes. A text-to-song generator can write the lyrics, compose the music, sing and mix the track from a single description. You will get a more personal result if you edit the lyrics it drafts and generate again.
Should I write my own lyrics or let the AI write them? Start with auto lyrics if you only have a topic, then rewrite the lines that feel generic. Writing your own gives you control of the story and the hook.
How many tries does it take to get a good AI song? Plan for three to six rounds. Fix genre and tempo first, then lyrics and structure, then pick the best vocal take from your variations.
What makes an AI song prompt good? One genre, a tempo, two or three instruments, the vocal type and one emotion, plus a concrete subject. Specific nouns help more than stacks of adjectives.