Skip to content

Vidu Q2 Reference to Video Pro

POST/v1/run

Vidu Q2 Pro by Shengshu - animate still images into dynamic videos with AI. Transform photos into cinematic clips with natural motion, camera movement, and optional audio generation.

Request body

Submit an async generation request. The model field selects the model; other fields are model-specific input parameters.

stringmodelrequired

Model identifier. Set to vidu/q2/reference-to-video/pro.

Default: vidu/q2/reference-to-video/pro

stringpromptrequired

Text prompt for video generation, max 2000 characters

Optional<string>aspect_ratio

The aspect ratio of the generated image.

Allowed values: 21:9, 16:9, 3:2, 4:3, 5:4, 1:1, 4:5, 3:4, 2:3, 9:16

Optional<string>resolution

Output video resolution

Allowed values: 540p, 720p, 1080p

Default: 720p

Optional<integer>duration

Duration of the video in seconds (0 for automatic duration)

Range: 1 to 8

Default: 4

Optional<integer>seed

Random seed for reproducibility. If None, a random seed is chosen.

Optional<array<string>>reference_video_urls

URLs of the reference videos for video editing or motion reference. Supports up to 2 videos.

Optional<string>movement_amplitude

The movement amplitude of objects in the frame

Allowed values: auto, small, medium, large

Default: auto

Optional<boolean>bgm

Whether to add background music to the generated video

Default: false

Optional<array<string>>reference_image_urls

URLs of the reference images for subject appearance. If videos are provided, up to 4 images are allowed; otherwise up to 7 images.

Response Schema

The submit endpoint returns an accepted generation task. Poll the result endpoint with the returned id for terminal outputs or errors.

Optional<string>error

Error message if the task failed. Empty on success.

stringidrequired

Unique identifier for the generation task.

Optional<string>model

Model ID used for the prediction.

Optional<array>outputs

Array of generated content. Empty when status is not completed.

stringstatusrequired

Status of the task: pending, running, completed, failed, or timeout.

Allowed values: pending, running, completed, failed, timeout

Model capabilities

array<string>capability_tagsrequired

Capabilities declared by the model registry.

Default: image-to-video

stringexecution_moderequired

Execution mode declared by the model registry.

Default: async