skillfed

google-cloud-texttospeech

Google Cloud Texttospeech API client library

google-cloud-texttospeech Permissive license Apache-2.0 Active 5,370 v2.37.0 released

Install

google-cloud-texttospeech on PyPI

pip

pip install google-cloud-texttospeech

uv

uv add google-cloud-texttospeech

poetry

poetry add google-cloud-texttospeech

Package 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

Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Internet

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:

  1. Select or create a Cloud Platform project._
  2. 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
text to speech api pythongoogle cloud tts clientneural speech synthesiscloud text-to-speech pythongoogle tts libraryspeech generation api

Similar packages