menu
arrow_back

Using the Text-to-Speech API with C#

Using the Text-to-Speech API with C#

45 分钟 5 个积分

GSP254

Google Cloud Self-Paced Labs

Overview

Google Cloud Text-to-Speech API (Beta) allows developers to include natural-sounding, synthetic human speech as playable audio in their applications. The Text-to-Speech API converts text or Speech Synthesis Markup Language (SSML) input into audio data like MP3 or LINEAR16 (the encoding used in WAV files).

In this lab, you will focus on using the Text-to-Speech API with C#. You will learn how to list available voices and also synthesize audio from text.

What you'll learn

  • How to use the Cloud Shell

  • How to enable the Text-to-Speech API

  • How to Authenticate API requests

  • How to install the Google Cloud client library for C#

  • How to list available voices

  • How to synthesize audio from text

What you'll need

加入 Qwiklabs 即可阅读本实验的剩余内容…以及更多精彩内容!

  • 获取对“Google Cloud Console”的临时访问权限。
  • 200 多项实验,从入门级实验到高级实验,应有尽有。
  • 内容短小精悍,便于您按照自己的节奏进行学习。
加入以开始此实验