Get Speech
Retrieves a specific Speech resource. HTTP Mapping: GET /v1/conversation/speech/{name=speeches/*}
Path parameters
speeche
The speeche id.
Response
OK
displayName
display name contains the display name for the relevant speech.
content
content contains the actual textual content to be converted into speech.
This field is required to generate the speech output.
service
service specifies the speech processing service to use for generating the
speech. It must be one of the defined values in the SpeechProcessingService
enum.
languageTag
language specifies the language of the speech content.
name
name is the resource identifier for the Speech. It follows the format “speeches/{speech}” and uniquely identifies a Speech resource.
speed
speed defines the playback speed of the generated speech.
This optional field allows for customization of the speech delivery rate.
outputFormat
output_format determines the file format for the synthesized speech audio, such as MP3 or WAV. This field is optional and depends on the capabilities of the selected service.
duration
duration specifies the maximum length of the speech output in seconds.
This field is required to limit the length of the generated speech.
audioUri
Storage URI for the synthesized speech audio.
This field is optional and depends on the capabilities of the selected
service.
type
type specifies the storage behavior of the speech output.
It indicates whether the generated speech should be persisted for future
reference or treated as transient.
Errors
400
Bad Request Error