Mubert in Chat Describe a track, then edit it with words Edit music with words Mubert Cast Turn a raw recording into a finished podcast episode Finish podcast episodes Mubert Fuse Upload a clip, get music that fits its length and mood Music that fits your video

Text to Music: Write One Sentence, Get a Track, and Learn Which Words the Model Ignores

Text to music turns one typed sentence into a track, but Google's MusicLM learned its words from captions of 10-second clips and still misreads no. Here is which words steer the music, which ones don't, and a prompt formula that works.

  
Cloudflare: loading...
Need an idea? Browse 168 music prompts →
Text to Music: What a Prompt Controls and What It IgnoresText to Music: What a Prompt Controls and What It Ignores

With text to music, you type a sentence like “slow lo-fi, warm piano, rainy evening” and a model writes a track to match it. Google’s MusicLM, one of the first well-known research models, learned from 280,000 hours of music, and its own authors write that it misunderstands negations. So the sentence steers a lot of the track, but not all of it. This post is for creators who need a background track today. It covers which words the model actually follows, which ones it ignores, and how to write a prompt that works on the first or second try.

We found the negation problem the embarrassing way. Our first prompt for a podcast bed said “ambient, calm, no drums”. The track had drums. Very calm drums, to be fair.

Text to Music: What a Prompt Controls and What It IgnoresText to Music: What a Prompt Controls and What It Ignores

Text to music models learn words from captions of short clips

A text to music model learns from pairs: a piece of audio and a written description of it. Google’s MusicLM paper introduced MusicCaps, a set of 5.5k ten-second clips, each with a caption written by human experts. Meta’s MusicGen paper reports training on 20,000 hours of licensed music, cut into random 30-second crops.

That detail explains nearly everything that follows. The model learns how people describe a short stretch of sound: its genre, its mood, the instruments playing, how fast it moves. It barely learns how people describe a whole song, because the training rarely shows it one.

Think of a sommelier who learned wine only from the back labels. Ask for “dry, oaky, notes of cherry” and you’ll get something good, because that’s how labels talk. Ask for “the bottle we had in Lisbon, but sadder after the second glass” and the sommelier just nods politely and pours something oaky.

So the useful question is never “can the model understand me”. Instead, ask if your words are the kind someone would write under a ten-second clip. If they are, the model has heard them thousands of times. If they aren’t, it guesses.

Text to music rewards caption language. It punishes poetry.

Genre, mood, tempo and instruments are the words a prompt controls best

Four kinds of words do most of the work in a text to music prompt: genre, mood, tempo and instruments. They are also what captions mention most, because they are the first things a listener notices in ten seconds of audio.

Genre sets the whole palette. “Lo-fi hip hop” brings dusty drums, soft chords and a relaxed swing before you add anything else. “Drum and bass” brings fast breakbeats and a heavy low end (if you want the long version of why, we wrote up the six-second 1969 drum break behind the whole genre). One genre is better than three. “Jazz trap orchestral folk” gives you a track that sounds like four bands sharing one rehearsal room.

Tempo works best when you give it two ways. Write “slow, around 80 BPM” rather than only one of them, so the word and the number back each other up. BPM means beats per minute. Around 70-90 feels relaxed, and around 120 feels like walking briskly to a meeting you’re late for.

Instruments are where people overdo it. One or two named instruments come through clearly. Five named instruments turn into soup, because the model tries to fit all of them into the same space and none of them gets the lead.

Use is the fifth word, and the one people skip. “For a cooking video” or “under a podcast voice” tells the model to leave room in the middle of the spectrum, where speech lives. Cheap trick. It gets you a track that doesn’t fight the person talking over it.

Vague words like chill give you an average text to music track

A mood word works only when it describes something you can hear. “Melancholic” and “tense” work, because a listener can point at the minor chords or the held-back energy. “Inspiring” works less well, because people use it for everything from a piano ballad to a stadium anthem. Vague moods give you an average track.

The word “chill” deserves its own warning. Over the last decade it has been used as a label for lo-fi beats, ambient drones, acoustic covers, deep house and, at least once, a Spotify playlist of whale songs. A text to music model trained on human captions picked up all of those meanings at once. Anyway.

