POST /jobs/
curl -X POST -H "Authorization: Bearer um9VmyJKTPGFqpkL_THjGE5rkXqfURDYqQ8MTBVidG3PtwkfABIdx6s_z9WlFl4_j" -H "application/json" -d '{ \ "job": { \ "input": { \ "input_name": "uploads/ljDzFtXkNhBpYJ3K_RWL155oj7FWyriK/video02.mp4" \ }, \ "autograph": { \ "watermark_strength": "light" \ }, \ "user_data" : "My Personal Marker", "output_prefix": "{job_id}/", \ "playlists": [ { "playlist_name": "mymaster", "playlist_format": "HLS" } ], \ "outputs": [ \ { \ "output_name": "REAL6_A_", \ "thumbnails": [ \ { \ "thumbnail_names": "thumb_{resolution}", \ "thumbnail_preset": "thumbnails_small" \ } \ ], \ "logos": [ \ { \ "logo_image": "https://s3-us-east-1.amazonaws.com/my_logo_pngs/logo30.png", \ "logo_preset": "logo_30_bottom_right" \ } \ ], \ "settings": { \ "video": { \ "height": "100%", \ "width": "100%", \ "bitrate": "90%" \ }, \ "http_streaming" : { \ "playlist_format" : "HLS" \ } \ }, \ "preset": { id: "5260e39d84aea12008b69bc1" } \ } \ ], \ "pipeline": { id: "5475dc68e4b00d2b0f7a6100" } \ } \ }' "https://api.xvid.com/v1/jobs/?human=true&show_null=true" |
pipeline_id: References the pipeline on which to perform the Job. This specifies the input and output locations for the Job's input and output files as well as the notification scheme that applies to the Job.
outputs[]:settings:video:height (Optional ) : The width of the output video. Can be absolute value in pixels or relative in percentage.