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
First frame of the video.
- Supported image formats include .jpg/.jpeg/.png
- The image file size cannot exceed 10MB
- The image resolution should not be less than 300*300px
- The aspect ratio of the image should be between 1:2.5 ~ 2.5:1
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.