Skip to main content
POST

Authorizations

Authorization
string
header
required

API Key authentication. Format: Bearer YOUR_API_KEY.

Body

application/json
image
string
required

Starting frame image URL or Base64

Example:

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

prompt
string

Video generation prompt

Required string length: 1 - 2500
Example:

"Bustling night city with neon lights"

image_tail
string

Ending frame image URL or Base64

Example:

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

negative_prompt
string

Negative prompt

Required string length: 1 - 2500
Example:

"daytime, bright"

mode
enum<string>
default:std

Generation mode: std or pro

Available options:
std,
pro
Example:

"pro"

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.