← Back to all generators
lucataco/trim-video
OfficialView on Replicate →
Simple tool to quickly trim a video or audio file
Capabilities
No capability data available
Cost
Community model (estimated from hardware time)
Input Parameters
| Name | Type | Description | Default | Constraints |
|---|---|---|---|---|
video* | string(uri) | Input video file to trim | — | — |
duration | string | Duration to trim from start time (format: HH:MM:SS or MM:SS or seconds). Ignored if end_time is specified. | — | — |
end_time | string | End time for trimming (format: HH:MM:SS or MM:SS or seconds). If not specified, uses duration instead. | — | — |
output_format | string | Output video format | "mp4" | mp4movavimkvwebm |
quality | string | Video quality preset | "medium" | ultrafastsuperfastveryfastfasterfastmediumslowslowerveryslow |
remove_audio | boolean | Remove audio track from output video | false | — |
start_time | string | Start time for trimming (format: HH:MM:SS or MM:SS or seconds) | "00:00:00" | — |
videorequiredstringInput video file to trim
durationstringDuration to trim from start time (format: HH:MM:SS or MM:SS or seconds). Ignored if end_time is specified.
end_timestringEnd time for trimming (format: HH:MM:SS or MM:SS or seconds). If not specified, uses duration instead.
output_formatstringOutput video format
Default:
"mp4"mp4movavimkvwebm
qualitystringVideo quality preset
Default:
"medium"ultrafastsuperfastveryfastfasterfastmediumslowslowerveryslow
remove_audiobooleanRemove audio track from output video
Default:
falsestart_timestringStart time for trimming (format: HH:MM:SS or MM:SS or seconds)
Default:
"00:00:00"Version:
a58ed8021532Updated: 7/25/202681.6K runs
cinemasetfree.com