DescribeTTSConfig
Query the text-to-speech (TTS) configuration information.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
outboundbot:DescribeTTSConfig |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
Instance ID |
0ec0c897-b92c-40e4-9ad7-e6e4f5ce13bb |
| ScriptId |
string |
Yes |
Script ID |
d7fbd0a0-27bc-49c4-a456-ecb75e79122b |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| HttpStatusCode |
integer |
HTTP status code |
200 |
| Code |
string |
API status code |
OK |
| Message |
string |
API message |
Success |
| RequestId |
string |
Request ID |
f765d3ee-ec03-4765-b235-6877501d99d1 |
| Success |
boolean |
Indicates whether the operation was successful. |
true |
| TTSConfig |
object |
TTS configuration |
|
| Voice |
string |
TTS model |
xiaoyun |
| SpeechRate |
string |
Speech rate |
-150 |
| Volume |
string |
Volume |
100 |
| InstanceId |
string |
Instance ID |
947e0875-b5d4-4b33-b18c-7b2cf85bcb4f |
| NlsServiceType |
string |
Service type |
Managed |
| AppKey |
string |
AppKey for invoking TTS |
p2SjSj4zxxxxxxxx |
Examples
Success response
JSON format
{
"HttpStatusCode": 200,
"Code": "OK",
"Message": "Success",
"RequestId": "f765d3ee-ec03-4765-b235-6877501d99d1",
"Success": true,
"TTSConfig": {
"Voice": "xiaoyun",
"SpeechRate": "-150",
"Volume": "100",
"InstanceId": "947e0875-b5d4-4b33-b18c-7b2cf85bcb4f",
"NlsServiceType": "Managed",
"AppKey": "p2SjSj4zxxxxxxxx"
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.