tencent cloud

APIs

ModifyQualityInspectTemplate

Download
Focus Mode
Font Size
Last updated: 2026-09-18 16:50:04

1. API Description

Domain name for API request: vod.intl.tencentcloudapi.com.

This API is used to modify an audio and video quality detection template.

A maximum of 20 requests can be initiated per second for this API.

We recommend you to use API Explorer
Try it
API Explorer provides a range of capabilities, including online call, signature authentication, SDK code generation, and API quick search. It enables you to view the request, response, and auto-generated examples.

2. Input Parameters

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: ModifyQualityInspectTemplate.
Version Yes String Common Params. The value used for this API: 2018-07-17.
Region No String Common Params. This parameter is not required.
Definition Yes Integer

Template ID.

SubAppId No Integer

Video-on-demand (VOD) application ID. For customers who activate VOD services from December 25, 2023, if they access resources in VOD applications (whether the default application or a newly created application), this field must be filled in as the application ID.

Name No String

Template name. Length limit: 64 characters.

Comment No String

Transcoding template description. Length limit: 256 characters.

Configs.N No Array of QualityInspectConfig

Configuration parameters for audio and video quality detection.

Strategy No QualityInspectStrategy

Spot check policy for audio and video quality inspection.

ScreenshotInterval No Float

(Not recommended. Use Configs instead.) Frame interception interval in seconds. Minimum value: 1.

JitterConfigure No JitterConfigureInfoForUpdate

(Not recommended. Use Configs instead.) Control parameters for video frame jitter and ghosting detection.

BlurConfigure No BlurConfigureInfoForUpdate

(Not recommended. Use Configs instead.) Control parameters for video frame blur detection.

AbnormalLightingConfigure No AbnormalLightingConfigureInfoForUpdate

(Not recommended. Use Configs instead.) Control parameters for low-light and overexposure detection in video frames.

CrashScreenConfigure No CrashScreenConfigureInfoForUpdate

(Not recommended. Use Configs instead.) Control parameters for video image distortion detection.

BlackWhiteEdgeConfigure No BlackWhiteEdgeConfigureInfoForUpdate

(Not recommended. Use Configs as an alternative) Control parameters for video picture black edge, white edge, black screen, and white screen detection.

NoiseConfigure No NoiseConfigureInfoForUpdate

(Not recommended. Use Configs instead.) Control parameters for video frame noise detection.

MosaicConfigure No MosaicConfigureInfoForUpdate

(Not recommended. Use Configs instead) Control parameters for video frame mosaic detection.

QRCodeConfigure No QRCodeConfigureInfoForUpdate

(Not recommended. Use Configs instead.) Control parameters for video frame QR code detection.

VoiceConfigure No VoiceConfigureInfoForUpdate

(Not recommended. Use Configs instead.) Control parameters for audio (mute, bass, pop) detection.

QualityEvaluationConfigure No QualityEvaluationConfigureInfoForUpdate

(Not recommended. Use Configs instead.) Control parameters for video frame quality evaluation.

3. Output Parameters

Parameter Name Type Description
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.

4. Example

Example1 Modify an audio and video quality detection template.

Modify an audio and video quality detection template.

Input Example

POST / HTTP/1.1
Host: vod.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: ModifyQualityInspectTemplate
<Common request parameters>

{
    "Definition": 20001,
    "Name": "testNewName"
}

Output Example

{
    "Response": {
        "RequestId": "3c140219-cfe9-470e-b241-907877d6fb04"
    }
}

5. Developer Resources

SDK

TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.

Command Line Interface

6. Error Code

The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.

Error Code Description
InternalError Internal error.
InvalidParameterValue Parameter value error.
ResourceNotFound.TemplateNotExist Resource does not exist: template does not exist.

Help and Support

Was this page helpful?

Help us improve! Rate your documentation experience in 5 mins.

Feedback