Actions21
- Auto Caption Video Actions
- Create Video Actions
- Edit Video Actions
- File Actions
- HTML Video Actions
- Job Actions
- React Video Actions
- Template Actions
- Video Audio Actions
- Video Thumbnail Actions
Video Audio → Add Audio
AI-generatedSummary
Add an audio track to a specified video, either replacing the original audio or mixing the new audio on top, with options to adjust volume, start time, delay, and duration of the audio clip.
Inputs
- Video Source (required) — URL or storage path of the input video to which audio will be added.
- Audio File (required) — URL or storage path of the audio file to add to the video.
- Audio Mode (required) — Specifies whether to replace the original audio track or mix the new audio with it.
- Output Format — Format of the resulting video file; defaults to MP4.
- How to Get the Result — Method to receive the processed video, such as direct download, public URL, temporary download link, or saving to storage only.
- Link Expires After (Seconds) — Expiration time in seconds for temporary download links (if applicable), defaulting to 3600 seconds.
- Advanced Settings — Optional collection including custom save path in storage.
- Audio Options — Collection of optional parameters to modify audio playback: volume (0 to 2), audio start offset, delay before audio starts in video, and maximum audio length.
Output shape
a single record containing JSON metadata and optionally binary video data
Returns the processed video according to the selected output type. If the output type is file or stored, binary data representing the video is returned. For URL outputs, a link string is returned. Supports specifying custom save paths and link expiration for temporary URLs.