agent402.tools Text-to-Speech (OpenAI TTS-1) is a paid API for AI agents from agent402.tools, paid per call via x402, $0.05/call, not verified (last probed 2026-10-30); 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 (up to 2000 chars) to base64-encoded audio using OpenAI TTS-1, with 10 voice options and multiple output formats, paid per-call via x402.
Convert text to speech with the eleven-v4-turbo model: returns audio (the base64-encoded file in the format asked for: mp3, opus, aac, flac, wav or pcm) with model, voice, format and chars (the characters spoken). The ten standard voice names each map to their own voice, or name one of 21 named voices directly; the answer names the voice that spoke. 90+ languages.
A base64-encoded audio file in the requested format (mp3, opus, aac, flac, wav, or pcm) containing the synthesized speech of the input text, generated using one of 10 available OpenAI TTS-1 voices.
POSThttps://agent402.tools/api/tts?utm_source=zero.xyzUse this endpoint when you need server-side text-to-speech synthesis without managing your own OpenAI API key, want pay-per-call pricing via x402 (no subscription), need a specific voice from OpenAI's TTS-1 lineup (alloy, ash, ballad, coral, echo, fable, nova, onyx, sage, shimmer), or require a specific audio format output as base64 for easy embedding.
| Field | Type | Description |
|---|---|---|
| text | string | Text to convert to speech (max 2000 chars) |
| voice | string | Voice: alloy, ash, ballad, coral, echo, fable, nova, onyx, sage, shimmer (default: alloy), each mapped to its own voice, or a named voice (george, sarah, adam, alice, bella, bill, brian, callum, charlie, chris, daniel, eric, harry, jessica, laura, liam, lily, matilda, river, roger, will) |
| format | string | Audio format: mp3, opus, aac, flac, wav, pcm (default: mp3) |
{
"type": "json",
"example": {
"audio": "<base64-encoded audio>",
"chars": 20,
"model": "elevenlabs/eleven-v4-turbo",
"voice": "river",
"format": "mp3",
"provider": "openrouter"
}
}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"