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/json
Bearer authentication format, for example: Bearer {{API Key}}.
Request Body
Text prompt for video generation.
- Maximum length: 2048 characters
- Clear description of desired scene and motion
Video aspect ratio. Default:
Accepted values:
16:9
Accepted values:
16:9
, 4:3
, 1:1
, 3:4
, 9:16
Video quality. Default:
Accepted values:
540p
Accepted values:
- fast_mode is false:
360p
,540p
,720p
,1080p
- fast_mode is true:
360p
,540p
,720p
Negative prompt for generation.
- Maximum length: 2048 characters
Whether to enable fast mode, which will generate videos more quickly but may reduce quality and lower the price.Default:
false
.Style preset (v3.5 only).
Accepted values:
Accepted values:
anime
, 3d_animation
, clay
, comic
, cyberpunk
The random seed to use for the generation.
Response
Use the task_id to request the Task Result API to retrieve the generated outputs.