Authorizations
Bearer authentication header of the form Bearer <api_key>
, where <api_key>
is your API key. To get your API key, go to Developer Hub and click "Create new API Key".
Path Parameters
Unique ID of the video project. This value is returned by all of the POST APIs that create a video.
"cuid-example"
Response
Success
Unique ID of the video. This value can be used in the get video project API to fetch additional details such as status
"cuid-example"
The name of the video.
"Example Name"
The status of the video.
draft
, queued
, rendering
, complete
, error
, canceled
"complete"
The type of the video project. Possible values are ANIMATION, IMAGE_TO_VIDEO, VIDEO_TO_VIDEO, TEXT_TO_VIDEO, FACE_SWAP, LIP_SYNC, AUTO_SUBTITLE, TALKING_PHOTO
"FACE_SWAP"
The width of the final output video. A value of -1 indicates the width can be ignored.
512
The height of the final output video. A value of -1 indicates the height can be ignored.
960
Indicates whether the resource is deleted
The start time of the input video in seconds. This value is used to trim the input video. The value must be greater than 0.
x >= 0
0
The end time of the input video in seconds. This value is used to trim the input video. The value must be greater than 0.1, and more than the start_seconds.
x >= 0.1
15
Deprecated: Previously represented the number of frames (original name of our credit system) used for video generation. Use 'credits_charged' instead.
The amount of frames used to generate the video. If the status is not 'complete', the cost is an estimate and will be adjusted when the video completes.
450
The amount of credits deducted from your account to generate the video. If the status is not 'complete', this value is an estimate and may be adjusted upon completion based on the actual FPS of the output video.
If video generation fails, credits will be refunded, and this field will be updated to include the refund.
450
Frame rate of the video. If the status is not 'complete', the frame rate is an estimate and will be adjusted when the video completes.
30
In the case of an error, this object will contain the error encountered during video render
null
Deprecated: Please use .downloads
instead. The download url and expiration date of the video project