This endpoint generates a preview asynchronously before rendering the final video. Unlike the synchronous preview endpoint, this returns immediately with a 201 status and the job details. You can poll the job status using the GET endpoint. Generating a preview through this endpoint costs 1 credit for every 30 seconds.
POST /api/custom_template_jobs/preview/ endpoint blocks until the preview is ready and returns the completed result directly.
This async endpoint returns immediately with the job in a pending state. You should poll the job status using GET /api/custom_template_jobs/{id}/ until the status becomes done, then read the preview field from the response.
API ID, from your settings page.
API Key, from your settings page.
Template ID associated with the job.
JSON data for the custom template.
Name of the video. Default is null.
255Webhook URL for status updates. Default is null.
200Model 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 Faststandard, aurora_v1, aurora_v1_fast Whether the job should be hidden.
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 - Rejectedpending, in_queue, running, failed, done, rejected Progress of the job
Name of the video. Default is null.
255Webhook URL for status updates. Default is null.
200Model 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 Faststandard, aurora_v1, aurora_v1_fast Whether the job should be hidden.