Skip to main content
POST

Authorizations

Authorization
string
header
required

API Key authentication. Format: Bearer YOUR_API_KEY.

Body

application/json
first_frame_url
string
required

First frame image URL (supports HTTP/HTTPS/Base64)

Example:

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

prompt
string

Video content description, recommend describing the transition process between frames

Required string length: 1 - 800
Example:

"Smooth transition from first to last frame"

last_frame_url
string

Last frame image URL (supports HTTP/HTTPS/Base64), optional

Example:

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

negative_prompt
string

Description of what to avoid in the output.

Maximum string length: 500
resolution
enum<string>
default:720P

Video resolution tier

Available options:
480P,
720P,
1080P
Example:

"720P"

duration
enum<integer>
default:5

Video duration in seconds, fixed value

Available options:
5
Example:

5

prompt_extend
boolean
default:true

Enable prompt intelligent rewriting

Example:

true

seed
integer

Random seed for reproducibility

Required range: 0 <= x <= 2147483647
Example:

42

Response

200 - application/json

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.