POST api/Polly/SynthesizeSpeechV2
Request Information
URI Parameters
None.
Body Parameters
VoiceServiceRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| Text | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Text": "sample string 1"
}
application/xml, text/xml
Sample:
<VoiceServiceRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ReconocimientoFacial.Models"> <Text>sample string 1</Text> </VoiceServiceRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
VoiceServiceResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Result | boolean |
None. |
|
| File | string |
None. |
|
| Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Result": true,
"File": "sample string 2",
"Message": "sample string 3"
}
application/xml, text/xml
Sample:
<VoiceServiceResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ReconocimientoFacial.Models"> <File>sample string 2</File> <Message>sample string 3</Message> <Result>true</Result> </VoiceServiceResponse>