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:
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15
image
string
required

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

model
enum<string>
required

Model name to use for the request

Available options:
pixverse/pixverse-c1-i2v
prompt
string
required

Text prompt for generation

size
enum<string>
required

Size

Available options:
360p,
540p,
720p,
1080p
audio_enable
boolean

Whether to generate audio along with video

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

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