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, supports camera control instructions (e.g., 'close-up shot', 'tracking shot', 'pan left/right', 'zoom in/out', 'tilt up/down')

Required string length: 1 - 2000
Example:

"A cat playing in the garden under sunny day"

prompt_optimizer
boolean
default:true

Enable automatic prompt optimization to improve video quality

Example:

true

fast_pretreatment
boolean
default:false

Fast pretreatment mode (only effective when prompt_optimizer=true). Speeds up processing with slight quality trade-off

Example:

false

duration
enum<integer>
default:6

Video duration in seconds. Note: 10 seconds only supports 768P resolution

Available options:
6,
10
Example:

6

resolution
enum<string>
default:768P

Video resolution. Note: 10 seconds duration only supports 768P

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.