Text to speech with subtitles: one MP3 plus SRT or VTT timed to the voice

$0.08 per call · failed calls are never charged · no account needed: a card key or USDC

Text to speech that comes with subtitles: up to 2,000 characters spoken as one MP3 in English or Spanish (Deepgram Aura-2, pick a voice), plus SRT or VTT captions whose timings come from the generated audio itself, sentence by sentence. Ready for a video editor, no transcription step. Use for narrated videos, social clips, e-learning and accessible audio with captions.

Buy credits by card (from $1) Example result (JSON)

Inputs

NameTypeDescription
text (required)stringText to speak, up to 2,000 characters
langstringLanguage: en or es (default en). One of: en, es.
voicestringAura-2 voice name (default luna for en, aquila for es)
captionsstringsrt (default) or vtt

Request

Over HTTP, with a card key from /credits:

curl -H "Authorization: Bearer adt_…" "https://mcp.glyphcall.com/text-to-speech/captions?text=Welcome%20to%20the%20course.%20Today%20we%20start%20with%20the%20basics%2C%20and%20by%20the%20end%20of%20the%20hour%20you%20will%20build%20your%20first%20project."

Without a key, the same URL answers 402 Payment Required with x402 and MPP terms, so an agent with a wallet pays per call in USDC (Base, Polygon, Arbitrum or Solana over x402; Base or Tempo over MPP) and retries.

Example result

{
  "contentType": "audio/mpeg",
  "audioBase64": "SUQzBAAAAAAAI1RTU0UAAAAPAAADTGF2ZjYwLjMuMTAwAAAA…",
  "audioBytes": 143360,
  "durationSeconds": 7.2,
  "lang": "en",
  "voice": "luna",
  "cues": [
    {
      "start": 0,
      "end": 1.6,
      "text": "Welcome to the course."
    },
    {
      "start": 1.6,
      "end": 7.2,
      "text": "Today we start with the basics, and by the end of the hour you will build your first project."
    }
  ],
  "characters": 116,
  "captionFormat": "srt",
  "captions": "1\n00:00:00,000 --> 00:00:01,600\nWelcome to the course.\n\n2\n00:00:01,600 --> 00:00:07,200\nToday we start with the basics, and by the end of the hour you will build your first project.\n",
  "model": "@cf/deepgram/aura-2-en"
}

From an AI agent (MCP)

Add the MCP server to Claude, Cursor or any MCP client. This tool is text_to_speech_captions, and the first 25 successful calls are free:

https://mcp.glyphcall.com/mcp

Related tools