Text to speech API
agent-data-tools.revmesh2074.workers.dev/text-to-speech-generate
Text to speech API: convert text up to 2000 characters into natural MP3 audio with multiple voices and languages. Use when an agent needs spoken output for a notification, audiobook clip or voice response. No account, pay per call over x402.
GET
https://agent-data-tools.revmesh2074.workers.dev/text-to-speech-generateUptime100% of 3 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-generate?text=Your+payment+was+received.+Thank+you%21");
console.log(await res.json());Example input
{
"text": "Your payment was received. Thank you!"
}