menu

It Speaks! Create Synthetic Speech Using Cloud Text-to-Speech

转至实验

42 评价

super

omer g. · 已于 38 分钟前审核

Justyna P. · 已于 6 天前审核

SMIT S. · 已于 2 个月前审核

SMIT S. · 已于 2 个月前审核

ISHITA D. · 已于 2 个月前审核

ISHITA D. · 已于 2 个月前审核

Sylwia T. · 已于 3 个月前审核

Thanaphoom B. · 已于 3 个月前审核

DHRUVI M. · 已于 3 个月前审核

Nice

Saif A. · 已于 4 个月前审核

yassss!

Chloe C. · 已于 4 个月前审核

Eugene T. · 已于 5 个月前审核

隆裕 荒. · 已于 5 个月前审核

aya s. · 已于 5 个月前审核

aya s. · 已于 5 个月前审核

Deniss T. · 已于 5 个月前审核

Akshat A. · 已于 5 个月前审核

Open the Cloud Shell Code Editor by clicking on the pencil icon: Was not working, kept on loading In Cloud Shell use the following code to call the Text-to-Speech API, which saves the output to a file called synthesize-ssml.txt: curl -H "Authorization: Bearer "$(gcloud auth application-default print-access-token) \ -H "Content-Type: application/json; charset=utf-8" \ -d @synthesize-ssml.json "https://texttospeech.googleapis.com/v1/text:synthesize" \ > synthesize-ssml.txt Error synthesize-ssml.txt: { "error": { "code": 403, "message": "Your application has authenticated using end user credentials from the Google Cloud SDK or Google Cloud Shell which are not supported by the texttospeech.googleapis.com. We recommend that most server applications use service accounts instead. For m ore information about service accounts and how to use them in your application, see https://cloud.google.com/docs/authentication/.", "status": "PERMISSION_DENIED" } } So in the end I was not able to create the second audio file (but was able to create first and third audio file) and I was not able to create a html page and play the audio files :-(

Nick N. · 已于 7 个月前审核

Well done.

Alex S. · 已于 7 个月前审核

Dustin W. · 已于 7 个月前审核

Michał S. · 已于 7 个月前审核

Bob K. · 已于 7 个月前审核

Steve G. · 已于 7 个月前审核

Michał N. · 已于 7 个月前审核

Bashar T. · 已于 7 个月前审核