Skip to main content
POST
VIDU Q2 Pro Smart Multi-Frame
Generate coherent videos from multiple keyframe images. Supports three resolutions: 540p, 720p, and 1080p.
This is an asynchronous API and only returns the task_id of the asynchronous task. You should use this task_id to request the Get Task Result API to retrieve the generated result.

Request Headers

string
required
Enum value: application/json
string
required
Bearer authentication format: Bearer {{API Key}}.

Request Body

string
Watermark image URL. If watermarking is enabled but no custom watermark URL is provided, the default watermark is used. This parameter has no effect if no watermark is added.
string
Pass-through parameter. It is not processed in any way and is only transmitted as data. Up to 1048576 characters.
string
Metadata identifier, as a JSON-formatted string. Pass-through field.
boolean
default:false
Whether to add a watermark. true: add a watermark; false: do not add a watermark. Not added by default.
string
default:"720p"
Video resolution. Default is 720p.Allowed values: 540p, 720p, 1080p
string
required
First-frame image. Supports passing an image Base64 encoding or an image URL. Only 1 image is supported as input. Supports png, jpeg, jpg, and webp formats. The image aspect ratio must be within 1:4 to 4:1. Image size must not exceed 50 MB.
string
default:"bottom_left"
Watermark position. Defaults to bottom left. This parameter has no effect if no watermark is added.Allowed values: top_left, top_right, bottom_right, bottom_left
object[]
required
Keyframe configuration array. Each task requires at least 2 keyframes and supports up to 9 keyframes.Array length: 2 - 9

Response

string
required
Use task_id to request the Get Task Result API to retrieve the generated output.
string
Provider request ID (optional)