⌘K

Vidu Q2 Turbo - Multi-frame

vidu-cn-multiframe-viduq2-turbo

Generate a video from multiple keyframes with subject and scene consistency.

Authentication

authorization string required

All APIs require authentication via Bearer Token.

Get API Key:

Visit API Key Management Page to get your API Key.

Usage:

Add to request header:

Authorization: Bearer YOUR_API_KEY

Parameters

model string required

Customer-facing model ID used for the request.

Value: vidu-cn-multiframe-viduq2-turbo


input[].params.model string required

Upstream Vidu model value. Use viduq2-turbo.


images array[string] required

Multiple keyframe images used to guide video generation.


prompt string

Text description for video generation.


duration integer

Video duration in seconds.


resolution string

Video resolution, for example 720p.


movement_amplitude string

Motion amplitude.


callback_url string

Callback URL for asynchronous task notifications.


Polling

Since result generation takes time, you need to poll the task status after creating the task.

The initial response only returns information such as the task ID and initial status. The final result must be obtained by polling the task status endpoint using the task ID.

See the examples on the right for polling requests and responses.

Response Format

error object

Error information, only present when status is failed.

code string

Error code

message string

Detailed error message


output array

Generation results, present when the request succeeds.

content array

List of generated resource content

type string

Resource type.

Value: video

url string

Generated resource URL. Text utility endpoints may return a text field instead of a URL.

jobId string

Upstream task ID.


usage object

Usage statistics, present when the request succeeds.

cost string

Total cost in USD.

discount number

Discount amount.


metadata object

Metadata information.