Skip to content

Latest commit

 

History

History
executable file
·
30 lines (23 loc) · 670 Bytes

README.md

File metadata and controls

executable file
·
30 lines (23 loc) · 670 Bytes

Text to Speech

Installation

Maven
<dependency>
  <groupId>com.ibm.watson.developer_cloud</groupId>
  <artifactId>text-to-speech</artifactId>
  <version>6.8.0</version>
</dependency>
Gradle
'com.ibm.watson.developer_cloud:text-to-speech:6.8.0'

Usage

Use the Text to Speech service to get the available voices to synthesize.

TextToSpeech service = new TextToSpeech();
service.setUsernameAndPassword("<username>", "<password>");

Voices voices = service.listVoices().execute();
System.out.println(voices);