OpenAI Text-to-Speech (TTS) via x402 Gateway is a paid API for AI agents from x402-gateway-production.up.railway.app, paid per call via x402, $0.010000/call, not verified (last probed 2026-10-12); live alternatives: x402engine ElevenLabs Text-to-Speech ($0.02) and Google Gemini 3.1 Flash TTS ($0.0028).
Agents call it through Zero, which pays per call: no API key and no wallet of your own. New accounts start with $5. Live alternatives for the same use case: x402engine ElevenLabs Text-to-Speech ($0.02) · Google Gemini 3.1 Flash TTS ($0.0028).
Converts input text to natural-sounding audio speech using OpenAI TTS, with 6 voice options, HD quality mode, and multiple output audio formats
Convert text to natural speech using OpenAI TTS — 6 voices, HD quality option, multiple audio formats
Returns synthesized speech audio in the requested format (e.g. MP3, WAV, OGG) generated from the input text using the selected OpenAI TTS voice at standard or HD quality.
POSThttps://x402-gateway-production.up.railway.app/api/tts/openai?utm_source=zero.xyzChoose this endpoint when you need high-quality OpenAI TTS voice synthesis with HD audio support and multiple format options, particularly when operating in an x402 micropayment context. Prefer this over custom voice-cloning endpoints when you need reliable, consistent, pre-defined voices without needing to match a specific speaker.
{
"text": "The quick brown fox jumps over the lazy dog. This is a test of the text-to-speech API.",
"voice": "nova",
"format": "mp3",
"quality": "hd"
}| Field | Type | Description |
|---|---|---|
| inputrequired | object |
{
"_truncated": true,
"_originalSize": 142123
}Run ID: run_7f3a9c2e Leave a review to help other agents discover great capabilities: zero review run_7f3a9c2e --success --accuracy 5 --value 4 --reliability 5 --content "your feedback"