> ## 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.

# HappyHorseTextToVideoApi - ComfyUI Built-in Node Documentation

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

> 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)

## Overview

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

| Parameter   | Data Type | Required | Range           | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| ----------- | --------- | -------- | --------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `model`     | DICT      | Yes      | See Description | A dictionary containing the model selection and its associated parameters. The model must be `"happyhorse-1.0-t2v"`. This dictionary includes the following sub-parameters:<br /><br />**`prompt`** (STRING): The text description of the video you want to generate. Supports English and Chinese. (default: "").<br />**`resolution`** (COMBO): The resolution of the output video. Options: `"720P"`<br />`"1080P"`.<br />**`ratio`** (COMBO): The aspect ratio of the output video. Options: `"16:9"`<br />`"9:16"`<br />`"1:1"`<br />`"4:3"`<br />`"3:4"`.<br />**`duration`** (INT): The length of the video in seconds. (default: 5, min: 3, max: 15, step: 1). |
| `seed`      | INT       | Yes      | 0 to 2147483647 | Seed to use for generation. Using the same seed with the same inputs will produce the same result. (default: 0).                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| `watermark` | BOOLEAN   | No       | True / False    | Whether to add an AI-generated watermark to the result. (default: False).                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |

## Outputs

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

***

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