Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

Google Cloud Platform logo

Open in Cloud Shell

Table of Contents

Before you begin

Before running the samples, make sure you've followed the steps outlined in Using the client library.

cd samples

npm install

cd ..

Samples

Text_to_speech.list_voices

View the source code.

Open in Cloud Shell

Usage:

node packages/google-cloud-texttospeech/samples/generated/v1/text_to_speech.list_voices.js


Text_to_speech.synthesize_speech

View the source code.

Open in Cloud Shell

Usage:

node packages/google-cloud-texttospeech/samples/generated/v1/text_to_speech.synthesize_speech.js


Text_to_speech_long_audio_synthesize.synthesize_long_audio

View the source code.

Open in Cloud Shell

Usage:

node packages/google-cloud-texttospeech/samples/generated/v1/text_to_speech_long_audio_synthesize.synthesize_long_audio.js


Text_to_speech.list_voices

View the source code.

Open in Cloud Shell

Usage:

node packages/google-cloud-texttospeech/samples/generated/v1beta1/text_to_speech.list_voices.js


Text_to_speech.synthesize_speech

View the source code.

Open in Cloud Shell

Usage:

node packages/google-cloud-texttospeech/samples/generated/v1beta1/text_to_speech.synthesize_speech.js


Text_to_speech_long_audio_synthesize.synthesize_long_audio

View the source code.

Open in Cloud Shell

Usage:

node packages/google-cloud-texttospeech/samples/generated/v1beta1/text_to_speech_long_audio_synthesize.synthesize_long_audio.js


Quickstart

View the source code.

Open in Cloud Shell

Usage:

node packages/google-cloud-texttospeech/samples/quickstart.js