{"uid":"cap_Q3mb7nCg66I30Cmg4eE4G","slug":"agent402-tools-text-to-speech-x402-77239076","name":"agent402.tools Text-to-Speech (x402)","description":"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 Flash, MAI-Voice-2), every link proven by a real paid canary - a provider outage never becomes your failure. Up to 2,000 chars in, raw mp3 (default) or pcm bytes out - the same wire shape as OpenAI's endpoint.","url":"https://agent402.tools/v1/audio/speech","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"zdr":{"type":"boolean","description":"Optional - true routes only to zero-data-retention providers"},"input":{"type":"string","description":"Text to speak (up to 2,000 chars)"},"model":{"type":"string","description":"Optional - pin a chain model (e.g. mistralai/voxtral-mini-tts-2603); the rest stay as fallbacks"},"speed":{"type":"number","description":"Optional 0.25–4 playback speed (providers that don't support it ignore it)"},"voice":{"type":"string","description":"OpenAI voice name - alloy (default), ash, ballad, coral, echo, fable, onyx, nova, sage, shimmer, verse - or a native voice id from GET /v1/models (e.g. en_paul_cheerful)"},"response_format":{"type":"string","description":"\"mp3\" (default) or \"pcm\""}}},"responseSchema":{"type":"json","example":"(raw mp3 bytes - Content-Type: audio/mpeg)"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.06","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.06/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.06","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.06","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_wmmOW6GTDtNWmj9cw__zH","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.06","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts text to spoken audio using Voxtral Mini TTS with a five-model failover chain, billed at $0.06 USDC per call via x402 with no API key required","exampleAgentPrompt":"Read this aloud in the 'nova' voice at 1.2x speed and give me an MP3: 'Welcome to our product demo. Today we'll walk you through our newest features, designed to save you time and help you focus on what matters.'","exampleUseCases":null,"resultDescription":"Raw audio binary (MP3 by default, or PCM if specified) of the input text spoken in the chosen voice, returned directly as the response body, ready to be saved or streamed","failureModes":["Payment failure — x402 payment not accepted or insufficient USDC balance","Text too long — input exceeds 2,000 character limit","Invalid voice name — unrecognized voice ID returns an error","All five fallback models unavailable — full failover chain exhausted","Invalid response_format — value other than 'mp3' or 'pcm' rejected","Speed out of range — value outside 0.25–4.0 rejected"],"whenToPreferThis":"Choose this endpoint when you need OpenAI SDK-compatible TTS with no signup or API key, want to pay per call in USDC via x402, or need a resilient multi-model failover chain for speech synthesis. Ideal for agents that already use the OpenAI audio.speech.create() interface and want a drop-in replacement with crypto micropayments.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:56:40.139Z","isFirstParty":false}