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:

"Live concert with crowd cheering"

image_tail
string

Ending frame image URL or Base64 (mutually exclusive with motion brush)

Example:

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

negative_prompt
string

Negative prompt

Required string length: 1 - 2500
Example:

"silent, empty"

sound
enum<string>
default:on

Audio generation switch: on (enable) or off (disable). Only supported by V2.6.

Available options:
on,
off
Example:

"on"

voice_ids
string[]

Voice ID list for audio generation. Simplified flattened parameter. Only supported by V2.6.

Required array length: 1 - 10 elements

Voice ID string

Minimum string length: 1
Example:
mode
enum<string>
default:std

Generation mode: std or pro

Available options:
std,
pro
Example:

"pro"

static_mask
string

Static mask image for motion brush (mutually exclusive with image_tail)

Example:

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

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.