Documentation ¶
Index ¶
Constants ¶
View Source
const ( AppNameV1 = "TextToSpeechV1" AppNameV1beta = "TextToSpeechV1beta" )
Variables ¶
This section is empty.
Functions ¶
func NewSynthesizeSpeechRequest ¶
func NewSynthesizeSpeechRequest() *texttospeechpb.SynthesizeSpeechRequest
Types ¶
type Service ¶
type Service interface { // TextToSpeech converts text to speech. TextToSpeech(context.Context, *texttospeechpb.SynthesizeSpeechRequest) (string, error) }
type SynthesizeSpeechRequestBody ¶
type SynthesizeSpeechRequestBody struct { SynthesizeSpeechRequest texttospeechpb.SynthesizeSpeechRequest `json:"SynthesizeSpeechRequest"` Text string `json:"text"` Ssml string `json:"ssml"` InputBool bool }
func NewSynthesizeSpeechRequestBoby ¶
func NewSynthesizeSpeechRequestBoby() *SynthesizeSpeechRequestBody
Click to show internal directories.
Click to hide internal directories.