> ## Documentation Index
> Fetch the complete documentation index at: https://dripart-mintlify-b90d3c69.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# LtxvApiTextToVideo - ComfyUI Built-in Node Documentation

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

The LTXV Text To Video node generates professional-quality videos from a text description. It connects to an external API to create videos with customizable duration, resolution, and frame rate. You can also choose to have AI-generated audio added to the video.

## Inputs

| Parameter        | Description                                                                                                                 | Data Type | Required | Range                                                                    |
| ---------------- | --------------------------------------------------------------------------------------------------------------------------- | --------- | -------- | ------------------------------------------------------------------------ |
| `model`          | The AI model to use for video generation. "LTX-2 (Pro)" offers higher quality, while "LTX-2 (Fast)" is optimized for speed. | COMBO     | Yes      | `"LTX-2 (Pro)"`<br />`"LTX-2 (Fast)"`                                    |
| `prompt`         | The text description that the AI will use to generate the video. This field supports multiple lines of text.                | STRING    | Yes      | -                                                                        |
| `duration`       | The length of the generated video in seconds (default: 8).                                                                  | COMBO     | Yes      | `6`<br />`8`<br />`10`<br />`12`<br />`14`<br />`16`<br />`18`<br />`20` |
| `resolution`     | The pixel dimensions (width x height) of the output video.                                                                  | COMBO     | Yes      | `"1920x1080"`<br />`"2560x1440"`<br />`"3840x2160"`                      |
| `fps`            | The frames per second for the video (default: 25).                                                                          | COMBO     | Yes      | `25`<br />`50`                                                           |
| `generate_audio` | When enabled, the generated video will include AI-generated audio matching the scene (default: False).                      | BOOLEAN   | No       | -                                                                        |

**Important Constraints:**

* The `prompt` must be between 1 and 10,000 characters long.
* If you select a `duration` greater than 10 seconds, you must also use the `"LTX-2 (Fast)"` model, a resolution of `"1920x1080"`, and an `fps` of `25`. This combination is required for longer videos.

## 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/LtxvApiTextToVideo/en.md)

***

**Source fingerprint (SHA-256):** `8da5616f195dc4dea7d46d56b71dead6fb7a5dfa74bb7d8909bf6bd792540feb`
