Happyhorse โ
Endpoint: POST https://mps.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 |
Supported Specifications 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 |
Supports multi-image reference and reference video.
Input Conditions โ
Supports text generation, first frame image, and reference image 1~9 images. Video reference is supported in 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. Maximum 2000 characters |
ImageUrl | Optional | String | First frame image URL. Must be externally accessible and 10MB or less |
LastImageUrl | Optional | String | Last frame image URL. Used together with ImageUrl |
ImageInfos.N | Optional | Array | Reference image array. Category / Url / ReferenceType, etc. |
VideoInfos.N | Optional | Array | Reference video array. Only works in 1.0 |
Duration | Optional | Integer | Generation length (seconds). Only allowed values per model are applied |
ExtraParameters | Optional | Object | Resolution / AspectRatio / EnableAudio |
AdditionalParameters | Optional | String | JSON string containing model-specific options. For the seed delivery format, see Additional configuration reference |
ExtraParameters.EnablelnputComplianceCheck | Optional | Boolean | If false is explicitly passed, input moderation is disabled. Contact your sales representative before use |
ExtraParameters.EnableOutputComplianceCheck | Optional | Boolean | If false is explicitly passed, output moderation is disabled. Contact your sales representative before use |
Request Example โ
Reference Generation โ
Reference video generation uses ModelVersion=1.0.
{
"ModelName": "H2",
"ModelVersion": "1.0",
"Prompt": "<<<image_1>>> dances in the rain",
"ImageInfos": [
{
"Category": "Image",
"Url": "https://<cdn>/ref1.png"
}
],
"Duration": 5,
"Operator": "admin",
"StoreCosParam": {
"CosBucketName": "<bucket-appid>",
"CosBucketRegion": "<bucket-region>",
"CosBucketPath": "/aigc/"
}
}Response Example โ
{
"Response": {
"Status": "DONE",
"Message": "ok",
"Resolution": "1920x1080",
"VideoUrls": [
"https://aigc-output-video-<id>.cos.<region>.myqcloud.com/<file>.mp4?q-sign-algorithm=sha1&..."
],
"RequestId": "<request-id>"
}
}Special Configuration โ
Guardrail Disable โ
Input and output moderation can be configured separately.
To use the guardrail disable parameters, you must first contact your sales representative to confirm usage permission. Even on supported engines, the guardrail is disabled only when the parameter is explicitly passed. If the parameter is omitted, it is not disabled.
| Parameter | Disable Value | Target |
|---|---|---|
ExtraParameters.EnablelnputComplianceCheck | false | Input moderation disabled |
ExtraParameters.EnableOutputComplianceCheck | false | Output moderation disabled |
Merge the following configuration into an existing generation request. To disable both input and output moderation, pass both fields together.
{
"ExtraParameters": {
"EnablelnputComplianceCheck": false,
"EnableOutputComplianceCheck": false
}
}