reference_to_video
Create a Vidu video generation task on RunAPI from prompt and reference images, returning task ID, status, and output URLs.
Instructions
Create a Vidu task on RunAPI (reference to video). Returns a task id, status, and output URLs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wait | No | Poll until the task reaches a terminal status. | |
| audio | No | Generate synchronized audio. False produces a silent video. Declared type: boolean. | |
| model | No | RunAPI model slug for this model line. | |
| prompt | Yes | Video description, up to 20,000 characters. Declared type: string. | |
| timeout_ms | No | ||
| aspect_ratio | No | Output video aspect ratio. Declared type: string. Known values: "16:9", "9:16", "1:1", "4:3", "3:4". | |
| callback_url | No | RunAPI customer callback URL for the terminal task result. Declared type: string. | |
| duration_seconds | No | Video duration in seconds. Declared type: integer. | |
| poll_interval_ms | No | ||
| output_resolution | No | Output video resolution. Declared type: string. Known values: "540p", "720p", "1080p", "2k", "4k". | |
| reference_audio_urls | No | Up to 3 HTTP(S) URLs of MP3 references, each 3 to 12 seconds and up to 50 MB. The provider validates the remote files. Declared type: array. | |
| reference_image_urls | Yes | Ordered HTTP(S) URLs of 1 to 15 JPG, JPEG, PNG or WEBP reference images. The provider validates the remote files. Declared type: array. |