You're looking at a specific version of this model. Jump to the model overview.

magpai-app /cog-autoeditor:59b89b7a

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
string
Video to edit
margin
string
0.3sec
Margin to add silence between cuts
audioThreshold
integer
30
Cut out sections where percentage of volume is less than this value.
motionThreshold
integer
6
Cut out sections where percentage of motion is less than this value.
trimStart
number
0
Trim start of video (seconds)
trimEnd
number
0
Trim end of video (seconds)

Output schema

The shape of the response you’ll get when you run this model with an API.

Schema
{'properties': {'video': {'format': 'uri', 'title': 'Video', 'type': 'string'}},
 'required': ['video'],
 'title': 'Output',
 'type': 'object'}