{"slug":"x402-telnyx-com-v1-audio-speech-219443","title":"Text-to-speech (OpenAI-compatible /v1/audio/speech)","host":"x402.telnyx.com","method":"POST","resource":"https://x402.telnyx.com/v1/audio/speech","category":"image","description":"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","price_listed":0.018,"price_asked":0.018,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":316,"reported_calls_30d":18,"reported_payers_30d":2,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"input":"Hello from the Telnyx x402 gateway.","model":"tts-1","voice":"alloy"},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"properties":{"input":{"description":"Text to synthesize (max 3000 characters).","maxLength":3000,"minLength":1,"type":"string"},"model":{"description":"Accepted for OpenAI SDK compatibility; the voice id selects the engine.","type":"string"},"response_format":{"enum":["mp3"],"type":"string"},"voice":{"description":"OpenAI voice name (alloy, echo, fable, onyx, nova, shimmer, …) or Telnyx voice id (Provider.Model.VoiceId). Full catalog: GET /v1/audio/voices.","type":"string"}},"required":["input","voice"],"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-10-18","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.018,"price_match":true,"latency_ms":316,"error":null}],"description_full":"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.","last_updated":"2026-10-15T14:39:25.814Z","schemes":["exact","upto"]}