tencent cloud

14天试用边缘安全加速平台 EO 限时免费

Feedback

Tencent Cloud AI Digital Human

Submitting Audio Quality Inspection Task

Last updated: 2024-07-18 18:05:56
Read aloud the content from Obtain Voice Training Text, record the audio file, and upload it to the specified COS path. After the upload, the audio must undergo a quality inspection. The audio that passes the quality inspection will return an AudioId which is used to call the customization API for the customization of the voice speaking one sentence.

Invocation Protocol

HTTPS + JSON
POST /v2/ivh/assetmanager/zeroshotservice/detectaudioquality
Header Content-Type: application/json;charset=utf-8

Request Parameters

Parameters
Type
Mandatory
Description
TextId
string
No
TextId returned by the Obtain Voice Training Text API.
ReferenceText
string
No
Audio reference text. ReferenceText and TextId are two different ways to obtain voice training text. You can leave both fields blank or choose one of the two options for more accurate audio quality inspection results.
AudioUrl
string
Yes
Voice file URL requirements: 1: The URL address should be the resource URL uploaded to the specified path through 4.1, with an added zeroshot path, such as /customer-pipeline/{digit}/{uuid}/zeroshot/xxx.mp3. 2: The recommended audio length for upload is 10-30 seconds, and a single file should not exceed 20 MB. 3: Supported audio formats are wav, mp3, aac, m4a, wma, and asf. The sampling rate should be greater than 16 K. For compressed formats, a bitrate higher than 128 kbps is recommended. 4: The audio file name should be 2-50 characters long, and can only contain Chinese characters, letters, numbers, underscores, and hyphens.

Response Parameter

Parameters
Type
Mandatory
Description
TaskId
string
Yes
The ID of the created task. Use the taskId to access the Query Audio Quality Inspection Task Progress API to obtain the progress and results of the quality inspection.

Request Sample

{ "Header": {}, "Payload": { "AudioId": "XXXX", "AudioUrl": "YYYY" } }

Response Sample

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

Catalog

Contact Us

Contact our sales team or business advisors to help your business.

Technical Support

Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

7x24 Phone Support
中国香港
+852 800 906 020 (免费)
美国
+1 844 606 0804 (免费)
英国
+44 808 196 4551 (免费)
加拿大
+1 888 605 7930 (免费)
澳大利亚
+61 1300 986 386 (免费)
EdgeOne 热线
+852 300 80699
更多本地服务热线陆续新增中