You're looking at a specific version of this model. Jump to the model overview.
lucataco /trim-video:a58ed802
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
|
Input video file to trim
|
|
start_time |
string
|
00:00:00
|
Start time for trimming (format: HH:MM:SS or MM:SS or seconds)
|
end_time |
string
|
End time for trimming (format: HH:MM:SS or MM:SS or seconds). If not specified, uses duration instead.
|
|
duration |
string
|
Duration to trim from start time (format: HH:MM:SS or MM:SS or seconds). Ignored if end_time is specified.
|
|
output_format |
string
(enum)
|
mp4
Options: mp4, mov, avi, mkv, webm |
Output video format
|
quality |
string
(enum)
|
medium
Options: ultrafast, superfast, veryfast, faster, fast, medium, slow, slower, veryslow |
Video quality preset
|
remove_audio |
boolean
|
False
|
Remove audio track from output video
|
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'}