Skip to main content
POST

Authorizations

Authorization
string
header
required

Use Bearer Token authentication. Format: Authorization: Bearer sk-xxxxxx

Body

application/json
model
enum<string>
required

Public model name for Vidu. Vidu Q4 supports only image-to-video and reference-to-video with images; Q3/Q2/V2 retain their respective capabilities.

Available options:
viduq3-turbo,
viduq2,
vidu2.0,
vidu-q4,
vidu-q4-540p
Example:

"viduq3-turbo"

images
string<uri>[]
required

Image input. Single-image image-to-image generation produces 1 image; Vidu Q4 reference generation produces 1–15 images, with the images used as shared references. For legacy models, first/last frames and the number of references are used according to their respective capabilities.

Required array length: 1 element
Example:
prompt
string

Video generation prompt; required for text-to-video, and optional for image-to-video, first-and-last-frame-to-video, and reference-to-video, depending on business needs.

Example:

"A cinematic product ad with smooth camera motion"

videos
string<uri>[]

Video subject input is available only for legacy model capabilities; Vidu Q4 does not support reference videos.

subjects
object[]

Enter in the same format as the video subject library reference generation input. It can include fields such as subject name, images, videos, or voice timbre.

auto_subjects
boolean
duration
integer

Video duration, in seconds. viduq3-turbo Commonly 5 seconds; set it within the official range.

Example:

5

resolution
enum<string>

Output resolution, common values 540p, 720p, and 1080p.

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

"720p"

aspect_ratio
enum<string>

Output aspect ratio, commonly used for text-to-video/reference-to-video generation, such as 16:9, 9:16, and 1:1.

Available options:
16:9,
9:16,
4:3,
3:4,
1:1
Example:

"16:9"

seed
integer

Random seed.

movement_amplitude
enum<string>

Motion range, common values auto, small, medium, large.

Available options:
auto,
small,
medium,
large
Example:

"auto"

audio
boolean

Whether to enable direct audio/video output.

audio_urls
string<uri>[]

Vidu Q4 reference audio: up to 3 MP3 clips, each 3–12 seconds and no larger than 50 MB; separate from the audio boolean switch.

Maximum array length: 3
audio_type
enum<string>
Available options:
all,
speech_only,
sound_effect_only
voice_id
string
is_rec
boolean
bgm
boolean
payload
string
off_peak
boolean

Whether to use staggered generation.

watermark
boolean

Whether to add a watermark.

wm_position
enum<integer>
Available options:
1,
2,
3,
4
wm_url
string<uri>
callback_url
string<uri>

Response

200 - application/json

Task created successfully

task_id
string
required

The task ID returned when creating a task, used to query the task.

state
enum<string>
required

Task status. Common values: created, queueing, processing, success, failed.

Available options:
created,
queueing,
processing,
success,
failed
model
string
prompt
string
images
string[]
duration
integer
resolution
string
created_at
string
creations
string