Text to speech with subtitles: one MP3 plus SRT or VTT timed to the voice
text_to_speech_captionsText 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. Price $0.08/call via x402 USDC or a card key (/credits); failed calls free. Reads or computes only and changes nothing; each call is charged, so repeats are not free.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"text": "<text>"
},
"name": "text_to_speech_captions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | Language: en or es (default en) | |
| text | Yes | Text to speak, up to 2,000 characters | |
| voice | No | Aura-2 voice name (default luna for en, aquila for es) | |
| captions | No | srt (default) or vtt |