google-tts-api
Advanced tools
Changelog
2.0.0 (Dec 8, 2020)
Add new APIs (Please see the Break Change below)
| Method | Options (optional) | Return Type | Handle Long Text |
| ------------------- | ----------------------------------------------- | --------------------------------------------------- | :--------------: |
| getAudioUrl
| lang
, slow
, host
| string
| |
| getAudioBase64
| lang
, slow
, host
, timeout
| Promise<string>
| |
| getAllAudioUrls
| lang
, slow
, host
, splitPunct
| { shortText: string; url: string; }[]
| ✅ |
| getAllAudioBase64
| lang
, slow
, host
, timeout
, splitPunct
| Promise<{ shortText: string; base64: string; }[]>
| ✅ |
Support new Google TTS API to get audio Base64 text (#35)
Support long text input: getAllAudioUrls
and getAllAudioBase64
(#30)
Support changing the host
in option (#16)
Support Typescript
Add dependency axios
Changelog
0.0.6 (Dec 5, 2020)
timeout
parameter is deprecated.isomorphic-fetch
.Changelog
0.0.3 (Sep 21, 2018)