Parameters | Type | Mandatory | Description |
TextId | string | No | |
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. |
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. |
{ "Header": {}, "Payload": { "AudioId": "XXXX", "AudioUrl": "YYYY" } }
{ "Header": { "Code": 0, "DialogID": "", "Message": "", "RequestID": "123" }, "Payload": { "TaskId": "666" } }
Was this page helpful?