For trimming (video and audio option) please use the
so (start offset) and
eo (end offset) parameters.
t (time) can be used for video to image transformation. For example, to get an image from the 3rd second of video, use
t_3 as an option and set the extension to
jpg in the URL:
To create a 2-second long trimmed video out of the original video starting from 2nd second, use
so_2,eo_2 in the URL.
so_2 indicates from which second (2) to start trimming and
eo_2 is making the trimmed video 2 seconds long:
To create a 2 second long trimmed audio from original audio starting at 1st second, use
so_1,eo_2 in the URL.
so_1 indicates at which second (1) to start trimming and
eo_2 makes the trimmed audio 2 seconds long:
Detailed instructions can be found on the docs page