MUSICGEN · AUDIOCRAFT · OPEN WEIGHTS

MusicGen Prompt Guide

MusicGen is the developer's option: open weights, a plain-English description, and a row of sampling parameters instead of a lyrics box. It renders thirty seconds at a time, which changes how you plan a track.

How MusicGen takes direction

MusicGen takes a free-text description — genre, instruments, mood, tempo — and generates instrumental audio. There is no lyrics field and no vocal mode; the released models are trained on instrumental music. Your control comes from the description plus sampling settings: temperature, top_k, top_p and classifier-free guidance. Model size trades speed for fidelity, and the melody variant conditions on a monophonic melody you supply yourself.

DESCRIPTION: one line → DURATION: ≤30s per pass → MODEL: small / medium / large (stereo) → SAMPLING: temperature · top_k · top_p · cfg_coef → SEED

Layer by layer

MusicGen setups you can paste

One description, one pass, then continue from the tail if the track needs to be longer.

Lo-fi study loop · 82 BPM

DESCRIPTION: 82 BPM lo-fi hip hop, dusty vinyl crackle, felt piano, soft brush drums, warm and narrow, no vocals DURATION: 30s · MODEL: musicgen-large SAMPLING: temperature 0.95 · top_k 250 · top_p 0.0 · cfg_coef 3.0 SEED: 4820

Cinematic build · 110 BPM

DESCRIPTION: 110 BPM cinematic orchestral cue in D minor, low string ostinato, brass swells, timpani, wide dynamic range, instrumental DURATION: 30s (continue from the tail for a longer cue) MODEL: musicgen-large · stereo SAMPLING: temperature 1.05 · top_k 250 · top_p 0.0 · cfg_coef 3.5 SEED: 912

Ambient pad · 64 BPM

DESCRIPTION: 64 BPM ambient soundscape in C major, detuned granular pad, distant piano notes with long reverb tails, no percussion, instrumental DURATION: 30s per pass, overlap the tails when joining passes MODEL: musicgen-medium SAMPLING: temperature 0.9 · top_k 200 · top_p 0.9 · cfg_coef 2.5 SEED: 77

More ready-made prompts across moods and engines: AI music prompt examples.

What to leave out

The rule underneath all of them: describe the music, never the record. Reference an artist or a track and you inherit someone else's rights problem along with a vaguer brief.

Build a MusicGen brief from a reference track

The hard part is the honest numbers: tempo, key, brightness, dynamics, and the instruments actually carrying the groove. Music DNA Studio measures them from any MP3, WAV, FLAC or MP4 — locally in your browser, nothing uploaded — then outputs a MusicGen-shaped prompt alongside versions for the other fourteen engines. You make the creative calls; the spec underneath is measured, not guessed.

Because the description is one line, every word has to earn its place — which is exactly what measured numbers are good for.

Guides for the other engines

Eleven Music · Suno · Udio · Mureka · MiniMax Music · YuE2 · Soundverse · Treblo · Stable Audio · Soundraw · Mubert · Beatoven · AIVA · Loudly · MusicGen

Build The MusicGen Brief

Drop in a reference, pick MusicGen, copy the description and sampling settings. Free, no signup, nothing leaves your device.

ANALYSE YOUR AUDIO — FREE →

FAQ

Can MusicGen generate vocals? ▾

No. The released AudioCraft music models generate instrumental audio and have no lyrics or vocal field. For a sung track you need a song model; the measured brief transfers, the engine does not.

How long can one generation be? ▾

Thirty seconds per pass. Longer pieces are built by continuing from the tail, and the cleanest joins come from overlapping a second or two and crossfading.

Do I need a GPU? ▾

For local runs, yes — the larger models are heavy. A hosted Space is the quick way to test a description before committing to hardware.

Which model size should I use? ▾

Small for fast iteration on wording, medium for a balance, large for the final render. Decide the description on small, then spend the time on large.

Can I use MusicGen output commercially? ▾

Check the weights licence before you plan a release: the code and the published model weights are licensed differently, and the weights carry a non-commercial condition.