Text-to-speech (4,358 voices)
Text-to-speech (OpenAI-compatible /v1/audio/speech). 4,358 voices across 9 providers (KokoroTTS, AWS Polly, Azure, MiniMax, more — free catalog at GET /v1/audio/voices). Returns mp3. Up to 3000 chars. $0.000006 USDC per character (Telnyx list rate, zero margin): pay per character via the upto scheme (min $0.002 network settlement floor, so ≤333-char calls settle at $0.002), or flat $0.018 exact.
- Price per call
- $0.02
- Chain
- Base
- Method
- POST
- Paid calls · 30 days
- 18
Call it from code
This API is run by its own provider and paid directly through x402. We list it so you can find it; we don't route or hold the payment.
import { x402Client, wrapFetchWithPayment } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
const client = new x402Client();
registerExactEvmScheme(client, { signer: agentAccount });
const pay = wrapFetchWithPayment(fetch, client);
const res = await pay("https://x402.telnyx.com/v1/audio/speech", { method: "POST" });
console.log(await res.json());https://x402.telnyx.com/v1/audio/speech