⌘K

Vidu Q1 Classic - Image to Video

vidu-cn-img2video-viduq1-classic

Generate a video from a reference image with the Vidu Q1 Classic model.

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-img2video-viduq1-classic


input[].params.model string required

Upstream Vidu model value. Use viduq1-classic.


images array[string] required

Input image list. For image-to-video, provide one image as the starting frame. Public URLs and supported Base64 data URIs are accepted.


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. Options commonly include auto, small, medium, large.


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.