How to Turn Lyrics into a Song — Writing a Melody, With or Without AI

A lyric sheet leaves most musical decisions open: where each word falls in time, which lines repeat, what the melody does on the hook, and what plays underneath. This guide works through those decisions in one workable order, then shows how the same preparation carries over when an AI generator writes the music.
This guide covers two routes. You can write the melody yourself, with an instrument or just your voice, or you can give the finished words to an AI model that returns a sung recording, as Lacuna's lyrics to song generator does. A co-writer or producer is a third common route, covered below. The first five sections cover the manual path; the rest covers the AI path.
Read the lyric out loud before anything else
Every line already has a rhythm, set by the way you would say it. Read the lyric aloud at a normal pace and underline the syllables your voice leans on. The default way to set them is to place stressed syllables on strong beats or on the more prominent notes of the melody, so the sung line follows natural speech. Songwriting teachers call this relationship prosody; Pat Pattison, who teaches lyric writing at Berklee, builds his course on writing lyrics to music around aligning lyric stress, rhythm, and phrasing with melody.
It is a default, not a law. Syncopation, pickup notes, long note values, and a rising melodic line can all give a stressed syllable weight off the beat, and a mis-set word is sometimes kept on purpose because it serves the song, as in a case Berklee has written about involving Pattison. What to avoid is the accidental version, where "be-CAUSE" comes out as "BE-cause" and the listener hears the error without knowing why.
Counting syllables is the second check. Lines in the same position of each verse work best with similar syllable counts and stress patterns, so the second verse fits the melody the first one established.
Mark the sections
Next, decide what each block of text is for. Most popular songs use some arrangement of verse, chorus, and bridge, sometimes with a pre-chorus between verse and chorus.
- Verse — carries the story and usually changes each time it comes around.
- Chorus — repeats with the same words, usually contains the title, and carries the main idea.
- Pre-chorus — a short lift that leads into the chorus.
- Bridge — often appears once, late in the song, with a change of angle before the last chorus.
If the lyric was written as a poem, this step often means choosing one stanza to repeat as the chorus and trimming the rest into verses of comparable shape.
How to write a melody for lyrics
The chorus is a common starting point, because it repeats and carries the title. The same steps work for any section.
- Start from the stress rhythm. Speak the line in time, clapping on the stressed syllables you marked. That rhythm is the skeleton of the melody before any pitch is chosen.
- Exaggerate the speech pitch. Say the line again and notice where your voice rises and falls. Push those movements further until they become a tune. Yes/no questions often lift at the end, while questions starting with who, what, or why usually fall; emphatic words tend to rise or hold.
- Begin with a simple shape. A short motif of three to five notes, repeated or moved up a step on the next line, is easier to sing and remember than a new contour on every line. Give the title word a longer or higher note. Once the chorus works, write the verse melody lower, busier, or closer to speech, so the chorus stands out by contrast.
Choose chords and a tempo
A few chords are enough. Many songs run on the I, IV, V, and vi chords of one key, which in C major are C, F, G, and Am. The same short progression can serve a ballad or an anthem depending on tempo and feel. Choose the tempo with the lyric in mind: a dense verse with many syllables per line can sit at a slower tempo, spread across more bars, or use finer subdivisions such as sixteenth-note phrasing. Once the chords are chosen, a useful starting point is to land chord tones on strong beats (C, E, or G over a C chord) and let other notes pass between them on weaker beats. Play the progression under the hummed melody and change a chord only where a clash sounds unintended; passing tones and suspensions over a held chord are normal.
Record a demo, or bring in a collaborator
A rough voice-and-guitar or voice-and-piano demo is enough to judge whether the song works. If you do not play an instrument, the usual route is a co-writer or producer who writes music for your lyrics. In U.S. copyright terms, the lyrics and music together form the musical work, the composition, which is separate from any sound recording of it. Co-writers usually share the composition by agreed percentages, so settle the writer splits before the session.
Preparing lyrics for an AI song generator
An AI generator returns a finished recording with melody, harmony, arrangement, and vocal. The preparation above still applies in a different input format.
In an aggregate cross-platform sample of roughly 650,000 AI music generations, about 41% of prompts ran past 1,000 characters, about the length of a full page of lyrics. Section tags were among the most frequent words in those prompts: chorus occurs over 452,000 times and verse over 410,000 times across the sample. The full breakdown is in Who is really making AI music.
Four habits make a lyric ready for generation:
- Label each section in square brackets —
[Verse 1],[Pre-Chorus],[Chorus],[Bridge],[Outro]. The tags work as arrangement cues and are usually not sung, but listen to the result to confirm. - Paste repeated sections in full. Write out the chorus every time it returns instead of writing "repeat chorus."
- Keep the lyric field for words only. Genre, instruments, tempo, and vocal character belong in the style description, or the model may sing them.
- Line up parallel phrases. The lines in the same position of each verse should have a similar length and stress pattern. Lines within a verse do not need to be equal.
Here is an excerpt from the first verse and chorus of the example song below, as submitted:
[Verse 1]
The kitchen light was always on
Whenever I came home too late
A cup turned down beside the sink
A note beneath the dinner plate
[Chorus]
Leave the kitchen light on for me
A little gold against the dark
I may be miles from where I started
But I still know it by heart
Write the style description and pick a model
The style description influences the chord, tempo, and arrangement choices you would otherwise make by hand. Name a direction, a few instruments, the vocal, and how the energy should move. The example song below started from the wording of the page's Acoustic Ballad preset, with a male vocal and three production notes added. The full style text was:
intimate acoustic ballad, expressive male lead vocal, fingerpicked guitar, warm piano, gradual emotional build, natural room sound, restrained strings entering late, tender close-miked performance
It was set to a male vocal at 74 BPM, with EDM, heavy drums, and vocal effects listed as styles to exclude. The guide to writing AI music prompts covers style descriptions in more detail.
The other decision is the model. Lacuna's lyrics to song page offers four, and describes them this way:
- Reverie — follows supplied lyrics closely, covers a wide range of vocal languages, and returns two takes per run. Up to 3,000 characters of lyrics.
- Aether — a wide style range, with two takes and controls for style weight, weirdness, and excluded styles. Up to 5,000 characters.
- Echo — one structured full-song take of up to three minutes, in eight supported vocal languages. Up to 5,000 characters.
- Cadence — plans melody and chords before it sings, with one full song of up to five minutes per run. Up to 3,000 characters.
Whichever model you use, listen through the full vocal and check for dropped words, changed words, and mispronunciations before you use a take.
Common problems and fixes
- The lyric is too long for the model. The page shows the limit when you exceed it. Cut verses before cutting the chorus.
- Parallel lines do not match. A line in verse two with several more syllables than its counterpart in verse one forces the singer to cram or stretch. Trim or split it.
- The rhyme scheme drifts. Keeping one rhyme scheme across verses is a useful starting point, since rhyme helps mark the end of a phrase, but it is optional. Near rhymes that share a vowel sound but not the final consonant are widely used.
- Two versions of a line compete. Generate each version separately rather than putting both in one lyric block.
- The words belong to someone else. In the United States, a song's lyrics are part of the copyrighted musical work, and the owner controls copies and derivative works. Only submit lyrics you wrote, licensed, or have permission to use; finding a lyric online does not grant that permission.
Hear an example
This song was generated through Lacuna's lyrics to song pipeline from the lyric above, with the Aether model and the style text shown above. Each line of the first verse has eight syllables, and the submitted lyric writes the chorus out three times.

