Skip to main content

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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gandr_langchain-0.1.1.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gandr_langchain-0.1.1-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

Details for the file gandr_langchain-0.1.1.tar.gz.

File metadata

  • Download URL: gandr_langchain-0.1.1.tar.gz
  • Upload date:
  • Size: 3.0 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

Hashes for gandr_langchain-0.1.1.tar.gz
Algorithm Hash digest
SHA256 293b5ec89202430095535e5dc48539d9a5b0e7604ea8f4b6d1080a59943055bb
MD5 676ea9533851cee97fb301355816d3bc
BLAKE2b-256 d4931ac14ff2c8760541b915046eea1fa6956807c2f4d37eb1529fc806b7ef81

See more details on using hashes here.

File details

Details for the file gandr_langchain-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: gandr_langchain-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 3.5 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

Hashes for gandr_langchain-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 658e0c2e418edf569a8118d5358e494d91291cce850a4a9947dc331072796894
MD5 92b645930eefe5e19906695789f2c8d7
BLAKE2b-256 c0221787df21bfb8a17a4525ceee60f5353b57914f4c4addc0b97b4f1ba3d4cc

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page