Request: Supports GET and POST, query and body, JSON and FormData.
Options:
text (required) Text to read
lang (default: auto) Speaker language, if 'auto' then try to detect using Google Translate. Reference:
https://developers.google.com/admin-sdk/directory/v1/languages
speed (default: 1) Audio speed, higher value is faster
pitch (default: 1) Audio pitch, higher value is higher (yeah)
Example:
(original female) /?text=こんにちは&lang=ja
(male pitch) /?text=こんにちは&lang=ja&pitch=0.8
(json) { "text": "Selamat dunia", "lang": "id" }
Repository:
Please leave a star https://github.com/sglkc/tts-api ;)
-
Couldn't load subscription status.
- Fork 2
Free, minimal, unlimited*, CORS-friendly Google Translate Text to Speech API with pitch and speed modifier using ffmpeg
License
Couldn't load subscription status.
sglkc/tts-api
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
About
Free, minimal, unlimited*, CORS-friendly Google Translate Text to Speech API with pitch and speed modifier using ffmpeg