Domain name for API request: vod.intl.tencentcloudapi.com.
Creates media quality inspection template.
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: CreateQualityInspectTemplate. |
| Version | Yes | String | Common Params. The value used for this API: 2018-07-17. |
| Region | No | String | Common Params. This parameter is not required. |
| SubAppId | No | Integer | On-demand application ID. Customers who activate on-demand services from December 25, 2023 must fill this field with the app ID when accessing resources in on-demand applications (whether default or newly created). |
| Name | No | String | Audio and video quality inspection template name. |
| Comment | No | String | Audio and video quality inspection template description. |
| ScreenshotInterval | No | Float | Frame interception interval, unit: seconds, minimum value 1. If left blank, the default frame interval is 1 second. |
| JitterConfigure | No | JitterConfigureInfo | Control parameters for video frame jitter and ghosting detection. |
| BlurConfigure | No | BlurConfigureInfo | Control parameters for video frame blur detection. |
| AbnormalLightingConfigure | No | AbnormalLightingConfigureInfo | Control parameters for low-light and overexposure detection in video frames. |
| CrashScreenConfigure | No | CrashScreenConfigureInfo | Control parameters for screen glitch detection in video footage. |
| BlackWhiteEdgeConfigure | No | BlackWhiteEdgeConfigureInfo | Control parameters for video picture black edge, white edge, black screen, and white screen detection. |
| NoiseConfigure | No | NoiseConfigureInfo | Control parameters for video frame noise detection. |
| MosaicConfigure | No | MosaicConfigureInfo | Control parameters for video frame mosaic detection. |
| QRCodeConfigure | No | QRCodeConfigureInfo | Control parameters for video frame QR code detection. |
| VoiceConfigure | No | VoiceConfigureInfo | Audio (mute, bass, clipping) detection control parameters. |
| QualityEvaluationConfigure | No | QualityEvaluationConfigureInfo | Control parameters for video frame quality evaluation. |
| Parameter Name | Type | Description |
|---|---|---|
| Definition | Integer | Audio and video quality inspection template ID. |
| 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. |
Create an audio-visual quality inspection template.
POST / HTTP/1.1
Host: vod.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: CreateQualityInspectTemplate
<Common request parameters>
{
"SubAppId": 123,
"Name": "MyTemplate",
"Comment": "my template for jitter",
"JitterConfigure": {
"Switch": "ON"
}
}
{
"Response": {
"Definition": 20001,
"RequestId": "3c140219-cfe9-470e-b241-907873d6fb03"
}
}
TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.
The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.
| Error Code | Description |
|---|---|
| FailedOperation | Operation failed. |
| InternalError | Internal error. |
| InvalidParameterValue | Parameter value error. |
| LimitExceeded.TooMuchTemplate | Limit exceeded: The number of templates exceeds the upper limit of 100. If you need more, pleaseSubmit a ticket. |
Apakah halaman ini membantu?
Anda juga dapat Menghubungi Penjualan atau Mengirimkan Tiket untuk meminta bantuan.
masukan