๐Ÿ“ฆ sglkc / tts-api

Free, minimal, unlimited*, CORS-friendly Google Translate Text to Speech API with pitch and speed modifier using ffmpeg

โ˜… 13 stars โ‘‚ 3 forks ๐Ÿ‘ 13 watching โš–๏ธ MIT License
apinetlifyserverlesstext-to-speechtts
๐Ÿ“ฅ Clone https://github.com/sglkc/tts-api.git
HTTPS git clone https://github.com/sglkc/tts-api.git
SSH git clone git@github.com:sglkc/tts-api.git
CLI gh repo clone sglkc/tts-api
Seya Seya feat: add auto language 6bc51cc 8 months ago ๐Ÿ“ History
๐Ÿ“‚ master View all commits โ†’
๐Ÿ“ bin
๐Ÿ“ functions
๐Ÿ“„ .gitignore
๐Ÿ“„ api.js
๐Ÿ“„ index.js
๐Ÿ“„ LICENSE
๐Ÿ“„ netlify.toml
๐Ÿ“„ package.json
๐Ÿ“„ pnpm-lock.yaml
๐Ÿ“„ README.md
๐Ÿ“„ README.md
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 ;)