About Request Data Structure of Webhook
When the ‘Create Video of Custom Template’ interface is requested, if the ‘webhook_url’ is passed in the parameters, the program will initiate a POST request to this network address when the task succeeds or fails, with the following content: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 failedoutput
(string): The URL of the video if the job is done
Authorizations
API ID, from your settings page.
API Key, from your settings page.
Path Parameters
A UUID string identifying this Custom Template Job.
Body
Template ID associated with the job.
JSON data for the custom template.
Name of the video. Default is null.
255
Webhook URL for status updates. Default is null.
200
Model version for the avatar, 'standard', 'aurora_v1' or 'aurora_v1_fast'. Default is 'standard'. Standard model costs 5 credits per 30 seconds video, Aurora_v1 model costs 20 credits per 15 seconds video, and Aurora_v1_fast renders faster with lower quality for 10 credits per 15 seconds video.
standard
- Standardaurora_v1
- Aurora v1aurora_v1_fast
- Aurora v1 Fast
standard
, aurora_v1
, aurora_v1_fast
Response
JSON data for the custom template.
Video output URL
Preview URL
Editor URL for the video. Expires in 24 hours. Available only if your API account has API editor access enabled. , expires in 24 hours.
Failed reason
Credits used in this API call
Duration of the video in seconds
pending
- Pendingin_queue
- In Queuerunning
- Runningfailed
- Faileddone
- Donerejected
- Rejected
pending
, in_queue
, running
, failed
, done
, rejected
Progress of the job
Name of the video. Default is null.
255
Webhook URL for status updates. Default is null.
200
Model version for the avatar, 'standard', 'aurora_v1' or 'aurora_v1_fast'. Default is 'standard'. Standard model costs 5 credits per 30 seconds video, Aurora_v1 model costs 20 credits per 15 seconds video, and Aurora_v1_fast renders faster with lower quality for 10 credits per 15 seconds video.
standard
- Standardaurora_v1
- Aurora v1aurora_v1_fast
- Aurora v1 Fast
standard
, aurora_v1
, aurora_v1_fast