gandr-langchain
LangChain text to speech tool for the Gandr TTS API, built for voice agents.
- First audio byte in 146 ms over the open internet, 116 ms p50 first audio, server side warm
- Reads numbers, dates, order IDs and addresses correctly
- One engine speaks 23 languages with six voices
- Every render watermarked (imperceptible, detectable)
- $10 a month for one million tokens, or unlimited, unmetered stream plans from $150/mo (annual)
Free key starts at 100,000 tokens, no card: gandr.ai
Install
pip install gandr-langchain
Use
from gandr_langchain import GandrText2SpeechTool
tool = GandrText2SpeechTool() # reads GANDR_API_KEY from the environment
path = tool.run("Order number 4-2-7-1 ships on March 3rd.")
# path is a WAV file of the spoken line
# pick a voice or a language per tool instance
tool = GandrText2SpeechTool(voice="gandr-leo", language="es")
Drops into any LangChain agent as a standard tool: the model passes the text to speak, gets back the audio file path.
Docs: gandr.ai/docs · Voices: gandr-ava, gandr-dane, gandr-jenny, gandr-leo, gandr-lewis, gandr-mia
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file gandr_langchain-0.1.0.tar.gz.
File metadata
- Download URL: gandr_langchain-0.1.0.tar.gz
- Upload date:
- Size: 2.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.26 {"installer":{"name":"uv","version":"0.11.26","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}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bd3f36a49cd991880b5e0dec0df2066cc5d76d645f7bf6f04468d182d76b49d0
|
|
| MD5 |
b7adabe5176ada88067604a236351740
|
|
| BLAKE2b-256 |
f5cf735f6103d242774748da2a88fb70954adbda20b24101d8dcf33e395553bb
|
File details
Details for the file gandr_langchain-0.1.0-py3-none-any.whl.
File metadata
- Download URL: gandr_langchain-0.1.0-py3-none-any.whl
- Upload date:
- Size: 2.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.26 {"installer":{"name":"uv","version":"0.11.26","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}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8cad82a8a0b903c7e042d189323b0f95b6b0faf4263bc5defb705a21c5e27959
|
|
| MD5 |
76695fb425097a4f686ff9178b5f1e6f
|
|
| BLAKE2b-256 |
b76281a55a8726c3aee0303947168d001c6295598402041b8ef26019434f87ca
|