You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 19, 2023. It is now read-only.
> Node.js idiomatic client for [Text-To-Speech][product-docs].
12
+
> Node.js idiomatic client for [Cloud Text-to-Speech API][product-docs].
11
13
12
-
Cloud Text-to-Speech API
14
+
The [Cloud Text-to-Speech API](https://cloud.google.com/text-to-speech/docs) converts text or Speech Synthesis Markup Language (SSML) input into audio data of natural human speech.
13
15
14
16
15
-
*[Text-To-Speech Node.js Client API Reference][client-docs]
17
+
*[Cloud Text-to-Speech API Node.js Client API Reference][client-docs]
console.log('Audio content written to file: output.mp3');
102
+
});
103
+
});
104
+
```
105
+
106
+
## Samples
107
+
108
+
Samples are in the [`samples/`](https://github.com/googleapis/nodejs-text-to-speech/tree/master/samples) directory. The samples' `README.md`
| Synthesize Speech |[source code](https://github.com/googleapis/nodejs-text-to-speech/blob/master/samples/synthesize.js)|[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-text-to-speech&page=editor&open_in_editor=samples/synthesize.js,samples/README.md)|
114
+
| List supported voices |[source code](https://github.com/googleapis/nodejs-text-to-speech/blob/master/samples/listVoices.js)|[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-text-to-speech&page=editor&open_in_editor=samples/listVoices.js,samples/README.md)|
115
+
116
+
The [Cloud Text-to-Speech API Node.js Client API Reference][client-docs] documentation
65
117
also contains samples.
66
118
67
119
## Versioning
@@ -87,5 +139,5 @@ Apache Version 2.0
87
139
See [LICENSE](https://github.com/googleapis/nodejs-text-to-speech/blob/master/LICENSE)
0 commit comments