Happyhorse โ
Endpoint: POST https://vod.intl.tencentcloudapi.comAction: CreateAigcVideoTask
Happyhorse is a video generation model that supports text-to-video, first-frame video generation, and multi-image reference generation with 1โ9 images. 1.0 also accepts a reference video; output ranges from 720P to 4K with durations of 3โ15 seconds.
Basic Information โ
| Item | Value |
|---|---|
| ModelName | H2 |
| ModelVersion | 1.1 / 1.0 |
| Default value | ModelVersion=1.1 / Resolution=1080P |
| Guardrail disable support | Supported |
Specifications Supported by Version โ
| Version | Resolution | Aspect ratio | Length |
|---|---|---|---|
1.1 | 720P / 1080P / 2K / 4K | 16:9 / 9:16 / 1:1 / 4:3 / 3:4 / 4:5 / 5:4 / 9:21 / 21:9 | 3~15 seconds, default 5 seconds |
1.0 | 720P / 1080P / 2K / 4K | 16:9 / 9:16 / 1:1 / 3:4 / 4:3 | 3~15 seconds, default 5 seconds |
Input Conditions โ
Text generation, a first-frame image, and 1~9 reference images are supported. Video reference is supported by 1.0.
Request Parameters โ
| Parameter | Required | Type | Description |
|---|---|---|---|
ModelName | Required | String | Fixed value H2 |
ModelVersion | Optional | String | 1.1 / 1.0 |
Prompt | Required | String | Generation prompt |
FileInfos.N | Optional | Array | Reference input. Usage is FirstFrame (first frame) or Reference (reference) |
OutputConfig.Resolution | Optional | String | 720P / 1080P / 2K / 4K |
OutputConfig.Duration | Optional | Integer | Video length (seconds) |
OutputConfig.AspectRatio | Optional | String | 16:9 / 9:16 / 1:1, etc. |
OutputConfig.InputComplianceCheck | Optional | String | Passing Disabled explicitly disables input moderation. Contact your sales representative before use |
OutputConfig.OutputComplianceCheck | Optional | String | Passing Disabled explicitly disables output moderation. Contact your sales representative before use |
Request Example โ
{
"SubAppId": 123456789,
"ModelName": "H2",
"ModelVersion": "1.1",
"Prompt": "a calm sunset over the ocean, cinematic",
"OutputConfig": {
"Resolution": "1080P",
"Duration": 5,
"AspectRatio": "16:9",
"StorageMode": "Temporary"
},
"SessionContext": "job-001"
}Response Example โ
{
"AigcVideoTask": {
"Status": "FINISH",
"ErrCode": 0,
"Progress": 100,
"Output": {
"FileInfos": [
{
"FileUrl": "http://<host>.vod2.myqcloud.com/.../aigcVideoGenFile.mp4",
"ExpireTime": "2026-08-01T10:29:48Z",
"MetaData": {
"Width": 1920,
"Height": 1080,
"Duration": 5.07,
"Container": "mov,mp4,m4a",
"Bitrate": 9494850
}
}
]
}
}
}Special Settings โ
Guardrail Disable โ
Input and output moderation can be configured separately.
To use the guardrail disable parameters, first contact your sales representative to confirm usage permission. Even on supported engines, guardrails are disabled only when the corresponding parameter is passed explicitly. If the parameter is omitted, guardrails are not disabled.
| Parameter | Disable value | Applies to |
|---|---|---|
OutputConfig.InputComplianceCheck | Disabled | Input moderation disabled |
OutputConfig.OutputComplianceCheck | Disabled | Output moderation disabled |
Merge the following settings into an existing generation request. To disable both input and output moderation, pass both fields together.
{
"OutputConfig": {
"InputComplianceCheck": "Disabled",
"OutputComplianceCheck": "Disabled"
}
}