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 generation prompt, supports Chinese and English (1-2500 characters)

Required string length: 1 - 2500
Example:

"Two characters walking together in a park, cinematic quality"

images
string[]
required

List of image URLs or Base64 strings (1-4 images). Simplified flattened parameter.

Required array length: 1 - 4 elements

Image URL or Base64 encoded string

Minimum string length: 1
Example:
negative_prompt
string

Negative prompt describing undesired elements (1-2500 characters)

Required string length: 1 - 2500
Example:

"blurry, low quality, distorted, static"

mode
enum<string>
default:std

Generation mode: std (standard, faster) or pro (professional, higher quality but longer processing)

Available options:
std,
pro
Example:

"std"

duration
enum<integer>
default:5

Video duration in seconds (5 or 10 seconds)

Available options:
5,
10
Example:

5

aspect_ratio
enum<string>
default:16:9

Video aspect ratio. Supported values: 16:9 (horizontal), 9:16 (vertical), 1:1 (square)

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

"16:9"

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.