Custom Templates
Generate Preview of Custom Template Video
This endpoint generates a preview before rendering the final video. Generating a preview through this endpoint costs 1 credit for every 30 seconds.
POST
About preview Field in the Response
The preview field provides a link to preview the video. This link allows you to preview the video before rendering it, you can put it in an iframe to show the video in your application. Example: The preview field in the response will look like this:
Authorizations
API ID, from your settings page.
API Key, from your settings page.
Body
Maximum length:
256
Name of the video. Default is null.
Maximum length:
255
Webhook URL for status updates. Default is null.
Maximum length:
200
Response
200 - application/json
Failed reason
Credits used in this api call
pending
- Pendingin_queue
- In Queuerunning
- Runningfailed
- Faileddone
- Donerejected
- Rejected
Available options:
pending
, in_queue
, running
, failed
, done
, rejected
Maximum length:
256
Name of the video. Default is null.
Maximum length:
255
Webhook URL for status updates. Default is null.
Maximum length:
200