Skip to main content
POST

Authorizations

Authorization
string
header
required

API Key authentication. Format: Bearer YOUR_API_KEY.

Body

application/json
first_frame_image
string
required

First frame image URL or Base64 Data URL

Minimum string length: 1
Example:

"https://example.com/image.jpg"

prompt
string

Video content description, supports camera control instructions

Required string length: 1 - 2000
Example:

"Ocean waves crashing on the beach"

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. Supports most options: 512P/768P/1080P

Available options:
512P,
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.