Media > Add Audio to Video
Add Audio to Video
Replace or add an audio track to a video.
Examples
curl -X POST https://api.medux.io/api/app/v1/process/video/add_audio_to_video \
-H 'Authorization: Bearer $MEDUX_API_KEY' \
-H 'Content-Type: application/json' \
-d '{"audio_file_id":"AUDIO_FILE_ID","model_id":"add-audio-to-video-default","video_file_id":"FILE_ID"}'Media Samples
Approved examples for understanding request inputs, response shape, and official example output.
Official add audio to video sample
This example uses add-audio-to-video-default.
Sample request
Example input for this capability.
Sample response
Official example output for preview only. It is not a user Media Result.
Example output
Auth Requirements
Authentication is required via Authorization header.
Preconditions
Upload the source file and create a file reference before calling this endpoint.
Successful requests return a Medux task record immediately. Use the task query or sync endpoints to track completion.
All file inputs must be uploaded and persisted as file references before submission.
Request
Body
application/jsonAuthorizationstringrequiredBearer token or API key.
Location: HEADER
video_file_idstringrequiredInput video file_id.
Location: BODY
audio_file_idstringrequiredInput audio file_id.
Location: BODY
model_idstringoptionalModel Default: add-audio-to-video-default.
Location: BODY
titlestringoptionalOptional task title.
Location: BODY
Response
Response
application/jsonMCP Tool
This endpoint is also available through the Medux-hosted remote MCP service.
Add Audio to Video
Replace or add an audio track to a video.
Invocation Example
Replace or add an audio track to a video.
On this page