FAQ
Can I turn lyrics into a song without playing an instrument?
Yes. You can hum a melody and record it, work with a co-writer who writes the music, or use an AI generator that composes the melody, chords, and arrangement around your words.
Can AI turn my lyrics into a song?
Yes. Paste the lyric with section tags into a lyrics to song generator, describe the style in a separate field, and the model returns a sung, arranged track.
Will AI keep every word?
Not always. Some models follow supplied lyrics more closely than others, and any model can drop, change, or mispronounce a word. Listen through the full vocal before using a take.
Can ChatGPT create a song?
A text model such as ChatGPT can write or edit lyrics. Turning those lyrics into sung audio takes a music generation model, which composes the melody and produces the vocal and arrangement.
What if I already have a melody?
Record or upload it on hum to song, which uses the hummed melody as the melodic input and lets you add your lyrics and choose an arrangement.
Do I own the song?
Copyright in lyrics you wrote stays with you when an AI performs them. Use of the generated recording is governed by the platform's terms, and its copyright status is less settled: the U.S. Copyright Office's January 2025 report concluded that protection requires a human author to determine sufficient expressive elements, and that prompts alone are not enough. On Lacuna, commercial use of a generated track requires rights to the input lyrics and an appropriate plan.
Where to go from here
If your lyric is finished, paste it into lyrics to song, pick a sound direction, and choose a model based on how strictly the wording must be kept. If the words are not finished, the AI lyrics generator can draft or rewrite verses and choruses first. If you would rather describe the song in plain language than prepare a lyric sheet, the AI song generator's music Agent takes a brief, writes or keeps your lyrics, and builds the track from there. Either way, start by marking the stresses and sections on one verse and chorus, then hum or generate a first version.