Skip to main content
POST
Generate video

Authorizations

Authorization
string
header
required

Bearer authentication using API key

Body

application/json

Request payload

Request format for video generation models

duration
enum<integer>
required

Fixed duration

Available options:
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15
model
enum<string>
required

Model name to use for the request

Available options:
alibaba/wan-2.7-i2v-uncensored
prompt
string
required

Text prompt for generation

size
enum<string>
required

Size

Available options:
720p,
1080p
audio
string

Input audio URL

end_image
string

End frame image URL for image-to-video generation

image
string

Input image for generation, it can be data URL or image URL

negative_prompt
string

Negative prompt to specify what should not appear in the generation

seed
integer

Random seed for generation

Required range: -1 <= x <= 2147483647
video
string

Input video URL

Response

200 - application/json

Successful response

Standard async task creation response

code
string
required

Status code returned by the service

Example:

"success"

data
object
required

Response payload containing task details

message
string
required

Additional information about the request result