Domain name for API request: mps.intl.tencentcloudapi.com.
Clone a hit product. Input a reference video of a hit product and a product image to generate a video with aligned style and pace.
A maximum of 20 requests can be initiated per second for this API.
The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.
| Parameter Name | Required | Type | Description |
|---|---|---|---|
| Action | Yes | String | Common Params. The value used for this API: CloneViral. |
| Version | Yes | String | Common Params. The value used for this API: 2019-06-12. |
| Region | No | String | Common Params. This parameter is not required for this API. |
| VideoUrl | Yes | String | Viral video Url |
| Product | Yes | CloneViralProduct | Product information |
| AIGCParam | No | CloneViralAIGC | AIGC video-related parameters |
| ContentParam | No | CloneViralContent | Content/style-related parameters |
| Persona | No | CloneViralPersona | Model appearance |
| Parameter Name | Type | Description |
|---|---|---|
| Status | String | Task status. FAIL is returned on failure. |
| Message | String | Error message is returned on failure |
| TaskId | String | Returned task ID after the task is created successfully. The task progress and generation results can be obtained by calling the query API. |
| RequestId | String | The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. |
POST / HTTP/1.1
Host: mps.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: CloneViral
<Common request parameters>
{
"VideoUrl": "https://ie-mps-1258344699.cos-internal.ap-nanjing.tencentcos.cn/common/lauriehuang/viral/test/mianmo-demo-720p.mp4",
"Product": {
"Images": [
"https://ie-mps-1258344699.cos-internal.ap-nanjing.tencentcos.cn/common/lauriehuang/viral/test/%E6%B4%97%E9%9D%A2%E5%A5%B6-1.png"
]
}
}
{
"Response": {
"TaskId": "1300057393-ViralCloneAsync-bfea1147-48d4-418f-87b0-71ba350c38bc",
"RequestId": "bfea1147-48d4-418f-87b0-71ba350c38bc"
}
}
TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.
There is no error code related to the API business logic. For other error codes, please see Common Error Codes.
Apakah halaman ini membantu?
Anda juga dapat Menghubungi Penjualan atau Mengirimkan Tiket untuk meminta bantuan.
masukan