Overview
Edit a video using text instructions or reference images with the HappyHorse model. The output duration is 3-15 seconds and matches the input video; inputs longer than 15 seconds are truncated.Inputs
| Parameter | Description | Data Type | Required | Range |
|---|---|---|---|---|
model | Model configuration containing the model selection, prompt, resolution, aspect ratio, and optional reference images. | DICT | Yes | See below |
video | The video to edit. | VIDEO | Yes | - |
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). | BOOLEAN | No | True / False |
model Parameter Details
The model parameter is a dictionary with the following fields:
| Field | Description | Data Type | Required | Range |
|---|---|---|---|---|
model | The HappyHorse video editing model to use. | STRING | Yes | "happyhorse-1.0-video-edit" |
prompt | Editing instructions or style transfer requirements. Must be at least 1 character long. | STRING | Yes | - |
resolution | The output resolution. | STRING | Yes | "720P""1080P" |
ratio | Aspect ratio. If not changed, approximates the input video ratio. | STRING | Yes | "16:9""9:16""1:1""4:3""3:4" |
reference_images | Optional reference images (image1, image2, image3, image4, image5) to guide the edit. | DICT | No | 0 to 5 images |
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
Source fingerprint (SHA-256):
eadb446a8dbcc524a8bb6a2ee48941136f8c1ec2cb64aa9061fb1fa22e1b683d