Generating Music & Audio
Create original, royalty-free music tailored to your content.
AI Music Generation
Create the perfect soundtrack or background music for your content, videos, and campaigns using AI. The platform allows you to generate high-quality audio by describing the mood, genre, and instruments you want.
Basics for writing music prompts
Good prompts are descriptive and clear. To get your generated music closer to what you want, start with identifying your core musical idea and then refine your idea by adding keywords and modifiers.
The following elements should be considered for your prompt:
- Genre & Style: The primary musical category (for example, electronic dance, classical, jazz, ambient) and stylistic characteristics (for example, 8-bit, cinematic, lo-fi).
- Mood & Emotion: The feeling that the music should evoke (for example, energetic, melancholy, peaceful, tense).
- Instrumentation: Key instruments you want to hear (for example, piano, synthesizer, acoustic guitar, string orchestra, electronic drums).
- Tempo & Rhythm: The pace (for example, fast tempo, slow ballad, 120 BPM) and rhythmic character (for example, driving beat, syncopated rhythm, gentle waltz).
- (Optional) Arrangement/Structure: How the music progresses or layers (for example, starts with a solo piano, then strings enter, crescendo into a powerful chorus).
- (Optional) Soundscape/Ambiance: Background sounds or overall sonic environment (for example, rain falling, city nightlife, spacious reverb, underwater feel).
- (Optional) Production Quality: Desired audio fidelity or recording style (for example, high-quality production, clean mix, vintage recording, raw demo feel).
Prompt Examples
Here are a few examples of how to combine these elements into an effective prompt:
"A fast-paced, energetic electronic dance track with a driving beat, heavy synthesizers, and a tense, futuristic mood. High-quality production, clean mix."
"Peaceful, slow acoustic guitar ballad. Gentle waltz rhythm, melancholic emotion, with subtle string orchestra in the background. Spacious reverb, cinematic feel."
"Lo-fi hip hop beat, 80 BPM. Chill, relaxing mood with a vintage recording sound. Vinyl crackle, mellow piano, and electronic drums."
How to Generate Music
- You can generate music at different places, such as Content Generator, Video Creator, Video Story and Motion Graphics. Each have a unique flow to generate music content; check out the documentation for each feature to learn more.
- Write a clear, descriptive prompt using the guidelines above.
- Choose the desired duration for your track.
- Click Generate.
- Listen to the generated preview. If it's not quite right, adjust your prompt and try again.
- Once satisfied, save the audio to your Content Library or apply it directly to your project.
Safety
Google's Lyria music models applies safety filters to help ensure that generated audio doesn't contain offensive content or violate usage guidelines. For more information, see Google responsible AI guidelines.