google-cloud-texttospeech
Google Cloud Texttospeech API client library
Install
google-cloud-texttospeech on PyPI
pip
pip install google-cloud-texttospeechuv
uv add google-cloud-texttospeechpoetry
poetry add google-cloud-texttospeechPackage facts
| License | Apache-2.0 (permissive) |
| Python support | supports the current Python release (>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 5 — google-api-core, google-auth, grpcio, proto-plus, protobuf |
| Maintenance | actively maintained — 52 days since the last release |
| Last repo commit | |
| First released | |
| Popularity | one of the top 1,000 most-downloaded packages on PyPI (30-day window, as of 2026-08-13) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-13) |
Evidence: google_cloud_texttospeech-2.37.0-py3-none-any.whl
About google-cloud-texttospeech
from the package's own PyPI description — quoted content, verbatim
Python Client for Cloud Text-to-Speech
|stable| |pypi| |versions|
Cloud Text-to-Speech_: Synthesizes natural-sounding speech by applying powerful neural network
models.
Client Library Documentation_Product Documentation_
.. |stable| image:: https://img.shields.io/badge/support-stable-gold.svg :target: https://github.com/googleapis/google-cloud-python/blob/main/README.rst#stability-levels .. |pypi| image:: https://img.shields.io/pypi/v/google-cloud-texttospeech.svg :target: https://pypi.org/project/google-cloud-texttospeech/ .. |versions| image:: https://img.shields.io/pypi/pyversions/google-cloud-texttospeech.svg :target: https://pypi.org/project/google-cloud-texttospeech/ .. _Cloud Text-to-Speech: https://cloud.google.com/text-to-speech .. _Client Library Documentation: https://cloud.google.com/python/docs/reference/texttospeech/latest/summary_overview .. _Product Documentation: https://cloud.google.com/text-to-speech
Quick Start
In order to use this library, you first need to go through the following steps:
Select or create a Cloud Platform project._Enable billing for your project._ 3....
Read as markdown · JSON record · Source repository · Homepage
AI interpretation — verify before relying
AI-generated interpretation of the package facts above; every digit, version, license, or vulnerability id it cites is grounded in the facts already shown on this page
Python client library for Google Cloud Text-to-Speech that synthesizes natural-sounding speech using neural network models via the Google Cloud API.
Low friction install with stable maintenance. Released 52 days ago, actively maintained repository with 5370 stars. Requires Python >= 3.10 and five standard Google Cloud dependencies (google-api-core, google-auth, grpcio, proto-plus, protobuf).
Apache-2.0 permissive license allows commercial and private use with minimal restrictions, requiring only license and copyright notice retention.
Usage
pip install google-cloud-texttospeech
from google.cloud import texttospeech
client = texttospeech.TextToSpeechClient()
synthesis_input = texttospeech.SynthesisInput(text="Hello, world!")
voice = texttospeech.VoiceSelectionParams(language_code="en-US")
audio_config = texttospeech.AudioConfig(audio_encoding=texttospeech.AudioEncoding.MP3)
response = client.synthesize_speech(input=synthesis_input, voice=voice, audio_config=audio_config)
Requires Google Cloud project setup, billing enabled, Cloud Text-to-Speech API enabled, and authentication credentials configured (see product documentation).
Verdict: Production-ready, actively maintained client library for Google Cloud Text-to-Speech with no known vulnerabilities. Low install friction, permissive Apache-2.0 license, and broad Python 3.10+ support make it suitable for production use. Primary consideration is the Google Cloud authentication and billing setup requirement.
Needs verification
- Whether the library supports streaming audio synthesis or only batch synthesis
- Performance characteristics and latency expectations for typical use cases
- Rate limiting and quota behavior when calling the Cloud Text-to-Speech API
Similar packages
permissive · top 1,000 on PyPI
google-cloud-workflowspermissive · top 1,000 on PyPI
google-cloud-monitoringpermissive · top 1,000 on PyPI
google-cloud-appengine-loggingpermissive · top 1,000 on PyPI
googleapis-common-protospermissive · top 100 on PyPI
google-cloud-bigquery-storagepermissive · top 1,000 on PyPI
google-cloud-translatepermissive · top 1,000 on PyPI
google-cloud-buildpermissive · top 1,000 on PyPI
google-cloud-redispermissive · top 1,000 on PyPI
google-cloud-kmspermissive · top 1,000 on PyPI