We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 51d409c commit c836fa1Copy full SHA for c836fa1
README.md
@@ -92,7 +92,7 @@ Output:<br>
92
RemoteSpeechModel model = new RemoteSpeechModel(apiKey, SpeechModels.google);
93
94
// 2- call generateEnglishText with any text
95
-SpeechInput input = new SpeechInput.Builder("Hi, I am Intelligent Java.").build();
+Text2SpeechInput input = new Text2SpeechInput.Builder("Hi, I am Intelligent Java.").build();
96
byte[] decodedAudio = model.generateEnglishText(input);
97
```
98
Output:<br>
0 commit comments