The fix is boring and reliable. Swap the vague word for the sound you actually mean. “Chill” becomes “slow, soft drums, warm Rhodes”, and “epic” becomes “big drums, low brass, building”. Same intent, fewer meanings, and the model stops averaging five genres into one beige loop.

Text to music models hear “no drums” as “drums”

Negation is the best-documented failure in text to music. The MusicLM authors list it as a limitation in plain words: the model “misunderstands negations”, and they trace it back to MuLan, the component that links language and audio. They also flag prompts with negations as a failure pattern in their listening test.

Here is why it happens, in one picture. The model turns your sentence into a kind of direction in sound space. “Drums” is a strong word that pulls the direction hard toward percussion. “No” is a tiny word that hardly moves it. So “no drums” ends up pointing at drums, with a faint apologetic tilt.

The fix is to describe what you want instead of what you don’t. “Ambient, calm, no drums” becomes “ambient, beatless, floating pads, soft piano”. “No vocals” becomes “instrumental”. “Not too fast” becomes “slow, 75 BPM”. Every one of those rewrites swaps a negation for a positive word that captions actually use.

This also applies to “without”, “avoid”, “less” and “not like”. Treat all of them as invisible to a text to music model. If a word only works because of the word before it, assume the model never saw the word before it.

We rewrote our podcast prompt as “beatless ambient, warm pads, soft piano, under a speaking voice”. It worked on the first try. Then we felt slightly silly about the first ten tries.

A sentence cannot schedule a drop at 0:45

The second documented limit is order and timing. According to the MusicLM paper, the model “does not adhere to precise temporal ordering described in the text”, and the authors saw this as a failure pattern in their own listening test.

Go back to the training data and it makes sense. A caption describes ten seconds of audio, which is a snapshot rather than a plot. Nobody captions a clip with “starts with solo piano, the beat enters at the chorus, then everything drops out for a breakdown before a long fade”. So a text to music model trained this way never learned to follow a script.

A prompt like that one isn’t a set of instructions. It’s a wish list. What usually happens is that the model blends the whole list into one texture: piano, beat and fade all at once, in some order of its choosing.

Arc words do work, though, because they describe the feel of a whole clip. “Building”, “steady”, “minimal and hypnotic” and “slow burn” all come through, since a ten-second clip can sound like it’s building.

If the structure really matters (a trailer, say, with a hit right on the logo), stop asking the sentence to do the editor’s job. Generate the calm part and the loud part as separate tracks, then cut them together on your timeline. Two prompts, one crossfade. Still faster than ten tries at a prompt that reads like a screenplay.

A sequence of prompts or a hummed tune steers what one sentence can’t

Researchers found two workarounds for the timing problem, and both add a second input instead of more words. The MusicLM paper shows a story mode: a sequence of text prompts, each one assigned to its own stretch of time, so the music changes when the text changes. That is the drop at 0:45, done the honest way, with a new prompt at 0:45.

The second workaround is a melody. MusicLM can take a hummed or whistled tune and turn it into the style a text caption describes. Meta’s MusicGen can also be conditioned on melodic features as well as on text.

That splits the job in two. The text to music half decides the genre, the instruments and the mood. The melody half decides the notes. Try writing “da-da-DUM, then up a bit” in a prompt box and you’ll see why the second input exists.

Not every consumer tool offers either one. Check the settings before you hum at your laptop in a shared office. We did. Nobody said anything, which was worse.

Sommelier reading the back label of a wine bottle with great confidence while the bottle itself is a guitar amplifierSommelier reading the back label of a wine bottle with great confidence while the bottle itself is a guitar amplifier

Length and the final cut are settings, not words

Length doesn’t belong in a text to music prompt. “Three minutes long” in a sentence has the same chance of working as “please be good”. MusicGen trained on 30-second crops, so duration is something the generator’s settings handle, not something the words decide.

This is also where tools differ most. Some research models make clips of a fixed length, and you loop or fade them to fit. Mubert Render takes a mood, genre, tempo or a description of your video and writes an original track to the exact length you set. It composes from samples that human artists uploaded and get paid for, so the music isn’t faded out of a 3-minute file or shared with a thousand other videos.

