Skip to content

video ​

Type Aliases ​

Type AliasDescription
VideoFormatOne of the VIDEO_FORMATS values.
VideoQualityOne of the VIDEO_QUALITIES presets.
VideoResizeModeOne of the VIDEO_RESIZE_MODES values.

Variables ​

VariableDescription
cutCuts a fragment starting at startTime; length accepts a duration in the same time format or the end keyword.
formatOutput container/codec (CDN default mp4).
qualityOutput quality preset (CDN default normal).
sizeOutput frame size; each dimension must be a positive integer divisible by 4 (downscale only, output capped near 4K).
thumbsGenerates N thumbnails (1..50, CDN default 1); must be the last operation in the chain.
VIDEO_FORMATSOutput formats accepted by format.
VIDEO_QUALITIESQuality presets accepted by quality.
VIDEO_RESIZE_MODESResize modes accepted by size.

Functions ​

FunctionDescription
videoPathBuilds the domain-less conversion path /:uuid/video/-/.../ to submit to the REST API (POST /convert/video/). Not a URL — no domain involved.