Google TTS result type

const response = await TTS_Client.synthesizeSpeech(request)
// console.log(response)
const audioContent = _.get(response[0], "audioContent")
return audioContent || false

TTS_Client is my customised wrapper for calling TTS API.

At the first response, there is audio data as a name of “audioContent”

If it has been printed, that is like below.

const audio = await call_tts(params.phrase, params.locale, null)