Even with a duration field, people often change their minds once they hear the track. About 28% of tracks generated in Render get re-cut to another duration afterwards (Mubert’s own data, last 28 days). That’s roughly one in four tracks where the first length guess turned out wrong, usually because the edit changed after the music arrived.

So plan for it. Set the length to your current cut, generate, and expect to regenerate at the new length when the edit tightens. That’s cheaper than stretching a track until the tempo sounds like it needs a nap.

Where the sounds came from decides what you can publish

No text to music prompt can change the licence. The words steer the sound, but what you can legally do with the file depends on how the generator was built and what its terms say.

The research side shows why this is a real question. Google tested MusicLM for memorization, meaning how often it reproduces audio from its training data. For 1% of examples the team found an approximate match, and exact matches stayed under 0.2%. Small, not zero. The authors also wrote that they had “no plans to release models at this point”, partly because of those risks.

One percent sounds small until you remember that you only publish one track per video. If your track is in that one percent, the odds don’t help you, and neither does the prompt that made it.

For a creator, this turns into three plain questions to answer before you publish. Does the licence cover commercial use, including sponsored videos? Does it cover the platforms you post to? Could a platform reject the file just for being AI-made? Tidal, for one, rejects fully AI tracks from December 9, which matters if you plan to release the music itself.

The same caution goes for the “free” playlists people use instead of generators. Many of them are less free than they say, which we covered in our post on what no-copyright background music playlists really are. The licence page is boring. Read it anyway.

A text to music prompt that works has five parts

A reliable text to music prompt has five parts in this order: genre, mood, one or two instruments, tempo, and use. That order puts the strongest words first and the context last, and it stays short enough that no single word gets drowned out.

Here’s how it looks in practice:

  • Lo-fi hip hop, warm and sleepy, soft Rhodes piano, slow 75 BPM, for a study stream
  • Cinematic orchestral, tense, low strings and taiko drums, building, for a game trailer
  • Synth pop, bright and upbeat, plucky synth lead, 120 BPM, for a product demo
  • Beatless ambient, calm, airy pads, very slow, under a podcast voice

Each line is something a person might write under a ten-second clip. None of them uses a negation, schedules a drop or asks for five instruments.

When a result is close but wrong, change one word at a time. If the track is too busy, swap the instrument rather than adding “simpler”. If it’s too sad, swap “melancholic” for “nostalgic” instead of adding “not sad” (the model hears “sad”). Change everything at once and you learn nothing.

Keep the prompts that work, one per format you make often. If you also score photos or thumbnails, the same logic carries over to turning an image into a soundtrack, where colour and subject do the job of the mood words.

Twelve good words beat forty hopeful ones, because every extra word dilutes the others. If your prompt has a subordinate clause, it’s probably a screenplay again.

A checklist for your first text to music track

  1. Write one genre, not three, as the first word of the prompt.
  2. Add a mood you can hear, such as “tense” or “nostalgic”, instead of “inspiring”.
  3. Name at most two instruments.
  4. Give the tempo as a word and a number: “slow, around 80 BPM”.
  5. End with the use: “for a cooking video” or “under a podcast voice”.
  6. Replace every “no”, “without” and “less” with a positive word like “beatless” or “instrumental”.
  7. Set the length in the duration field, and regenerate when the edit changes.
  8. Read the licence before the first sponsored upload, not after the first claim.

And if you really want no drums, don’t write “no drums”. Write “beatless”, and the drums never find out they were invited.

Mubert Team

Editorial team, Mubert Inc

The musicians, sound designers and engineers behind Mubert, a generative music platform built from samples by real artists who get paid for them. We write about AI music, licensing, streaming and the creator economy, and we read the fine print so you do not have to.

Who we are

AI Music for Creators

Join 28 million creators generating music via Mubert apps & API integrations

Mubert is a platform powered by music producers that helps creators and brands generate unlimited royalty-free music with the help of AI. Our mission is to empower and protect the creators. Our purpose is to democratize the Creator Economy.

Anghami Adidas Canva DFF FIFA Instories Lift Miller Picsart Polkadot Restream VEED Visa Zoomerang