
Use the Add or Replace Audio tool to mix an audio track over a video, or replace the original.
In-app method
- Click Tools on the left panel
- Select Add or Replace Audio
- In the Input Files field, upload or paste your Video URL and Audio URL (new soundtrack)
- Set the appropriate Mode and other parameters
- Hit Send Request

API method
Send a POST request to the /v5/tools/add_audio endpoint with a string of your "video_url", "audio_url" and "mode" inputs for mixing.
var data = {
"video_url": "https://cdn.bannerbear.com/sample_videos/clip.mp4",
"audio_url": "https://cdn.bannerbear.com/sample_audio/track.mp3",
"mode": "mix",
"volume": 0.8
}
fetch('https://api.bannerbear.com/v5/tools/add_audio', {
method: 'POST',
body: JSON.stringify(data),
headers: {
'Content-Type' : 'application/json',
'Authorization' : `Bearer ${API_KEY}`
}
})

