Skip to main content
POST

Authorizations

Authorization
string
header
required

API Key authentication. Format: Bearer YOUR_API_KEY.

Body

application/json

Vidu Q2 multi-frame animation request. Supports up to 9 total frames (1 start + up to 8 key images).

start_image
string
required

First frame of the animation. Accepts a URL or base64 data URI.

Minimum string length: 1
Example:

"https://example.com/pose-1.jpg"

key_images
string[]
required

Subsequent frames to animate through (1-8 images). Combined with start_image, the total frame count must be 2-9. Accepts URLs or base64 data URIs.

Required array length: 1 - 8 elements
Minimum string length: 1
Example:
resolution
enum<string>
default:720p

Video resolution

Available options:
540p,
720p,
1080p
Example:

"1080p"

Response

Task submitted successfully

code
integer
required

Response code, 0 indicates success

Example:

0

message
string
required

Response message

Example:

"success"

data
object
required

Detailed data about the submitted asynchronous task.