---
title: How can I edit or replace the existing audio in a media file or add custom SFX?
description: Replace the sound of a clip in invideo AI with an uploaded file, a stock sound effect or a generated one.
---
You replace the sound of a clip in the **Audio & SFX** section of **Media properties**. SFX means sound effects.

1. Click **Edit**, then **Media**.

<Image src="/images/help/s165.webp" alt="Opening the Media section from the Edit menu" />

2. Select the clip whose sound you want to change, then click **Media properties**.

<Image src="/images/help/s166.webp" alt="The Media properties option on a clip" />

3. Go to the **Audio & SFX** section. It has three options:
   - **Upload audio** uses your own audio file.
   - **Stock SFX** picks a sound effect from the stock library.
   - **Generate SFX** makes a custom sound effect.

<Image src="/images/help/s167.webp" alt="The Audio & SFX section with Upload audio, Stock SFX and Generate SFX" />

## Use a stock sound effect

1. Select **Stock SFX**.
2. Type the sound you want and press Enter.

<Image src="/images/help/s168.webp" alt="A search for a sound in Stock SFX" />

3. Play each sound to hear it. Each sound shows its duration.

<Image src="/images/help/s169.webp" alt="Stock sound effects with play buttons and durations" />

4. Click the name of the sound you want. It shows at the top, next to the SFX or media audio.
5. Click **Apply**, then save changes.

<Image src="/images/help/s170.webp" alt="The chosen sound effect shown at the top with its SFX volume" />

## Generate your own sound effect

1. Click **Back**, then choose **Generate SFX**.

<Image src="/images/help/s171.webp" alt="The Generate SFX option" />

2. Describe the sound and set its duration.
3. Click **Generate**.
4. Click the new sound to replace the audio, then click **Apply** and save changes.

<Image src="/images/help/s172.webp" alt="A generated sound effect ready to use" />

Preview the video after you save to check the sound.

## Use your own audio file

1. Select **Upload audio** and upload your MP3 file.
2. Click the file to replace the original audio.
3. Set the audio offset if you want the audio to start at a later point.

<Image src="/images/help/s173.webp" alt="An uploaded audio file with the audio offset setting" />

## Restore the original audio

Click **Back to default**.

<Image src="/images/help/s174.webp" alt="The Back to default button in the Audio & SFX section" />

<Banner variant="info">

You can keep the SFX or the media audio, but not both at the same time. The audio offset works only for uploaded audio. For clearer playback, you can [mute the voiceover](/invideo-ai/how-do-i-remove-the-voiceover-from-my-video), [remove the background music](/invideo-ai/how-do-i-remove-the-music-from-my-video) or change the SFX volume.

</Banner>