You're looking at a specific version of this model. Jump to the model overview.
lucataco /video-audio-merge:8c3d57c9
Input schema
The fields you can use to run this model with an API. If you don’t give a value for a field its default value will be used.
Field | Type | Default value | Description |
---|---|---|---|
video_file |
string
|
Input video file (MP4, MOV, AVI, etc.)
|
|
audio_file |
string
|
Input audio file (MP3, WAV, AAC, etc.)
|
|
duration_mode |
string
(enum)
|
video
Options: video, audio |
How to handle duration when video and audio lengths differ
|
replace_audio |
boolean
|
True
|
Replace original audio completely (True) or mix with original audio (False)
|
audio_volume |
number
|
1
Max: 5 |
Audio volume multiplier (1.0 = original volume)
|
output_format |
string
(enum)
|
mp4
Options: mp4, mov, avi, mkv |
Output video format
|
video_codec |
string
(enum)
|
h264
Options: h264, h265, vp9, copy |
Video codec for output
|
audio_codec |
string
(enum)
|
aac
Options: aac, mp3, copy |
Audio codec for output
|
Output schema
The shape of the response you’ll get when you run this model with an API.
Schema
{'format': 'uri', 'title': 'Output', 'type': 'string'}