This is an asynchronous API; only the task_id will be returned. You should use the task_id to request the Task Result API to retrieve the video generation results.
Request Headers
Supports:
application/jsonBearer authentication format, for example: Bearer {{API Key}}.
Request Body
Positive text prompt that guides the video generation. Maximum length: 2500 characters.
Duration of the generated video in seconds.Available options:
5, 10Aspect ratio of the output video.Available options:
16:9, 9:16, 1:1Controls the adherence to the prompt. Higher values result in outputs that more strictly follow the prompt, while lower values allow for more creativity.Range: 0 to 1
Video generation mode. Supported values:
pro: Professional mode
Negative text prompt to specify elements to avoid in the output. Maximum length: 2500 characters.
Response
Use the task_id to request the Task Result API to retrieve the generated outputs.