How to Create Music with Google Gemini AI (Step-by-Step)

Want to create your own music using artificial intelligence? Google Gemini allows you to describe the music you want using simple text prompts and generate an AI music track based on your instructions.

You can specify the mood, instruments, musical style, and purpose of the track. For example, you can request energetic cinematic music for a YouTube video or peaceful instrumental music for studying.

In this beginner-friendly tutorial, you will learn how to create music with Google Gemini AI using two practical examples.

First, we will generate uplifting cinematic background music for a technology YouTube video. Next, we will create a peaceful instrumental track designed for studying and concentration.

You will also learn how to write effective AI music prompts and how changing your instructions can produce different musical styles.

Watch the Video Tutorial

Watch the original video for a complete demonstration of creating AI music with Google Gemini.

What Is Google Gemini AI Music Generation?

Google Gemini includes AI-powered music generation capabilities that allow users to create music by describing their requirements.

According to the video, Gemini uses Google's DeepMind music-generation technology to produce tracks from user instructions.

The video also mentions that music can be generated from text, photos, or videos and may include lyrics.

However, this tutorial focuses specifically on text-to-music generation, which is the workflow demonstrated in both examples.

We will enter two detailed prompts and use Gemini to generate short instrumental tracks.

In the demonstrated interface, each generated track is approximately 30 seconds long.

Note: The precise model name and current music-generation limits should be verified against Google's documentation. The workflow and track durations described here follow the video demonstration.

Prerequisites

Before getting started, make sure you have:

  • Access to Google Gemini.
  • A working internet connection.
  • Access to the Create Music feature in Gemini.
  • An idea of the music you want to generate.

Open Google Gemini using the following website:

https://gemini.google.com/

Make sure the Create Music option is available in your interface before proceeding.

Feature availability may depend on your account, location, and the version of Gemini you are using.

Step 1: Open Google Gemini

First, open your preferred web browser.

  1. Visit the official Google Gemini website.
  2. Sign in if required.
  3. Wait for the Gemini interface to open.

Once Gemini opens, locate the prompt box at the bottom of the screen.

This is where we will enter our AI music generation instructions.

Step 2: Enable Music Generation in Gemini

How to Create Music with Google Gemini AI (Step-by-Step)

Before generating music, we need to enable the music generation mode.

In the video, this option is available through the plus icon near the prompt box.

Follow These Steps

  1. Locate the plus (+) icon near the Gemini prompt box.
  2. Click the plus icon.
  3. Review the available options.
  4. Select Create Music.

Once you select Create Music, the music generation mode becomes active.

Explore the Music Generation Interface

After enabling music mode, Gemini may display ready-made musical styles or templates.

These options provide starting points for different types of music.

However, in this tutorial, we will create music using our own custom text prompts.

This approach gives us more control over the purpose, mood, instruments, and overall style of the generated tracks.

Step 3: Create Cinematic Background Music for a YouTube Video

Let's begin with our first practical example.

Suppose you are creating a technology YouTube video and need professional background music.

You want the music to sound energetic and inspiring without distracting viewers from the narration.

We will ask Gemini to create a cinematic instrumental track using soft piano and modern electronic beats.

Enter the Following AI Music Prompt

Copy and paste this prompt into the Gemini prompt box:

Create an uplifting cinematic instrumental track for a technology YouTuber video. Use soft piano, modern electronic beats, and inspiring background music. Make it energetic but not distracting.

After entering the prompt, submit it to Gemini.

Gemini will begin generating the music track based on your instructions.

Understanding the Cinematic Music Prompt

Let's examine why this prompt provides useful instructions for AI music generation.

1. Purpose

We specify that the music is intended for a technology YouTube video.

This gives Gemini context about where the track will be used.

2. Mood

We request an uplifting, energetic, and inspiring atmosphere.

These instructions describe the emotional feeling we want the music to convey.

3. Instruments

We specifically request soft piano and modern electronic beats.

Mentioning instruments helps communicate the desired musical arrangement.

4. Musical Style

We describe the track as cinematic and instrumental.

This tells Gemini the type of music we want rather than simply asking for a generic track.

5. Additional Requirement

Finally, we specify that the music should be energetic but not distracting.

This is important because background music should support a video's content rather than overpower it.

A detailed prompt provides more useful direction than a vague instruction such as "Create some music."

Step 4: Generate the Cinematic Music Track

After submitting the prompt, Gemini begins generating the music.

The video shows that this process takes some time.

Once generation finishes, Gemini displays the resulting track.

In the demonstration, Gemini generates a short music track lasting approximately 30 seconds.

