# HappyHorse Text to Video

## 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 | Description | Data Type | Required | Range |
|-----------|-------------|-----------|----------|-------|
| `model` | 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). | DICT | Yes | See Description |
| `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 | No | True / False |

## 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):** `2ef0dbac9a3c35ca67364530a9c6bb4693266e093456dc1a2c95e499b3b2d493`
