Slow motion - Multipart

POST {{video-api-server}}/slow-motion/upload?start_time=00:00:05&end_time=00:00:15

This endpoint allows the user to upload a video and specify the start and end time for creating a slow-motion effect.

Request Params

KeyDatatypeRequiredDescription
start_timestringTime from the input video where the slow motion effect should start, specified as <code>HH:MM:SS.MS</code>.
end_timestringTime from the input video where the slow motion effect should end, specified as <code>HH:MM:SS.MS</code>.
cropstringwidth,height,x,y
  • width, height: Sides in pixels of the cropped window

  • x, y: Top-left coordinates to align the crop window's top-left corner (optional, default = 0, 0) | | resize | string | | width,height

  • Target size of the converted video. If only one value is specified, it is interpreted as height and the aspect ratio is kept. | | rotate | number | | Degrees to rotate to:

  • Positive values rotate clockwise

  • Negative - counterclockwise |

Request Body

[{"name"=>"file", "value"=>nil, "datatype"=>"null"}]

HEADERS

KeyDatatypeRequiredDescription
Filerobot-TokenstringFilerobot project identifier, aka token
Filerobot-KeystringFilerobot API key

RESPONSES

status: OK

{&quot;status&quot;:&quot;ok&quot;,&quot;version&quot;:2.14,&quot;result&quot;:[{&quot;uuid&quot;:&quot;ec475bda-888a-4ed4-bd82-52265e46c415&quot;,&quot;file&quot;:&quot;big_buck_bunny&quot;,&quot;slow_motion&quot;:&quot;https://fbmjmuoeb.filerobot.com/https://filerobot.s3.eu-west-3.amazonaws.com/fbmjmuoeb/slow_motion_videos/xYlQV_big_buck_bunny/big_buck_bunny_slow_motion.mp4&quot;,&quot;sha1&quot;:&quot;0181d7880acf0c443a57cd2510a5b81447fa577e&quot;,&quot;progress&quot;:&quot;https://api.filerobot.com/fbmjmuoeb/v4/video-status/ZXUtb3YtNzA2LWdyYTIuZWxhc3RpYy11cGxvYWRlci5haXJzdG9yZS5zY2FsM2ZsM3guY29tOjg3MzI__ec475bda-888a-4ed4-bd82-52265e46c415&quot;}]}