texttospeech.v1 library Null safety
Cloud Text-to-Speech API - v1
Synthesizes natural-sounding speech by applying powerful neural network models.
For more information, see cloud.google.com/text-to-speech/
Create an instance of TexttospeechApi to access these resources:
Classes
- AudioConfig
- Description of audio data to be synthesized.
- CustomVoiceParams
- Description of the custom voice to be synthesized.
- ListVoicesResponse
-
The message returned to the client by the
ListVoices
method. - SynthesisInput
- Contains text input to be synthesized.
- SynthesizeSpeechRequest
-
The top-level message sent by the client for the
SynthesizeSpeech
method. - SynthesizeSpeechResponse
-
The message returned to the client by the
SynthesizeSpeech
method. - TextResource
- TexttospeechApi
- Synthesizes natural-sounding speech by applying powerful neural network models.
- Voice
- Description of a voice supported by the TTS service.
- VoiceSelectionParams
- Description of which voice to use for a synthesis request.
- VoicesResource
Exceptions / Errors
- ApiRequestError
- Represents a general error reported by the API endpoint.
- DetailedApiRequestError
- Represents a specific error reported by the API endpoint.