Platform · MusicGen by Meta

MusicGen Prompt Generator — Meta AI

Meta's MusicGen is free, open-source, and runs locally. Generate prompts formatted for MusicGen's technical requirements — the right descriptor format, model selection, and instrumental parameters.

MusicGen is Meta AI's open-source music generation model, released as part of the AudioCraft suite of audio generation tools. Unlike Suno and Udio, which are proprietary cloud services requiring subscriptions, MusicGen can be run locally on your own hardware — making it the platform of choice for developers, researchers, technically sophisticated creators, and anyone who needs complete control over the generation process without per-generation costs or usage limits.

MusicGen Models: Small, Medium, Large, and Melody

MusicGen comes in several model sizes that trade off generation quality against computational requirements. MusicGen-Small is the fastest model and can run on consumer hardware with 8GB of VRAM or even on CPU, though slowly. MusicGen-Medium requires more capable hardware but produces significantly better output quality, particularly for complex multi-instrument arrangements. MusicGen-Large is the flagship model, requiring a high-end GPU for reasonable generation speed, but producing the highest quality outputs. MusicGen-Melody is a specialised variant that accepts a melody reference — a hum, a whistled line, or an existing audio sample — and generates music that incorporates that melodic content. For prompt-based generation, MusicGen-Medium is the practical choice for most users.

Prompt Format for MusicGen

MusicGen responds best to dense, technically specific prose descriptions that combine genre, instrumentation, production quality, and emotional character in a single passage. Unlike Suno's tag format, MusicGen processes full sentences. Unlike Udio's narrative approach, MusicGen benefits from explicit technical specificity — naming specific instruments, production techniques, and sonic qualities. A strong MusicGen prompt reads like a dense music production brief: genre and subgenre, lead instrument and its playing style, supporting instruments and their roles, tempo, key if relevant, mood, and production era or reference point.

Accessing MusicGen

MusicGen is available through multiple access points: the official Meta AudioCraft GitHub repository for local installation, Hugging Face Spaces for browser-based access without local setup, and various third-party web interfaces that host the model. For local installation, the AudioCraft library requires Python 3.9+, PyTorch with CUDA support for GPU acceleration, and approximately 4–8GB of storage for the model weights depending on the size variant chosen.

Ready-to-Use

5 Proven Prompts — Copy & Paste

Copy any prompt directly into your chosen AI music platform.

MusicGen Dense Prose — Cinematic
A sweeping orchestral piece for a dramatic film scene, featuring full string section with intense legato phrasing, brass swells building from pianissimo to fortissimo, timpani providing rhythmic foundation, 80 BPM in D minor, professional studio recording quality
MusicGen — Lo-Fi Hip Hop Technical
A lo-fi hip hop track at 85 BPM with a dusty, slightly detuned jazz piano sample, soft drum machine with deliberate swing, warm upright bass playing root notes, vinyl crackle and noise floor, mellow and focused, suitable for study playlists
MusicGen — Indian Classical Fusion
A North Indian classical fusion piece featuring sitar playing melodic phrases in Raag Yaman, accompanied by tabla keeping Teentaal cycle, tanpura providing drone bass, moderate tempo of 70 BPM, meditative and expansive quality
MusicGen — Dark Ambient Textures
Dark ambient soundscape with metallic drone frequencies, slowly evolving synthesiser pads in dissonant intervals, sparse percussive textures suggesting industrial space, no melodic content, 40 BPM implied pulse, unsettling and vast
MusicGen — Afrobeats Instrumental
Contemporary Afrobeats instrumental at 108 BPM, talking drum and djembe driving percussion, clean electric guitar melody, warm bass guitar groove, bright and energetic, West African musical influence, danceable

Try It Free

Generate Your Prompt Right Here

RaagEngine's full generator — pick your platform, mood, instruments and tempo. Get a production-ready prompt in seconds.