texttospeech/v1 library

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

AdvancedVoiceOptions
Used for advanced voice options.
AudioConfig
Description of audio data to be synthesized.
CustomPronunciationParams
Pronunciation customization for a phrase.
CustomPronunciations
A collection of pronunciation customizations.
CustomVoiceParams
Description of the custom voice to be synthesized.
ListOperationsResponse
The response message for Operations.ListOperations.
ListVoicesResponse
The message returned to the client by the ListVoices method.
MultiSpeakerMarkup
A collection of turns for multi-speaker synthesis.
Operation
This resource represents a long-running operation that is the result of a network API call.
OperationsResource
ProjectsLocationsOperationsResource
ProjectsLocationsResource
ProjectsResource
SynthesisInput
Contains text input to be synthesized.
SynthesizeLongAudioRequest
The top-level message sent by the client for the SynthesizeLongAudio method.
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.
Turn
A multi-speaker turn.
Voice
Description of a voice supported by the TTS service.
VoiceCloneParams
The configuration of Voice Clone feature.
VoiceSelectionParams
Description of which voice to use for a synthesis request.
VoicesResource

Typedefs

CancelOperationRequest = $Empty
The request message for Operations.CancelOperation.
Empty = $Empty
A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs.
Status = $Status00
The Status type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs.

Exceptions / Errors

ApiRequestError
Represents a general error reported by the API endpoint.
DetailedApiRequestError
Represents a specific error reported by the API endpoint.