Media
Add Audio to Video
Add audio (music, voiceover, sound effects) to a video. Supports background music mixing, audio replacement, and voiceover overlay.
Category: Media · Plans: Trial, Pro, Premium, Enterprise · Type: VideoAudio
Inputs#
| Field | Type | Required | Default | What it does |
|---|---|---|---|---|
| Video URL | Text | Yes | (empty) | URL to the video to add audio to. |
| Audio URL | Text | Yes | (empty) | URL to the audio file (MP3, WAV, AAC, OGG, M4A). |
| Audio Mode | Text | No | background | How to mix the audio: background (mix with original), replace (replace original), overlay (for voiceover). Options: background, replace, overlay |
| Audio Volume | Number | No | 0.5 | Volume of the added audio (0.0 = silent, 1.0 = normal, 2.0 = double). |
| Original Volume | Number | No | 1 | Volume of the original video audio (0.0 = silent, 1.0 = normal, 2.0 = double). |
| Audio Start Time | Number | No | 0 | When to start playing the added audio in the video timeline (seconds). (Advanced) |
| Audio Offset | Number | No | 0 | Skip this many seconds from the beginning of the audio file. (Advanced) |
| Loop Audio | Yes/No | No | On | Loop the audio if it’s shorter than the video. |
| Fade In | Number | No | 0 | Duration of fade-in effect for the audio (seconds). (Advanced) |
| Fade Out | Number | No | 0 | Duration of fade-out effect for the audio (seconds). (Advanced) |
Outputs#
| Output | Type |
|---|---|
| Video Url | Any |
| File Id | Any |
| File Name | Any |
| Duration | Any |
| Audio Mode | Any |
| Status | Any |
| Error | Any |
Use as an agent tool#
Tool name: videoaudio
Add audio to video. Use this tool to add background music, voiceover, or sound effects to a video. Supports mixing audio with original video audio, replacing it entirely, or overlaying voiceover.