🎙️ gcp-chirp
A premium CLI tool for working with Google Cloud Text-to-Speech Chirp 3 HD voices. Chirp 3 HD is a new generation of expressive, high-fidelity voices powered by Google's latest LLMs.
📋 Prerequisites
Before you begin, ensure you have the following installed and configured:
- FFmpeg: Required for audio processing.
# macOS brew install ffmpeg
- Google Cloud Project:
- Enable the Text-to-Speech API.
- Set up Application Default Credentials (ADC). Follow the official documentation.
- Note: You may need to perform a one-time setup for the
gcloudCLI:gcloud auth application-default login
🚀 Features
- Expressive Synthesis: High-fidelity audio with natural intonation.
- Voice Listing: Easily list available Chirp 3 HD voices across languages.
- Modern CLI: Beautiful output powered by
richandtyper. - Managed by uv: Lightning fast dependency management.
📦 Installation
Via PyPI (Recommended)
This is the easiest way to install the tool globally:
uv tool install gcp-chirp
From Source
If you are developing or want to run it locally:
git clone https://github.com/msampathkumar/gcp-chirp
cd gcp-chirp
uv sync
🗑 Uninstallation
To remove the tool and its local data:
- Clean local configuration:
gcp-chirp uninstall - Remove the global tool:
uv tool uninstall gcp-chirp
🔑 Authentication
The tool uses Google Cloud Application Default Credentials (ADC) by default.
- ADC (Recommended): Run the following command if you haven't already:
gcloud auth application-default login
- Service Account Key: If using a service account JSON:
export GOOGLE_APPLICATION_CREDENTIALS="path/to/your/key.json"
- CLI Option: Alternatively, pass the path directly via the
--credsoption in thesaycommand.
🛠 Usage
🚀 Quick Start (One-time Setup)
Run the setup wizard to check dependencies (FFmpeg, gcloud), configure authentication, and set initial defaults:
uv run gcp-chirp setup
Configuration Precedence
The tool follows a strict precedence for settings:
- CLI Flags: (e.g.,
--project,--voice,--play) always win. - Config File: (
~/.gcp-chirp/settings.yaml). - Environment Variables: (e.g.,
GOOGLE_CLOUD_PROJECT).
⚙️ Configuration Commands
Interactive Setup
Set your default project, voice, and output preferences:
uv run gcp-chirp config
View Current Configuration
uv run gcp-chirp config --show
Reset Configuration
Reset all settings to factory defaults:
uv run gcp-chirp config-reset
📋 Action Commands
List Voices
List available voices for a language (uses default language if omitted):
uv run gcp-chirp list --project my-temporary-project
Synthesize Speech
Convert text to audio with overrides:
uv run gcp-chirp say "Hello, I am synthesized using a specific project and voice!" --voice en-US-Chirp3-HD-Charon --project my-project --play
Note: Files are saved in the configured output_dir with a timestamped filename unless --output is provided.
🏗 Track Status
Managed via conductor/tracks.md.
Built with ❤️ for the Empire.
Metadata
Release files for gcp-chirp 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| gcp_chirp-0.1.0.tar.gz | 40.9 kB | Without provenance | Details for gcp_chirp-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| gcp_chirp-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for gcp_chirp-0.1.0-py3-none-any.whl |
Total release size: 53.7 kB
Release files / gcp_chirp-0.1.0.tar.gz
| Download URL | gcp_chirp-0.1.0.tar.gz |
|---|---|
| Size | 40.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
145ca52df8f0a3b72990ecc8012b20759f4605e3818c91a07228d4057a842ae3
|
|
BLAKE2b-256 checksum How to use checksums |
d59fe602da1bfa73c3d38af246ac665604c6d028181ed7999b03cf9a8b9896a8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.10.4 {"installer":{"name":"uv","version":"0.10.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / gcp_chirp-0.1.0-py3-none-any.whl
| Download URL | gcp_chirp-0.1.0-py3-none-any.whl |
|---|---|
| Size | 12.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1c45d3300fed5de47ea74be99b9c302f697e8b066b71aa1ec8db81bbde3a5cbe
|
|
BLAKE2b-256 checksum How to use checksums |
1dfdaeba6ea09094184e8cefadf705254789d040d7d8085917e31c17dd902f8f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.10.4 {"installer":{"name":"uv","version":"0.10.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Security for gcp-chirp 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.