Skip to main content
POST

Authorizations

Authorization
string
header
required

API Key authentication. Format: Bearer YOUR_API_KEY.

Body

application/json

Vidu Q2 digital human request.

image_url
string
required

Portrait image URL or base64 data URI

Minimum string length: 1
Example:

"https://example.com/portrait.jpg"

prompt
string

Motion or speech description for the digital human

Required string length: 1 - 2000
Example:

"Presenter speaks confidently, making eye contact with the camera"

audio_url
string

Audio file URL. When provided, the digital human's lip movements will synchronize to this audio track.

Minimum string length: 1
Example:

"https://example.com/speech.mp3"

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.