All toolsadd music to video API

Add Music to Video Online or by API

Mix background music with the source audio or replace the original soundtrack. Run the preset directly on this page or call the same agent-ready endpoint from your product.

LIVE TOOL
Run add music to video
Drop a video, adjust the defaults if you need to, and download the result here.

or ·

Already have an account? Sign in

BEFORE / AFTER

See what the tool changes.

A real example: the after side is the unedited output of a KinoPipe job. Run the live form above to generate the same result from your own media.

BeforeOriginal soundtrack
Dialogue only
AfterMusic mix
Ready
Mixed soundtrack48 kHz · stereo
Music track mixed at 30%
Dialogue + music

Demo footage: public-domain timelapses (Bureau of Land Management, Oregon · NASA SVS). Processed by the same pipeline the API and MCP tools call.

Useful defaults, typed options.

The tool slug stays stable while your agent supplies named media inputs and a narrow set of documented options.

  • Mix and replace modes
  • Independent volume controls
  • Music loops to fit the video
What this preset does
  1. 01Load the video and music track
  2. 02Loop music to the video duration
  3. 03Mix or replace the source audio
  4. 04Limit peaks and encode the final MP4
Stable endpointPOST /api/v1/tools/add-music-to-video
Live API request
{
  "inputs": [
    { "id": "main", "url": "https://example.com/video.mp4" },
    { "id": "music", "url": "https://example.com/music.mp3" }
  ],
  "options": { "mode": "mix", "music_volume": 0.3, "source_volume": 1 }
}
Successful output example
{
  "result": {
    "output": {
      "filename": "output.mp4",
      "contentType": "video/mp4",
      "downloadUrl": "https://cdn.kinopipe.com/…"
    }
  }
}

Know the boundaries before you run.

The music input must contain a decodable audio stream.
Volume values range from 0 to 2.
The output duration follows the main video.

About add music

Yes. Choose mix mode and lower the music volume. Replace mode discards the original soundtrack.

The preset loops the music track and trims it exactly to the main video duration.

The mixed track runs through a peak limiter before the final AAC encode.

Related media tools