Developers

TTS Library's catalog of 4,000+ voices is available programmatically: a public REST API, a read-only MCP server for AI agents, and full documentation. No signup and no API key. Every endpoint here is free and unauthenticated.

REST API

Three endpoints: /api/voices (search and filter), /api/metadata (available filter values and stats), and /api/audio-url (presigned audio preview URLs). Full parameter and response reference: OpenAPI 3.1 spec.

curl "https://ttslibrary.com/api/voices?language=Spanish&genders=Female&limit=10"

Every response carries X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, and X-API-Version headers. Errors are always { "error": { "code": "...", "message": "..." } }, including 429 with Retry-After when you're rate-limited.

MCP server (for AI agents)

A read-only Model Context Protocol server at /api/mcp (Streamable HTTP, stateless), exposing search_voices, get_voice_metadata, and get_audio_url as tools. Manifest at /.well-known/mcp.json, server card at /.well-known/mcp/server-card.json.

Point an MCP-capable client (Claude, an agent SDK, @modelcontextprotocol/inspector) at https://ttslibrary.com/api/mcp and call initialize, then tools/list.

Markdown for agents

Any page on this site returns markdown instead of HTML if you send Accept: text/markdown, add a .md suffix to the URL (e.g. /voices.md), or add ?mode=agent. See /llms.txt, /llms-full.txt, and the API-only excerpt at /api/llms.txt.

Calling these voices in your app

TTS Library is a voice picker, not a TTS provider itself. Find a voice here, then call it through the actual provider's API. Many of the voices in this catalog (Telnyx, MiniMax, Inworld, Azure, Rime, Resemble, AWS Polly, FishAudio, XAI) are reachable through Telnyx's Text-to-Speech API, which has its own docs, SDKs, and CLI, built by the same team behind this site.

For providers outside Telnyx's proxy (Murf, and any others), use that provider's own API directly. The voice ID and provider name shown on each tile tell you which one you need.

Auth, errors, and support

There's nothing to authenticate. See /auth.md for the full (short) story. Questions or something broken? Contact us.