Skip to content
Fourohtwo

Text to speech API, TTS

agent-data-tools.revmesh2074.workers.dev/ai/tts

Text to speech API, TTS. Text to speech API: turn up to 300 characters of text into natural, human-sounding speech as an MP3 (base64) with Deepgram Aura-2 voices in English (40) or Spanish (10), or as a WAV in French, Chinese, Japanese or Korean (MeloTTS). Pick a voice by name or keep the default. Use for voice replies, narration, audio notes, IVR prompts and accessibility.

BasePolygonArbitrumSolanaAnswering
GEThttps://agent-data-tools.revmesh2074.workers.dev/ai/tts

Uptime100% of 1 check 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

import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://agent-data-tools.revmesh2074.workers.dev/ai/tts?text=Your+payment+was+received.+Thank+you%21");
console.log(await res.json());

Example input

{
  "text": "Your payment was received. Thank you!"
}

More from Text to speech API, TTS