Link to videos
Render a video from the list of Previews
This endpoint renders a video from the list of previews generated by Generate a list of Previews Async API. Rendering a video through this endpoint costs 4 credits for every 30 seconds.
POST
About media_job parameter in request body
media_job
is the unique identifier of a preview video url. You can get it from the previews field.
About Request Data Structure of Webhook
If the ‘webhook_url’ is passed in the parameters, we will initiate a POST request to the webhook_url
when the task succeeds or fails, with the following content:
Arguments:
id
(string): The unique identifier of the jobstatus
(string): The status of the job. Possible values arepending
,in_queue
,running
,failed
,done
failed_reason
(string): The reason of the failure if the job failedvideo_output
(string): The URL of the video if the job is donevideo_thumbnail
(string): The Thumbnail URL of the video if the job is done
Note: We might send multiple requests for status changes.
Authorizations
API ID, from your settings page.
API Key, from your settings page.
Path Parameters
A UUID string identifying this Link to Video.
Body
Response
200 - application/json
The response is of type object
.