Skip to navigation

Media · Video · Convert video to a different format

View as Markdown

Convert a video to a different container/format via output_format (e.g. mp4, mov, webm, gif). Changes format only — not resolution or content. Async — returns a task_id (auto-polled).

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_urlstringRequired
URL of the source video.
output_formatenumOptional
Target container format. Default mp4.

Response

Async task queued.
task_idstringOptional

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