Working demo for google-text-to-speech Api for Java/Windows?

449 views
Skip to first unread message

Alexander Kaya

unread,
Nov 7, 2020, 5:15:22 PM11/7/20
to Google Cloud Developers

I'm trying to get a working demo for the google-text-to-speech API under Java/Windows Desktop.

I have created a project in the Google Cloud as described in the Google Cloud manual, activated the Cloud Text-to-Speech API and created a new "Service Account Key". After that I took the sample program provided by Google (QuickstartSample) and put it into IntelliJ and tried out several other sample programs from Github. I also tried the several examples/hints on stackoverflow.

I use Java SDK 14.0.2, IntelliJ 2020.2.3 and Windows 10 as development environment.

None of the example programs available on the internet seems to work properly.

Can someone please provide a working example program in the above mentioned running environment (Java SDK 14.0.2, IntelliJ 2020.2.3, Windows 10.)?

Any help is highly appreciated. Many thanks.

Gurkomal (Cloud Platform Support)

unread,
Nov 9, 2020, 7:03:58 PM11/9/20
to Google Cloud Developers
Hello,

Some additional samples for the Java client library can be found here [1].
To help isolate the cause, can you please provide additional details on what exactly isn't working (possibly an image or stack trace of the error with confidential information redacted)

Reply all
Reply to author
Forward
0 new messages