Skip to content

TORIFUKUKaiou/docomo_text_to_speech

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DocomoTextToSpeech

Elixir client for NTT Docomo TextToSpeech API.

Installation

The package can be installed by adding docomo_text_to_speech to your list of dependencies in mix.exs:

def deps do
  [
    {:docomo_text_to_speech, "~> 0.3.0"}
  ]
end

Configuration

Get your API key from docomo Developer support site.

Set the API key to your system environment variable.

export DOCOMO_TEXT_TO_SPEECH_API_KEY="secret"

In your config.exs, set the api_key from the system environment variable.

config :docomo_text_to_speech,
  api_key: "secret"

Usage

iex> DocomoTextToSpeech.run!("エリクサー") |> (&File.write("output.wav", &1)).()

License

DocomoTextToSpeech is licensed under the MIT License.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages