81trust / 100

Ai Speech

by Text-to-speech (MeloTTS) in AI models & inference

x402 APIPassing, checked 57 min ago

Turns text into natural speech in English, Spanish, French, Chinese, Japanese or Korean in one or two seconds: Deepgram Aura-2 for English and Spanish, MeloTTS for the rest. Returns a hosted audio URL valid for 24 hours (MP3 for English and Spanish, WAV otherwise) plus its size; add inline=true to also get the base64. Up to 2000 characters per call. You are only charged if the audio is delivered. No API key, no account.

GET https://flat-rate-llm.kikoribera03.workers.dev/v1/ai/speech

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
155 ms typical, 641 ms slowest 5%
Last check
57 min ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://flat-rate-llm.kikoribera03.workers.dev/v1/ai/speech?lang=en&text=Your+order+has+shipped+and+will+arrive+on+Tuesday."
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fflat-rate-llm.kikoribera03.workers.dev%2Fv1%2Fai%2Fspeech
const res = await pay("https://flat-rate-llm.kikoribera03.workers.dev/v1/ai/speech?lang=en&text=Your+order+has+shipped+and+will+arrive+on+Tuesday.");
console.log(await res.json());

Example input

{
  "lang": "en",
  "text": "Your order has shipped and will arrive on Tuesday."
}

Example output

{
  "bytes": 16128,
  "characters": 50,
  "expires": "2026-09-14T18:00:00.000Z",
  "lang": "en",
  "mime": "audio/mpeg",
  "model": "@cf/deepgram/aura-2-en",
  "url": "https://flat-rate-llm.kikoribera03.workers.dev/m/9b2e6d4a1c0f8e7d3a5b2c11.mp3"
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
57 min agoPassed402155 ms$0.01
5 h agoPassed40249 ms$0.01
9 h agoPassed402729 ms$0.01
12 h agoPassed402429 ms$0.01
16 h agoPassed402128 ms$0.01
19 h agoPassed40240 ms$0.01
23 h agoPassed402641 ms$0.01
28 h agoPassed402446 ms$0.01