---
title: How to change or edit the background music
description: Change the background music of an invideo AI video with your prompt, the Magic Box or the Music section, and set loop, trim, fade and volume.
---
You can add, change or adjust the background music in three places: in your first prompt, in the workflow, or in the **Music** section after the video is generated.

<Image src="https://downloads.intercomcdn.com/i/o/fxxlrhi6/1254353485/29d0f395062d93a0fb147d0dafa4/Screenshot+2024-11-16+at+10_23_09+PM.png" alt="The workflow screen with the background music options" />

## Use the Magic Box

When you open a video in invideo AI, it opens in Theatre mode. To show the Magic Box:

1. Click **Edit & Download** to leave Theatre mode.
2. Find the Magic Box below the video.

<Image src="https://downloads.intercomcdn.com/i/o/fxxlrhi6/1584048787/67fec76c10fbf440b341350e778d/ScreenRecording2025-06-23at5_47_34PM-ezgif_com-video-to-gif-converter.gif" alt="Clicking Edit and Download to leave Theatre mode and show the Magic Box" />

After the video is generated, type a command in the Magic Box to edit the music. For example:

- Turn the background music up to full volume
- Mute the background music
- Change the music to be more upbeat and energetic

## Use the Music section

You can also make the changes in the **Music** section.

<Image src="https://downloads.intercomcdn.com/i/o/fxxlrhi6/1532527688/4cd7081ac849ec6da0ed8dc20daf/ScreenRecording2025-05-20at8_50_14PM-ezgif_com-video-to-gif-converter.gif" alt="Opening the Music section of a generated video" />

From the **Music** section, you can open the stock library. Browse it and replace the music with tracks from the YouTube library or Storyblocks.

<Image src="https://downloads.intercomcdn.com/i/o/fxxlrhi6/1254363840/0433faf596725d4ef1f557fd9cf4/Screenshot+2024-11-16+at+10_35_58+PM.png" alt="The stock music library in the Music section" />

<Image src="https://downloads.intercomcdn.com/i/o/fxxlrhi6/1254374418/8607c83096f305ad76e32a06e568/Screenshot+2024-11-16+at+10_56_00+PM.png" alt="A list of music tracks to pick from in the stock library" />

To change the music of one chapter:

1. Select the chapter where you want to change the default music.
2. Click the music title.

<Image src="https://downloads.intercomcdn.com/i/o/fxxlrhi6/1277715813/15371182073c035ead720fd8e150/Screenshot%2B2024-12-05%2Bat%2B6_15_16%2BPM.png" alt="A chapter selected in the Music section with its music title" />

3. Click **Apply**, then save your changes.

## Use Music properties

For more manual control, click **Music properties**.

<Image src="https://downloads.intercomcdn.com/i/o/fxxlrhi6/1254368017/d024b050d34391c128dd7f08249d/Screenshot+2024-11-16+at+10_45_17+PM.png" alt="The Music properties button in the Music section" />

In **Music properties**, you can loop the music, change its volume, set fade-in and fade-out points, choose where the music starts, and set how long it plays.

<Image src="https://downloads.intercomcdn.com/i/o/fxxlrhi6/1267316367/af316cd06daad74b10fe8db12f1d/Screenshot+2024-11-27+at+1_21_23+PM.png" alt="The Music properties panel with loop, trim, fade and volume settings" />

- **Loop music:** The AI makes the music fit the length of each scene. If you set **Trim to** shorter than the scene, the music stops early and the end of the scene is silent. Turn on looping to keep the music playing to the end of the scene.
- **Trim from:** Choose the point in the track where the music starts. This trims the start of the track.
- **Fade-in:** Choose the point in the video where the music fades in.
- **Fade-out:** Choose the point where the music starts to fade out. For fade-out to work, turn off the loop.
- **Music Volume:** Set the music volume up to the limit the product shows. To mute the music for a chapter, click the volume button.