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

# LtxvApiTextToVideo - ComfyUI Built-in Node Documentation

> The LTXV Text To Video node generates professional-quality videos from a text description.

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 and must contain 1 to 10,000 characters. | 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 true, the generated video will include AI-generated audio matching the scene (default: False). This is an advanced optional setting.            | 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.

**Note:** This node is deprecated.

## 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):** `8cf7409e46bb92abdff8a12e0d4ab49d67bb70e66c0c9074c9af99d1cf250df8`
