Vidu Q4 Reference to Video
/v1/runVidu Q4 Preview by Shengshu builds a 3 to 16 second video at up to 4K from up to 12 reference images and 3 voice clips, keeping characters, products, and voices consistent across the clip.
Request body
Submit an async generation request. The model field selects the model; other fields are model-specific input parameters.
Model identifier. Set to vidu/q4/reference-to-video.
Default: vidu/q4/reference-to-video
Text prompt for video generation, max 5000 characters. Refer to references by position: [@reference_image_1], [@reference_image_2], ... for images and [reference_audio_1], [reference_audio_2], ... for audio clips.
URLs of 1 to 12 reference images (png, jpeg, jpg, webp) used to keep characters, products, objects, or locations consistent.
URLs of up to 3 mp3 reference audio clips (3-12 seconds each, max 50 MB) used to keep voices consistent.
The aspect ratio of the output video.
Allowed values: 16:9, 9:16, 4:3, 3:4, 1:1
Default: 16:9
Whether to generate audio (dialogue and sound effects) with the video. When false, the output video is silent.
Default: true
Output video resolution. Sets the per-second rate.
Allowed values: 540p, 720p, 1080p, 2K, 4K
Default: 720p
Duration of the video in seconds (3-16)
Range: 3 to 16
Default: 5
Random seed for reproducibility. If None, a random seed is chosen.
Response Schema
The submit endpoint returns a run response. If its status is pending or running, poll GET /v1/run/{id} with the returned opaque ID until it reaches a terminal state.
Opaque SandBase run identifier. Use it exactly as returned; no prefix is guaranteed.
Current public run status.
Allowed values: pending, running, completed, failed, timeout
Public SandBase model name used for this run.
Present only for completed runs. Each object is capability-specific; inspect the selected model schema for its fields.
Present only for failed or timeout runs. Contains a public error type and sanitized message.
Stable public error category.
Sanitized error message safe to show to clients.
Usage details when available.
Model capabilities
Capabilities declared by the model registry.
Default: reference-to-video
Execution mode declared by the model registry.
Default: async