The Vidu2 Text-to-Video Generation node creates a video from a text description. It connects to an external API to generate video content based on your prompt, allowing you to control the video's length, visual style, and format.

## Inputs

| Parameter | Description | Data Type | Required | Range |
| --- | --- | --- | --- | --- |
| `model` | The AI model to use for video generation. Currently, only one model is available. | COMBO | Yes | `"viduq2"` |
| `prompt` | A textual description for video generation, with a maximum length of 2000 characters. | STRING | Yes | - |
| `duration` | The length of the generated video in seconds. The value can be adjusted using a slider (default: 5). | INT | No | 1 to 10 |
| `seed` | A number used to control the randomness of the generation, allowing for reproducible results. It can be controlled after generation (default: 1). | INT | No | 0 to 2147483647 |
| `aspect_ratio` | The proportional relationship between the video's width and height. | COMBO | No | `"16:9"`<br>`"9:16"`<br>`"3:4"`<br>`"4:3"`<br>`"1:1"` |
| `resolution` | The pixel dimensions of the generated video. This is an advanced parameter. | COMBO | No | `"720p"`<br>`"1080p"` |
| `background_music` | Whether to add background music to the generated video (default: False). This is an advanced parameter. | BOOLEAN | No | - |

## Outputs

| Output Name | Description | Data Type |
| --- | --- | --- |
| `output` | The generated video file. | VIDEO |

> This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! [Edit on GitHub](https://github.com/Comfy-Org/embedded-docs/blob/main/comfyui_embedded_docs/docs/Vidu2TextToVideoNode/en.md)

---
**Source fingerprint (SHA-256):** `eec93de5d781474f919001a4d78525d80478852424506fae245f445d1ef3b0ee`
