Synthesize text, specifying an audio profile to optimize the synthetic speech for playback on different types of hardware.
Documentation pages that include this code sample
To view the code sample used in context, see the following documentation:
Code sample
Java
Node.js
PHP
Python
What's next
To search and filter code samples for other Google Cloud products, see the Google Cloud sample browser