tencent cloud

Audio Quality Inspection Task Creation API
Last updated:2024-07-18 17:55:10
Audio Quality Inspection Task Creation API
Last updated: 2024-07-18 17:55:10
This API can be used to pre-check audio quality, improving customization efficiency.
Supported audio quality metrics:
Signal-to-noise ratio: Being greater than or equal to 30 is acceptable.
Reverberation index: Being greater than or equal to 30 is acceptable.
Clipping index: Being less than or equal to 0 is acceptable.
Effective duration: Being greater than or equal to 10 minutes is acceptable.
Text accuracy: Being greater than or equal to 70% is acceptable (this metric is valid when "audio reference text" is provided).

Calling Protocol

HTTPS + JSON
POST /v2/ivh/algotaskserver/algotaskservice/audioevaluation
Header Content-Type: application/json;charset=utf-8

Request Parameters

Parameters
Type
Mandatory
Description
AudioUrl
string
Yes
URL of the audio to be checked. Currently, the supported audio format is WAV.
ReferenceText
string
No
Audio reference text (optional). When it is not provided, it means the "text accuracy" metric is not required.

Response Parameter

Parameters
Type
Mandatory
Description
TaskId
string
Yes
The ID of the created audio quality inspection task

Request Sample

{
"Header": {},
"Payload": {
"AudioUrl": "xxx",
"ReferenceText": "Hello"
}
}

Response Sample

{
"Header": {
"Code": 0,
"Message": "",
"RequestID": "123"
},
"Payload": {
"TaskId": "xxx"
}
}

Was this page helpful?
You can also Contact Sales or Submit a Ticket for help.
Yes
No

Feedback