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 50,000 tokens: 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
Release files for gandr-langchain 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| gandr_langchain-0.1.1.tar.gz | 3.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| gandr_langchain-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.5 kB
Release files / gandr_langchain-0.1.1.tar.gz
| Download URL | gandr_langchain-0.1.1.tar.gz |
|---|---|
| Size | 3.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
293b5ec89202430095535e5dc48539d9a5b0e7604ea8f4b6d1080a59943055bb
|
|
BLAKE2b-256 checksum How to use checksums |
d4931ac14ff2c8760541b915046eea1fa6956807c2f4d37eb1529fc806b7ef81
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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}
|
Release files / gandr_langchain-0.1.1-py3-none-any.whl
| Download URL | gandr_langchain-0.1.1-py3-none-any.whl |
|---|---|
| Size | 3.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
658e0c2e418edf569a8118d5358e494d91291cce850a4a9947dc331072796894
|
|
BLAKE2b-256 checksum How to use checksums |
c0221787df21bfb8a17a4525ceee60f5353b57914f4c4addc0b97b4f1ba3d4cc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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}
|