Skip to navigation

Get a video

A video job and its status. Once it’s completed, url links to the file until expires_at.

Authentication

AuthorizationBearer

Your API key, sk-..., from Console β†’ API keys.

Path parameters

idstringRequired
The video's id, as returned when it was started.

Response

The job.
idstringOptional
objectenumOptional
Allowed values:
modelstringOptional
statusenumOptional
Allowed values:
progressintegerOptional0-100
secondsstringOptional
sizestringOptional
created_atintegerOptional
Unix seconds.
completed_atinteger or nullOptional
expires_atinteger or nullOptional

Unix seconds when url stops working, or, without a url, when the video expires.

urlstringOptional

A direct link to the finished video, until expires_at.

errorobject or nullOptional

Errors

401
Unauthorized Error
404
Not Found Error