Skip to main content
POST
cURL

Body

application/json
model
string
required

Model name (viduq2-pro or viduq2-turbo)

callback_url
string

Callback URL for task status updates

duration
integer<int32>

Extended duration in seconds (1-7, default 5)

images
string[]

Extended reference image to the end frame (only accepts 1 image)

payload
string

Transparent transmission parameters (max 1048576 characters)

prompt
string

Text prompt for video generation (max 2000 characters)

resolution
string

Resolution (540p, 720p, 1080p)

video_creation_id
string

Vidu video_creation_id, required with video_url

video_url
string

Any video URL, required with video_creation_id

Response

OK

credits
integer<int32>
required
state
enum<string>
required
Available options:
created,
processing,
queueing,
success,
failed
task_id
string
required
created_at
string<date-time>
duration
integer<int32>
images
string[]
model
string
payload
string
prompt
string
resolution
string
video_creation_id
string
video_url
string