Skip to content
Fourohtwo

quickbuild.quynguyenbac.workers.dev/api/tts

Turn text (up to 2000 chars) into spoken audio with MeloTTS on Cloudflare Workers AI, in English, Spanish, French, Chinese, Japanese or Korean. Returns JSON with audio_base64 + mimeType (audio/wav, 44.1 kHz mono), or the raw audio bytes with format=wav. Good for voice replies, narration, accessibility and language practice. Text with sexual, hateful or violent content is refused (HTTP 400, not cha

BaseAnswering
GEThttps://quickbuild.quynguyenbac.workers.dev/api/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

// 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://quickbuild.quynguyenbac.workers.dev/api/tts?lang=en&text=Hello%21+This+short+clip+was+generated+by+a+text+to+speech+API.");
console.log(await res.json());

Example input

{
  "lang": "en",
  "text": "Hello! This short clip was generated by a text to speech API."
}

More from QuickBuildProvider status