> ## Documentation Index
> Fetch the complete documentation index at: https://docs.comfy.org/llms.txt
> Use this file to discover all available pages before exploring further.

# Vidu2TextToVideoNode - ComfyUI Built-in Node Documentation

> Complete documentation for the Vidu2TextToVideoNode node in ComfyUI. Learn its inputs, outputs, parameters and usage.

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):** `27b7c05ae1b3b23d07e775f67474ecef1ffc0bd8240f4aa2219e15949d854f27`
