Create transcoding job
/transcoder/jobsSubmit a video for transcoding. Pick the output quality ladder you need and we deliver the finished files to your storage.
Authorization
Bearer YOUR_API_TOKEN with an API token. The X-API-Key: YOUR_API_TOKEN header works too.
Request body
Properties (3)
"url""s3"length ≤ 2048Properties (6)
S3-compatible endpoint URL (omit for AWS S3)
length ≤ 512length ≤ 641 ≤ length ≤ 255Object key (input) or destination key prefix (output)
length ≤ 1024Default""length ≤ 255length ≤ 2048Properties (1)
Properties (6)
S3-compatible endpoint URL (omit for AWS S3)
length ≤ 512length ≤ 641 ≤ length ≤ 255Object key (input) or destination key prefix (output)
length ≤ 1024Default""length ≤ 255length ≤ 2048items ≥ 1Rangeitems ≤ 20Properties (11)
"h264""avc""h265""hevc""vp9""av1"Output height in pixels; 0 keeps the source
0 ≤ value ≤ 43200 ≤ value ≤ 63"ultrafast""superfast""veryfast""faster""fast""medium""slow""slower""veryslow"Maximum bitrate, e.g. 5M or 800k
pattern ^\d{1,6}(\.\d{1,3})?[kKmM]?$"file""hls""thumbnails""gif""mp4""webm""mkv"items ≤ 12Properties (5)
"h264""avc""h265""hevc""vp9""av1"Output height in pixels; 0 keeps the source
0 ≤ value ≤ 43200 ≤ value ≤ 63"ultrafast""superfast""veryfast""faster""fast""medium""slow""slower""veryslow"Maximum bitrate, e.g. 5M or 800k
pattern ^\d{1,6}(\.\d{1,3})?[kKmM]?$Seconds between thumbnails
1 ≤ value ≤ 3600GIF length in seconds
1 ≤ value ≤ 60GIF start offset
pattern ^(\d{1,6}(\.\d{1,3})?|(\d{1,2}:)?\d{1,2}:\d{1,2}(\.\d{1,3})?)$length ≤ 2048length ≤ 255Responses
Successful Response
application/json
queued, analyzing, encoding, finalizing, completed, failed, canceled
Source of the video {source, url, s3}. s3.secret_key is never returned
Destination storage {s3}. s3.secret_key is never returned
Requested outputs: {outputs: [OutputSpec, ...]}
Files produced by the job ([{type, bucket, key}]); null until the job finishes
Progress percentage (0-100)
Set when the job was created through a bulk submission