Skip to content
Vidu logo

Vidu Q3 Turbo

Text-to-VideoViduProxied

Vidu Q3 Turbo is a faster version of Vidu Q3 optimized for lower latency video generation while maintaining audio support and up to 16-second clips.

Model Info
Terms and Licenselink
More informationlink

Usage

TypeScript
const response = await env.AI.run(
'vidu/q3-turbo',
{
prompt: 'A cat lazily stretching on a sunlit windowsill',
},
{
gateway: { id: 'default' },
}
)
console.log(response)
Response 200

Examples

High Resolution — Generate at 1080p
TypeScript
const response = await env.AI.run(
'vidu/q3-turbo',
{
prompt:
'Close-up of a hummingbird feeding from a vibrant red flower, slow motion with soft bokeh background',
resolution: '1080p',
duration: 5,
},
{
gateway: { id: 'default' },
}
)
console.log(response)
Response 200
Portrait Video — Vertical video for mobile viewing
TypeScript
const response = await env.AI.run(
'vidu/q3-turbo',
{
prompt:
'A waterfall cascading down mossy rocks in a tropical jungle, mist rising',
aspect_ratio: '9:16',
duration: 5,
},
{
gateway: { id: 'default' },
}
)
console.log(response)
Response 200
Extended Duration — Longer video clip
TypeScript
const response = await env.AI.run(
'vidu/q3-turbo',
{
prompt:
'Timelapse of clouds rolling over a mountain peak from sunrise to sunset, dramatic lighting',
duration: 16,
resolution: '720p',
},
{
gateway: { id: 'default' },
}
)
console.log(response)
Response 200
Low Resolution Fast Preview — Quick preview at 540p
TypeScript
const response = await env.AI.run(
'vidu/q3-turbo',
{
prompt: 'A sailboat gliding across calm ocean waters at sunset',
resolution: '540p',
duration: 3,
},
{
gateway: { id: 'default' },
}
)
console.log(response)
Response 200

Parameters

prompt
stringmaxLength: 5000Text prompt describing what should appear in the video
start_image
stringStart image for video generation. Use alone for image-to-video, or with end_image for start/end-to-video. Accepts public URL or Base64 data URI (data:image/png;base64,...)
end_image
stringEnd image for start/end-to-video generation. Must be used together with start_image. Accepts public URL or Base64 data URI (data:image/png;base64,...)
duration
integerrequireddefault: 5minimum: 1maximum: 16Video duration in seconds (1-16)
resolution
stringrequireddefault: 720penum: 540p, 720p, 1080pVideo resolution
audio
booleanEnable audio-video synchronization. Default: true for Q3 models. When false, outputs silent video
aspect_ratio
stringenum: 16:9, 9:16, 3:4, 4:3, 1:1Video aspect ratio (text-to-video only). Default: 16:9

API Schemas

{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"prompt": {
"description": "Text prompt describing what should appear in the video",
"type": "string",
"maxLength": 5000
},
"start_image": {
"description": "Start image for video generation. Use alone for image-to-video, or with end_image for start/end-to-video. Accepts public URL or Base64 data URI (data:image/png;base64,...)",
"type": "string"
},
"end_image": {
"description": "End image for start/end-to-video generation. Must be used together with start_image. Accepts public URL or Base64 data URI (data:image/png;base64,...)",
"type": "string"
},
"duration": {
"description": "Video duration in seconds (1-16)",
"default": 5,
"type": "integer",
"minimum": 1,
"maximum": 16
},
"resolution": {
"description": "Video resolution",
"default": "720p",
"type": "string",
"enum": [
"540p",
"720p",
"1080p"
]
},
"audio": {
"description": "Enable audio-video synchronization. Default: true for Q3 models. When false, outputs silent video",
"type": "boolean"
},
"aspect_ratio": {
"description": "Video aspect ratio (text-to-video only). Default: 16:9",
"type": "string",
"enum": [
"16:9",
"9:16",
"3:4",
"4:3",
"1:1"
]
}
},
"required": [
"duration",
"resolution"
],
"additionalProperties": false
}