Vidu Q Video Models
Authorizationstring*Replace {your api key} with your token
Token {your api key}modelstring*Model name, optional value: viduq3-pro
promptstring*Text prompt
Text description for generating the video.
Note: Character length cannot exceed 20000 characters
Authorizationstring*Replace {your api key} with your token
Token {your api key}idstring*Task ID, returned by the create task API upon successful creation
Authorizationstring*Replace {your api key} with your API key
Token {your api key}modelstring*Model name
Accepted values: viduq3-turbo
viduq3-turbo: Faster generation speed compared to viduq3-propromptstring*Authorizationstring*Replace {your api key} with your API key
Token {your api key}idstring*Task ID, returned by the Create Task API upon success
durationintegerVideo duration parameter, default value depends on the model:
seedintegerRandom seed
When not passed or passed as 0, a random number will be used instead
Manual setting uses the specified seed
aspect_ratiostringAspect ratio
Default 16:9, optional values: 16:9, 9:16, 3:4, 4:3, 1:1
resolutionstringResolution parameter, default value depends on the model and video duration:
audiobooleanWhether to use direct audio-video output capability, default is true, enumeration values:
payloadstringPassthrough parameter
No processing, only data transmission
Note: Maximum 1,048,576 characters
off_peakbooleanOff-peak mode, default: false, optional values:
callback_urlstringCallback protocol
You need to actively set callback_url when creating a task, the request method is POST. When the video generation task has a status change, Vidu will send a callback request containing the latest task status to this address. The callback request content structure is consistent with the response body of the query task API
The "status" returned by the callback includes the following states:
Text prompt
A textual description for video generation.
Note: Character length must not exceed 5000 characters.
durationintegerVideo duration parameter, default value depends on the model:viduq3-turbo: Default 5 seconds, available range: 1–16
seedintegerRandom seed
When not provided or set to 0, a random number is used; manually set values override the default
aspect_ratiostringAspect ratio parameter
Default: 16:9. Accepted values: 16:9, 9:16, 3:4, 4:3, 1:1
resolutionstringResolution parameter, default value depends on the model and video duration:viduq3-turbo (1–16s): Default 720p, available options: 540p, 720p, 1080p
audiobooleanWhether to use audio-video output capability. Default: true. Valid values:
payloadstringPass-through parameter
No processing, only data transmission
Note: Maximum 1,048,576 characters
off_peakbooleanOff-peak mode. Default: false. Valid values: true, false
callback_urlstringCallback protocol
You need to actively set callback_url when creating a task. The request method is POST. When the video generation task has a status change, Vidu will send a callback request containing the latest task status to this address. The callback request content structure is consistent with the response body of the Query Task API.
The "status" returned by the callback includes the following states:
application/jsonResponse fields
idstringTask ID
statestringProcessing status
Optional values:
created: Creation successful
queueing: Task queuing
processing: Task processing
success: Task succeeded
failed: Task failed
err_codestringError code, see error code table for details
creditsintegerNumber of credits consumed by this task, unit: credits
payloadapplication/jsonResponse fields
idstringTask ID
statestringProcessing status
Valid values:created – Created successfullyqueueing – Task queuedprocessing – Task being processedsuccess – Task succeededfailed – Task failed
err_codestringError code, see the error code table for details
application/jsonResponse fields
task_idstringTask ID generated by Vidu
statestringProcessing status
Optional values:
created: Creation successful
queueing: Task queuing
processing: Task processing
success: Task succeeded
failed: Task failed
modelstringModel name of this call
promptstringPrompt parameter of this call
durationintegerapplication/jsonResponse fields
task_idstringTask ID generated by Vidu
statestringProcessing status
Valid values:created – Created successfullyqueueing – Task queuedprocessing – Task being processedsuccess – Task succeededfailed – Task failed
modelstringModel name used for this call
Passthrough parameter passed in this task call
off_peakbooleanWhether off-peak mode is used in this task call
creationsarrayCreation results
idstringCreation ID, used to identify different creations
urlstringCreation URL, valid for 24 hours
cover_urlstringCreation cover image, valid for 24 hours
watermarked_urlstringWatermarked creation URL, valid for 24 hours
creditsNumber of credits consumed by this task, unit: credits
payloadstringPass-through parameter passed during this task call
off_peakbooleanWhether off-peak mode was used for this task call
creationsarrayGeneration results
idstringGeneration ID, used to identify different generations
urlstringGeneration URL, valid for 24 hours
cover_urlstringGeneration cover image, valid for 24 hours
watermarked_urlstringWatermarked generation URL, valid for 24 hours
Video duration parameter of this call
seedintegerRandom seed parameter of this call
aspect_ratiostringAspect ratio parameter of this call
resolutionstringResolution parameter of this call
payloadstringPassthrough parameter passed in this call
off_peakbooleanWhether off-peak mode is used in this call
creditsintegerNumber of credits used for this call
created_atstringTask creation time
promptPrompt parameter used for this call
durationintegerVideo duration parameter used for this call
seedintegerRandom seed parameter used for this call
aspect_ratiostringAspect ratio parameter used for this call
resolutionstringResolution parameter used for this call
payloadstringPass-through parameter used for this call
off_peakbooleanWhether off-peak mode was used for this call
creditsintegerNumber of credits consumed by this call
created_atstringTask creation time
curl --request POST \
--url 'https://api.vidu.com/ent/v2/text2video' \
--header 'Authorization: Token {your api key}' \
--header 'Content-Type: application/json' \
--data '{
"model": "viduq3-pro",
"prompt": "In an ultra-realistic fashion photography style featuring light blue and pale amber tones, an astronaut in a spacesuit walks through the fog. The background consists of enchanting white and golden lights, creating a minimalist still life and an impressive panoramic scene.",
"duration": 5,
"seed": 0,
"aspect_ratio": "4:3",
"resolution": "540p",
"audio": true,
"payload": "string",
"off_peak": true,
"callback_url": "string"
}'{
"task_id": "your_task_id_here",
"state": "created",
"model": "viduq3-pro",
"prompt": "In an ultra-realistic fashion photography style featuring light blue and pale amber tones, an astronaut in a spacesuit walks through the fog. The background consists of enchanting white and golden lights, creating a minimalist still life and an impressive panoramic scene.",
"duration": 5,
"seed": random_number,
"aspect_ratio": "4:3",
"resolution": "540p",
"payload":"",
"credits": credits_number,
"created_at": "2025-01-01T15:41:31.968916Z"
}curl --request GET \
--url 'https://api.vidu.com/ent/v2/tasks/{your_id}/creations' \
--header 'Authorization: Token {your api key}'{
"id":"your_task_id",
"state": "success",
"err_code": "",
"credits": 4,
"payload": "",
"creations": [
{
"id": "your_creations_id",
"url": "your_generated_results_url",
"cover_url": "your_generated_results_cover_url",
"watermarked_url": "your_generated_results_watermarked_url"
}
]
}curl --request POST \
--url 'https://api.vidu.com/ent/v2/text2video' \
--header 'Authorization: Token {your api key}' \
--header 'Content-Type: application/json' \
--data '{
"model": "viduq3-turbo",
"prompt": "In an ultra-realistic fashion photography style featuring light blue and pale amber tones, an astronaut in a spacesuit walks through the fog. The background consists of enchanting white and golden lights, creating a minimalist still life and an impressive panoramic scene.",
"duration": 5,
"seed": 0,
"aspect_ratio": "4:3",
"resolution": "540p",
"audio": true,
"payload": "string",
"off_peak": true,
"callback_url": "string"
}'{
"task_id": "your_task_id_here",
"state": "created",
"model": "viduq3-turbo",
"prompt": "In an ultra-realistic fashion photography style featuring light blue and pale amber tones, an astronaut in a spacesuit walks through the fog. The background consists of enchanting white and golden lights, creating a minimalist still life and an impressive panoramic scene.",
"duration": 5,
"seed": random_number,
"aspect_ratio": "4:3",
"resolution": "540p",
"payload":"",
"credits": credits_number,
"created_at": "2025-01-01T15:41:31.968916Z"
}curl --request GET \
--url 'https://api.vidu.com/ent/v2/tasks/{your_id}/creations' \
--header 'Authorization: Token {your api key}'{
"id":"your_task_id",
"state": "success",
"err_code": "",
"credits": 4,
"payload": "",
"creations": [
{
"id": "your_creations_id",
"url": "your_generated_results_url",
"cover_url": "your_generated_results_cover_url",
"watermarked_url": "your_generated_results_watermarked_url"
}
]
}