CLI tool to convert a text file to a MP3 speech file GCP service Set up npm i Create a folder named credential at the root. Place the GCP service credential JSON file in the credential folder. Edit line 1 of app.js to set the path to your GCP service credential JSON file. Usage node app.js The input.txt file is where you enter the text. The output.mp3 file is the converted speech audio.