Request Headers
Supports:
application/jsonBearer authentication format, for example: Bearer {{API Key}}.
Request Body
Text prompt for video generation; Positive text prompt; Cannot exceed 2000 characters.
Input image supports both URL and Base64 format.
- Supported image formats include
jpeg,png,webp,bmp,tiff,gif. - The image file size cannot exceed 30MB.
- Its shorter side must be greater than 300 pixels, and its longer side must be less than 6,000 pixels.
- Its aspect ratio must be in the range of 0.4 to 2.5.
End image, supports both URL and Base64 format.
- Supported image formats include
jpeg,png,webp,bmp,tiff,gif. - The image file size cannot exceed 30MB.
- Its shorter side must be greater than 300 pixels, and its longer side must be less than 6,000 pixels.
- Its aspect ratio must be in the range of 0.4 to 2.5.
Video quality. Accepted values:
480p, 720p, 1080pThe aspect ratio of the generated video.
Accepted values:
21:9, 16:9, 4:3, 1:1, 3:4, 9:16, 9:21Determines if the camera position should remain fixed.
The random seed to use for the generation. -1 means a random seed will be used.
Specifies the length of the generated video in seconds. Available options:
5, 10Response
Use the task_id to request the Task Result API to retrieve the generated outputs.