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

# HappyHorseVideoEditApi - ComfyUI Built-in Node Documentation

> Edit a video using text instructions or reference images with the HappyHorse model.

Edit a video using text instructions or reference images with the HappyHorse model. Output duration is 3-15 seconds and matches the input video; inputs longer than 15 seconds are truncated.

## Inputs

### Common Inputs

| Parameter   | Description                                                                                                                                      | Data Type      | Required | Range                       |
| ----------- | ------------------------------------------------------------------------------------------------------------------------------------------------ | -------------- | -------- | --------------------------- |
| `model`     | The HappyHorse video editing model to use. This selection determines which prompt, resolution, ratio, and reference image options are available. | DYNAMIC\_COMBO | Yes      | "happyhorse-1.0-video-edit" |
| `video`     | The video to edit.                                                                                                                               | VIDEO          | Yes      | 3 to 60 seconds             |
| `seed`      | Seed to use for generation (default: 0).                                                                                                         | INT            | Yes      | 0 to 2147483647             |
| `watermark` | Whether to add an AI-generated watermark to the result (default: False). Advanced parameter.                                                     | BOOLEAN        | Yes      | True<br />False             |

### happyhorse-1.0-video-edit Inputs

| Parameter    | Description                                                                             | Data Type | Required | Range                                               |
| ------------ | --------------------------------------------------------------------------------------- | --------- | -------- | --------------------------------------------------- |
| `prompt`     | Editing instructions or style transfer requirements. Must be at least 1 character long. | STRING    | Yes      | -                                                   |
| `resolution` | The output resolution.                                                                  | COMBO     | Yes      | "720P"<br />"1080P"                                 |
| `ratio`      | Aspect ratio. If not changed, approximates the input video ratio.                       | COMBO     | Yes      | "16:9"<br />"9:16"<br />"1:1"<br />"4:3"<br />"3:4" |

### Reference Inputs

| Parameter          | Description                                                                             | Data Type | Required | Range         |
| ------------------ | --------------------------------------------------------------------------------------- | --------- | -------- | ------------- |
| `reference_images` | Growable slot: connect 0 to 5 reference images (`image1`...`image5`) to guide the edit. | IMAGE     | No       | 0 to 5 images |

**Note:** The input video must be 3 to 60 seconds long. The output duration is 3-15 seconds and matches the input video; input videos longer than 15 seconds are truncated. The `prompt` must be at least 1 character long.

## Outputs

| Output Name | Description              | Data Type |
| ----------- | ------------------------ | --------- |
| `video`     | The edited video output. | 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/HappyHorseVideoEditApi/en.md)

***

**Source fingerprint (SHA-256):** `396cad4b5a06d457746a421050df98c892fa9db6019e3de983b4d0c417842b57`
