Skip to main content
POST

Authorizations

Authorization
string
header
required

API Key authentication. Format: Bearer YOUR_API_KEY.

Body

application/json
prompt
string
required

Video description text, supports Chinese and English

Required string length: 1 - 2500
Example:

"Forest stream with flowing water and birds chirping"

negative_prompt
string

Negative prompt describing undesired elements

Required string length: 1 - 2500
Example:

"silent, empty, deserted"

sound
enum<string>
default:on

Audio generation switch: on (enable) or off (disable). Only supported by V2.6 and later versions.

Available options:
on,
off
Example:

"on"

mode
enum<string>
default:std

Generation mode: std (standard) or pro (professional)

Available options:
std,
pro
Example:

"pro"

aspect_ratio
enum<string>
default:16:9

Video aspect ratio

Available options:
16:9,
9:16,
1:1
Example:

"16:9"

duration
enum<integer>
default:5

Video duration in seconds

Available options:
5,
10
Example:

10

Response

Task submitted successfully

code
integer
required

Response code, 0 indicates success

Example:

0

message
string
required

Response message

Example:

"success"

data
object
required

Detailed data about the submitted asynchronous task.