gen4_turbo
How to Make a Call
API Schemas
Video Generation
post
Body
modelstring · enumRequiredPossible values:
promptstring · max: 1000Optional
The text description of the scene, subject, or action to generate in the video.
image_urlstring · uriRequired
A HTTPS URL or data URI containing an encoded image to be used as the first frame of the generated video.
tail_image_urlstring · uriOptional
A HTTPS URL or data URI containing an encoded image to be used as the last frame of the generated video.
aspect_ratiostring · enumOptionalDefault:
The aspect ratio of the generated video.
16:9Possible values: durationinteger · enumOptionalDefault:
The length of the output video in seconds.
5Possible values: seedinteger · max: 4294967295Optional
Varying the seed integer is a way to get different results for the same other request parameters. Using the same value for an identical request will produce similar results. If unspecified, a random number is chosen.
Responses
200Success
application/json
post
/v2/video/generations200Success
Retrieve the generated video from the server
get
Authorizations
AuthorizationstringRequired
Bearer key
Query parameters
generation_idstringRequiredExample:
<REPLACE_WITH_YOUR_GENERATION_ID>Responses
200Success
application/json
get
/v2/video/generations200Success
Full Example: Generating and Retrieving the Video From the Server

Last updated
Was this helpful?