Replace audio
replace_audioReplace a video's audio track with another file, such as music or a voiceover. The result ends with the shorter input unless looping is enabled.
Instructions
Replace a video's audio track with a different audio file (e.g. background music or a voiceover). The output ends when the shorter of the two ends, unless loop_audio is set.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| audio_path | Yes | Path to the new audio file | |
| input_path | Yes | Path to the source video | |
| loop_audio | No | Loop the audio to cover the whole video (default false) | |
| output_path | No | Where to write the result |