How do I add or replace the soundtrack of my video?

Use the Add or Replace Audio tool to mix an audio track over a video, or replace the original.

In-app method

  1. Click Tools on the left panel
  2. Select Add or Replace Audio
  3. In the Input Files field, upload or paste your Video URL and Audio URL (new soundtrack)
  4. Set the appropriate Mode and other parameters
  5. 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}`
  }
})

Start a Free Trial

Start a free trial with 30 API credits, no credit card required

Resize Video
Add Intro Animation
Add Subtitles

Get Started for Free