Text to speech with subtitles
agent-data-tools.revmesh2074.workers.dev/text-to-speech/captions
Text to speech with subtitles. 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 caption
GET
https://agent-data-tools.revmesh2074.workers.dev/text-to-speech/captionsUptime100% of 4 checks in 30 days
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
// npm install fourohtwo
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://agent-data-tools.revmesh2074.workers.dev/text-to-speech/captions?text=Welcome+to+the+course.+Today+we+start+with+the+basics%2C+and+by+the+end+of+the+hour+you+will+build+your+first+project.");
console.log(await res.json());Example input
{
"text": "Welcome to the course. Today we start with the basics, and by the end of the hour you will build your first project."
}