Text-to-speech via Google Cloud Text-to-Speech REST API. Standard, WaveNet, Neural2 and Studio voices. Auth via apiKey param or GOOGLE_API_KEY env var.
ttsgooglespeechwavenetneural2audiocloud
Input Parameters
Parameter
Type
Description
textrequired
string
Text to convert to speech.
voiceoptional
string
Voice name (e.g. en-US-Standard-A, en-US-Wavenet-D, en-US-Neural2-C). Default: en-US-Standard-A. Default: en-US-Standard-A.
modeloptional
string
Unused — voice name includes model type (Standard/Wavenet/Neural2/Studio).
outputPathoptional
string
Save audio to this file path. Returns base64 audio if empty.