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

# HappyHorseTextToVideoApi - ComfyUI Built-in Node Documentation

> Generates a video based on a text prompt using the HappyHorse model.

Generates a video based on a text prompt using the HappyHorse model. This node sends your prompt and settings to the HappyHorse API, waits for the video to be generated, and then downloads the result.

## Inputs

### Common Inputs

| Parameter   | Description                                                                                                                                                              | Data Type      | Required | Range                                          |
| ----------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -------------- | -------- | ---------------------------------------------- |
| `model`     | The HappyHorse model used for generation, along with its sub-parameters. Selecting a model determines which sub-parameters are available (see the model sections below). | DYNAMIC\_COMBO | Yes      | "happyhorse-1.1-t2v"<br />"happyhorse-1.0-t2v" |
| `seed`      | Seed to use for generation. Using the same seed with the same inputs will produce the same result. (default: 0).                                                         | INT            | Yes      | 0 to 2147483647                                |
| `watermark` | Whether to add an AI-generated watermark to the result. (default: False).                                                                                                | BOOLEAN        | Yes      | True / False                                   |

### happyhorse-1.1-t2v Inputs

| Parameter    | Description                                                                                      | Data Type | Required | Range                                                                                             |
| ------------ | ------------------------------------------------------------------------------------------------ | --------- | -------- | ------------------------------------------------------------------------------------------------- |
| `prompt`     | Prompt describing the elements and visual features. Supports English and Chinese. (default: ""). | STRING    | Yes      | -                                                                                                 |
| `resolution` | The resolution of the output video.                                                              | COMBO     | Yes      | "720P"<br />"1080P"                                                                               |
| `ratio`      | The aspect ratio of the output video.                                                            | COMBO     | Yes      | "16:9"<br />"9:16"<br />"1:1"<br />"4:3"<br />"3:4"<br />"21:9"<br />"9:21"<br />"5:4"<br />"4:5" |
| `duration`   | The length of the video in seconds. (default: 5, min: 3, max: 15, step: 1).                      | INT       | Yes      | 3 to 15                                                                                           |

### happyhorse-1.0-t2v Inputs

| Parameter    | Description                                                                                      | Data Type | Required | Range                                               |
| ------------ | ------------------------------------------------------------------------------------------------ | --------- | -------- | --------------------------------------------------- |
| `prompt`     | Prompt describing the elements and visual features. Supports English and Chinese. (default: ""). | STRING    | Yes      | -                                                   |
| `resolution` | The resolution of the output video.                                                              | COMBO     | Yes      | "720P"<br />"1080P"                                 |
| `ratio`      | The aspect ratio of the output video.                                                            | COMBO     | Yes      | "16:9"<br />"9:16"<br />"1:1"<br />"4:3"<br />"3:4" |
| `duration`   | The length of the video in seconds. (default: 5, min: 3, max: 15, step: 1).                      | INT       | Yes      | 3 to 15                                             |

Note: The prompt must not be empty; an error is raised if no prompt is provided. Both models support video durations from 3 to 15 seconds. The `happyhorse-1.1-t2v` model offers additional aspect ratios (`21:9`, `9:21`, `5:4`, `4:5`) that are not available with `happyhorse-1.0-t2v`.

## Outputs

| Output Name | Description               | Data Type |
| ----------- | ------------------------- | --------- |
| `VIDEO`     | 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/HappyHorseTextToVideoApi/en.md)

***

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