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 content description, supports Chinese and English

Required string length: 1 - 2000
Example:

"A peaceful beach at sunset with gentle waves"

prompt_optimizer
boolean
default:true

Enable automatic prompt optimization

Example:

true

fast_pretreatment
boolean
default:false

Fast pretreatment mode (only effective when prompt_optimizer=true)

Example:

false

duration
enum<integer>
default:6

Video duration in seconds

Available options:
6,
10
Example:

6

resolution
enum<string>
default:768P

Video resolution

Available options:
768P,
1080P
Example:

"768P"

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.