Skip to content
Fourohtwo

OpenAI-compatible text-to-speech over x402

agent402.tools/v1/audio/speech

OpenAI-compatible text-to-speech over x402 - point any OpenAI SDK's audio.speech.create() at base_url https://agent402.tools/v1 and pay $0.06 per call in USDC, no API key, no signup. Served by Voxtral Mini TTS behind a five-model failover chain (xAI Grok Voice, Kokoro, MAI-Voice-2.1 Flash, MAI-Voice-2.1), every link proven by a real paid canary - a provider outage never becomes your failure. Up to

SolanaBaseAnswering
POSThttps://agent402.tools/v1/audio/speech

Uptime100% of 5 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://agent402.tools/v1/audio/speech", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"input":"Agent402 serves 500+ tools, paid per call.","voice":"alloy"}),
});
console.log(await res.json());

Example input

{
  "input": "Agent402 serves 500+ tools, paid per call.",
  "voice": "alloy"
}

More from Text-to-speechProvider status