Skip to navigation

Media · Video · Compress a video

View as Markdown

Reduce a video file size. compression_factor is passed to the existing compressor (typical value 1.5). Returns task_id; getTaskResult retrieves the output.

Authentication

AuthorizationApi-Key

Header authentication of the form Api-Key <token>

OR
AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
video_urlstringRequiredformat: "uri"
compression_factordoubleRequired

Response

Resource or asynchronous submission result.
task_idstringOptional

Poll GET /api/v1/tasks/{task_id} until SUCCESS or FAILURE.