Step 5: Listen to the Generated Cinematic Music

After Gemini finishes generating the track, listen to the result using the audio player shown in the interface.

In the video, the generated music combines a cinematic atmosphere with soft piano and an electronic background.

The presenter plays the track and evaluates how well it matches the original instructions.

This type of music can be useful for:

  • YouTube video introductions.
  • Technology video background music.
  • Short promotional clips.
  • Other content requiring an inspiring instrumental track.

Listen carefully to determine whether the music matches your video's intended mood and does not distract from the main content.

Step 6: Create Relaxing Music for Studying and Focus

Now let's create a completely different type of music.

Our first example was energetic and cinematic. For the second example, we want something softer and more relaxing.

Imagine you are creating a study video or an educational presentation that needs peaceful background music.

We will ask Gemini to generate an instrumental track with soft piano, acoustic guitar, and gentle ambient sounds.

Enter the Following Prompt

Create a peaceful, relaxing instrumental track for studying and focus. Use soft piano, acoustic guitar, gentle ambient sounds and a calm positive mood. Keep it smooth and minimal.

Copy the prompt, paste it into Gemini, and submit it.

Gemini will begin generating another music track.

Understanding the Relaxing Music Prompt

This prompt is intentionally different from the first example.

Let's examine its components.

Purpose: Music for studying and focus.

Mood: Peaceful, relaxing, calm, and positive.

Instruments: Soft piano and acoustic guitar.

Additional Sounds: Gentle ambient sounds.

Overall Style: Smooth and minimal.

Notice that we are no longer asking for energetic cinematic music.

Instead, we are requesting a calm instrumental arrangement designed to create a relaxing atmosphere.

This demonstrates how changing the wording of a prompt can guide Gemini toward a different type of music.

Step 7: Generate and Listen to the Relaxing Music Track

After submitting the second prompt, Gemini starts generating another track.

In the video, this track is also approximately 30 seconds long.

Wait for the music generation process to complete.

Once the track appears, play it and listen to the result.

Review the Second Music Track

In the video, the second track has a softer and more relaxing atmosphere than the first example.

The music reflects the calm mood requested in the prompt.

This type of track may be suitable for:

  • Study videos.
  • Educational content.
  • Focus-related content.
  • Calm background music.

The two demonstrations show how the same AI music generator can produce different musical ideas depending on the instructions provided.

Step 8: Compare the Two AI-Generated Music Tracks

Let's compare the two tracks we created.

Feature Cinematic Music Relaxing Music
Purpose Technology YouTube video Studying and focus
Mood Uplifting and energetic Peaceful and calm
Instruments Soft piano and electronic beats Soft piano and acoustic guitar
Additional elements Inspiring background music Gentle ambient sounds
Style Cinematic instrumental Smooth, minimal instrumental
Duration in video Approximately 30 seconds Approximately 30 seconds

The first track is designed to create an energetic and inspiring atmosphere.

The second track focuses on relaxation and concentration.

Both were generated using the same general workflow.

The difference comes primarily from the purpose, mood, instruments, and style specified in each prompt.

Step 9: Experiment with Different Musical Styles

Once you understand the basic music generation process, you can experiment with different musical ideas.

The video identifies several styles that you can describe in your prompts:

  • Cinematic.
  • Relaxing.
  • Pop.
  • Folk.
  • Retro.
  • Electronic.
  • Romantic.

The video demonstrates cinematic and relaxing music directly. The other styles are mentioned as additional possibilities but are not individually generated during the tutorial.

When experimenting, clearly describe the type of music you want Gemini to create.

How to Write Better AI Music Prompts for Gemini

The most important lesson from this tutorial is that your prompt should be specific.

Instead of writing a generic instruction, provide details about the music you need.

The video highlights four essential prompt components.

1. Mention the Purpose

Explain where or how you intend to use the music.

For example, our first prompt specifies a technology YouTube video, while the second specifies studying and focus.

2. Describe the Mood

Specify the emotional atmosphere you want the music to create.

The tutorial demonstrates two contrasting moods: energetic and cinematic versus peaceful and relaxing.

3. Specify the Instruments

Mention instruments or musical elements that should be included.

Our examples use soft piano, modern electronic beats, acoustic guitar, and gentle ambient sounds.

4. Define the Musical Style

Tell Gemini whether the music should be cinematic, relaxing, instrumental, or another style.

You can also include additional guidance, such as requesting minimal music or asking for a track that is not distracting.

Combining these details gives Gemini clearer direction when generating music.

Quick Summary: How to Generate Music with Google Gemini

