tts-over-http-get

command module
v0.0.0-...-224f742 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 26, 2019 License: MIT Imports: 13 Imported by: 0

README

get-proxy-tts

Service provides HTTP GET interface for access to text to speech functionality like AWS Polly, Google TTS or other services.

Overview

This can be useful for easy integration TTS to your legacy systems that integrating with audio files by URL. Service caching generated speeches with ident parameters to local folder.

Usage

go get github.com/4rakcheev/tts-over-http-get
go run tts-over-http-get.go

Text-to-speech generating

Simple generating text with simple text type (without SSML) like:

http://localhost:80/polly?access_key=AKIAJC56K3IEGLBH72NA&secret_key=OQgTW1yigF%2BjPE1yDOa7Zh6%2BQ/TLk5QQufaK4d0I&voice=Brian&text=Test%20message%20for%20live%20demo%21&language=en-US

Supported parameters

  • access_key AWS IAM access key
  • secret_key AWS IAM Secret key. Don't forget replace + symbol to %2B in this string. TDB: create live helper to generate correct URL
  • voice Polly Voice ID
  • language Polly Language ID
  • text String to speech

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL