$npx skillfedfor your agent

google-cloud-texttospeech

Google Cloud Texttospeech API client library

With conditionsPyPI InternetReleased Jun 2026127.5M downloads / moApache-2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — google_cloud_texttospeech-2.37.0-py3-none-any.whl
v2.37.0 · released 2026-06-22 · Python >=3.10 · 5 runtime deps: google-api-core, google-auth, grpcio, proto-plus, protobuf

Yes, if you need text-to-speech synthesis and are already using Google Cloud services or willing to set up a project. The library is production-stable, actively maintained, has no vulnerabilities, and integrates cleanly with Google's authentication and billing infrastructure. Install friction is low. The main prerequisite is a Google Cloud project with billing enabled.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires a Google Cloud project with the Text-to-Speech API enabled, billing configured, and valid authentication credentials (typically via GOOGLE_APPLICATION_CREDENTIALS environment variable or Application Default Credentials).
  • Low install friction with a pure-Python wheel.
  • Maintained actively with a recent release 53 days ago.

License · maintenance · safety

Apache-2.0 (permissive) — Licensed under Apache-2.0 (permissive), allowing use in commercial and open-source projects with minimal restrictions beyond attribution.

last release 2026-06-22 (53 days) · last repo commit 2026-08-14 · 5,371 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 127,459,338 downloads/mo, #294 on PyPI

Verify before relying

pip install google-cloud-texttospeech

from google.cloud import texttospeech

client = texttospeech.TextToSpeechClient()
input_text = 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=input_text, voice=voice, audio_config=audio_config)
  • Whether the package requires Google Cloud project setup and billing before making API calls beyond authentication setup
  • Latency and cost characteristics for different voice models and audio formats
  • Whether audio output formats and voice options are documented in the fact sheet
Same gist for agents: .md · .json

What it is and what it does

This is the official Google Cloud Text-to-Speech Python client library. It wraps the Google Cloud Text-to-Speech API, allowing you to send text to Google's servers and receive synthesized speech audio in return. The library handles authentication, request formatting, and response parsing through standard Google Cloud client patterns.

You'll need a Google Cloud project with the Text-to-Speech API enabled and billing configured. The library requires Python 3.10 or later and depends on google-api-core, google-auth, grpcio, proto-plus, and protobuf for communication with the service. It's actively maintained and widely used, with no known security vulnerabilities.

Use it for

  • Build voice-enabled applications that read text aloud in multiple languages and voices
  • Generate audio narration for videos, podcasts, or accessibility features in web applications
  • Create interactive voice response (IVR) systems or chatbots that speak responses to users
  • Batch-process large volumes of text into speech for content distribution or archival

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you need text-to-speech synthesis and are already using Google Cloud services or willing to set up a project.

The library is production-stable, actively maintained, has no vulnerabilities, and integrates cleanly with Google's authentication and billing infrastructure. Install friction is low. The main prerequisite is a Google Cloud project with billing enabled.

Install

google-cloud-texttospeech on PyPI

Before you install

Low install friction with a pure-Python wheel. Maintained actively with a recent release 53 days ago. Depends on standard Google Cloud libraries (google-api-core, google-auth, grpcio, proto-plus, protobuf), all widely used.

Requires a Google Cloud project with the Text-to-Speech API enabled, billing configured, and valid authentication credentials (typically via GOOGLE_APPLICATION_CREDENTIALS environment variable or Application Default Credentials).

License in practice

Licensed under Apache-2.0 (permissive), allowing use in commercial and open-source projects with minimal restrictions beyond attribution.

Quickstart

pip install google-cloud-texttospeech

from google.cloud import texttospeech

client = texttospeech.TextToSpeechClient()
input_text = 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=input_text, voice=voice, audio_config=audio_config)

Verify before relying

  • Whether the package requires Google Cloud project setup and billing before making API calls beyond authentication setup
  • Latency and cost characteristics for different voice models and audio formats
  • Whether audio output formats and voice options are documented in the fact sheet

Package facts

LicenseApache-2.0 permissive
Python supportSupports the current Python release >=3.10
Install frictionLow. Pure-Python wheel
Runtime dependencies
5 packages
google-api-coregoogle-authgrpcioproto-plusprotobuf
MaintenanceActively maintained 53 days since the last release
Last repo commit
First released
Downloads127,459,338 / month, #294 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
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

Evidence: google_cloud_texttospeech-2.37.0-py3-none-any.whl

Tags

Capabilities
text to speech api clientgoogle cloud tts pythonspeech synthesis libraryneural text-to-speechcloud speech generationtext audio conversiongoogle tts client
Topics
google-cloudspeech-synthesisapi-client

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “text to speech api client”

  • google-cloud-texttospeechProvides a Python client to Google Cloud Text-to-Speech, which…
  • google-cloud-speechProvides a Python client for Google Cloud Speech-to-Text, converting…
  • cartesiaCartesia is the official Python client library for the Cartesia REST…

Give your agent the search over MCP, or paste the wish link into any chat.

More Internet packages

botocore Worth it
PyPI · Internet · released Aug 2026

Botocore provides low-level, data-driven access to Amazon Web Services APIs, serving as the foundation for the AWS CLI and boto3 libraries.

Install it if you need programmatic access to AWS services.

permissive licensepure Python · 3.10+
1.5Bdownloads / mo
aiobotocore Worth it
PyPI · Internet · released Aug 2026

Provides an async client for AWS services using botocore and aiohttp, allowing you to call AWS APIs asynchronously within asyncio-based applications.

Install it if you need to call AWS services from async Python code; it is the standard way to do so.

Apache-2.0pure Python · 3.10+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
filelock Worth it
PyPI · Libraries · released Aug 2026

Provides a platform-independent file locking mechanism to coordinate access to files across processes and threads.

MITpure Python · 3.10+
717.1Mdownloads / mo
fastapi Worth it
PyPI · Software Development · released Jul 2026

FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.

MITpure Python · 3.10+
568.6Mdownloads / mo
googleapis-common-protos Worth it
PyPI · Internet · released Aug 2026

Provides common Protocol Buffer message definitions used across Google Cloud APIs, enabling Python clients to interact with Google services.

Apache-2.0pure Python · 3.10+
513.7Mdownloads / mo

See also google-cloud-speech · gTTS · silero · google-cloud-translate · google-cloud-language · google-cloud-video-transcoder · google-cloud-build · google-cloud-tasks · TTS · chatterbox-tts