Here is a quick recap of the complete workflow demonstrated in the video.

  1. Open Google Gemini in your browser.
  2. Click the plus icon near the prompt box.
  3. Select Create Music.
  4. Enter a detailed music generation prompt.
  5. Submit the prompt.
  6. Wait for Gemini to generate the track.
  7. Play the generated music.
  8. Review the result.
  9. Try another prompt with a different mood or musical style.

In the video, the two generated tracks are approximately 30 seconds long.

The actual duration and generation behavior may vary depending on the music generation capabilities available in your Gemini interface.

Troubleshooting Common Gemini Music Generation Problems

1. I Cannot Find the Create Music Option

In the video, Create Music appears after clicking the plus icon near the prompt box.

If you cannot find it, check whether music generation is available in your Gemini account and interface.

The exact availability and account requirements are not established by the transcript.

2. Gemini Is Taking Longer to Generate Music

The video demonstrates that music generation takes some processing time.

Wait for Gemini to finish and check whether the generated track or an error message appears.

The transcript does not specify a guaranteed generation time.

3. The Generated Music Does Not Match My Requirements

Review your prompt and make sure it clearly identifies the purpose, mood, instruments, and style.

The two examples demonstrate how detailed instructions can guide the generation process toward different musical results.

You can experiment with another prompt using more specific musical descriptions.

4. The Music Is Too Energetic for My Video

Review the mood and style specified in your prompt.

The second example demonstrates a prompt designed for peaceful, relaxing music with a smooth and minimal arrangement.

Use similar descriptions when you want a calmer musical atmosphere.

5. I Need Music Longer Than 30 Seconds

Both music generation examples in the video produce approximately 30-second tracks.

The video does not demonstrate extending music, combining tracks, or generating longer compositions.

Check the available features and duration limits in your Gemini interface before planning a longer production.

Frequently Asked Questions

1. Can Google Gemini Generate Music?

Yes. The video demonstrates Google Gemini generating music from text instructions using its Create Music feature.

2. How Do I Create Music with Google Gemini?

Open Gemini, click the plus icon, select Create Music, enter a detailed music prompt, and submit it.

Once generation completes, you can listen to the resulting track.

3. Can Gemini Generate Instrumental Music?

Yes. Both examples in this tutorial generate instrumental music.

The first example creates cinematic background music, while the second creates relaxing music for studying.

4. Can Gemini Create Music for YouTube Videos?

You can prompt Gemini to generate music intended for YouTube videos.

Our first example demonstrates generating an uplifting cinematic instrumental track for technology content.

Before publishing AI-generated music commercially, verify the applicable usage rights and platform policies. The video does not establish licensing or monetization permissions.

5. How Long Are Gemini's Generated Music Tracks?

Both tracks generated in this video are approximately 30 seconds long.

The current duration limits should be checked in the version of Gemini you are using.

6. Can Gemini Create Different Music Styles?

The video demonstrates cinematic and relaxing instrumental music.

It also mentions other possibilities, including pop, folk, retro, electronic, and romantic music.

7. Can Gemini Generate Music with Lyrics?

The video mentions that Gemini can generate music that includes lyrics.

However, both practical examples in this tutorial are instrumental tracks. The transcript does not demonstrate a lyrics-generation workflow.

8. Can Gemini Create Music from Photos or Videos?

The video mentions text, photo, and video inputs as possible ways to create music.

This tutorial demonstrates only text-based music generation. The procedures for generating music from photos and videos are not covered in the supplied transcript.

9. What Should I Include in an AI Music Prompt?

Include the purpose of the music, desired mood, instruments, and musical style.

You can also add specific requirements, such as keeping the music smooth, minimal, energetic, or suitable for background use.

Conclusion

In this tutorial, you learned how to create music with Google Gemini AI using detailed text prompts.

We started by opening Gemini and enabling the Create Music feature.

Next, we created an uplifting cinematic instrumental track for a technology YouTube video using soft piano and modern electronic beats.

Then, we generated a peaceful instrumental track for studying and focus using soft piano, acoustic guitar, and gentle ambient sounds.

These examples demonstrate how changing the purpose, mood, instruments, and style in your prompt can guide Gemini toward very different musical results.

The key to effective AI music generation is writing clear, specific prompts.

Try the two prompts from this tutorial and experiment with different musical styles to develop your own AI-generated music ideas.

Continue Learning with Java Guides

Want to take your programming skills to the next level? Explore my practical Udemy courses on Java, Spring Boot, Microservices, Full-Stack Development, Docker, and Generative AI. You can also follow my structured learning roadmaps to become a professional developer.

By Ramesh Fadatare - Udemy Instructor Partner

Comments