Skip to content

Commit 42c6d94

Browse files
authored
Merge pull request #157891 from erhopf/tts-curl-response-simplification
[CogSvcs] Truncated response added to TTS curl QS.
2 parents b471331 + a9e18c7 commit 42c6d94

File tree

1 file changed

+39
-1
lines changed

1 file changed

+39
-1
lines changed

articles/cognitive-services/Speech-Service/includes/how-to/text-to-speech-basics/text-to-speech-basics-curl.md

Lines changed: 39 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,42 @@ To list the available voices for your Speech endpoint, run the following command
3535

3636
You should receive a response like the following one.
3737

38-
:::code language="curl" source="~/cognitive-services-quickstart-code/curl/speech/get-voices.sh" id="response":::
38+
```http
39+
[
40+
{
41+
"Name": "Microsoft Server Speech Text to Speech Voice (ar-EG, Hoda)",
42+
"DisplayName": "Hoda",
43+
"LocalName": "هدى",
44+
"ShortName": "ar-EG-Hoda",
45+
"Gender": "Female",
46+
"Locale": "ar-EG",
47+
"SampleRateHertz": "16000",
48+
"VoiceType": "Standard"
49+
},
50+
{
51+
"Name": "Microsoft Server Speech Text to Speech Voice (ar-SA, Naayf)",
52+
"DisplayName": "Naayf",
53+
"LocalName": "نايف",
54+
"ShortName": "ar-SA-Naayf",
55+
"Gender": "Male",
56+
"Locale": "ar-SA",
57+
"SampleRateHertz": "16000",
58+
"VoiceType": "Standard"
59+
},
60+
{
61+
"Name": "Microsoft Server Speech Text to Speech Voice (bg-BG, Ivan)",
62+
"DisplayName": "Ivan",
63+
"LocalName": "Иван",
64+
"ShortName": "bg-BG-Ivan",
65+
"Gender": "Male",
66+
"Locale": "bg-BG",
67+
"SampleRateHertz": "16000",
68+
"VoiceType": "Standard"
69+
},
70+
{
71+
// This response is truncated. The response will include
72+
// a complete list of supported languages and specific
73+
// details like short name, gender, etc.
74+
}
75+
]
76+
```

0 commit comments

Comments
 (0)