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".
Body
Body
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
Provide the assets for video-to-video. For video, The video_source
field determines whether video_file_path
or youtube_url
field is used
The name of video. This value is mainly used for your own identification of the video.
"Video To Video video"
height
is deprecated and no longer influences the output video's resolution.
Output resolution is determined by the minimum of:
- The resolution of the input video
- The maximum resolution allowed by your subscription tier. See our pricing page for more details.
This field is retained only for backward compatibility and will be removed in a future release.
width
is deprecated and no longer influences the output video's resolution.
Output resolution is determined by the minimum of:
- The resolution of the input video
- The maximum resolution allowed by your subscription tier. See our pricing page for more details.
This field is retained only for backward compatibility and will be removed in a future release.
Determines whether the resulting video will have the same frame per second as the original video, or half.
FULL
- the result video will have the same FPS as the input videoHALF
- the result video will have half the FPS as the input video
FULL
, HALF
"HALF"
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"
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