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, status healthy (last checked 2026-09-13, last successful call 2026-09-07).
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 using OpenAI TTS-1. Returns base64-encoded audio (mp3/opus/aac/flac/wav/pcm). 10 voices available. No API key needed; pay per call via x402. Text capped at 2000 chars.
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/ttsUse 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) |
| format | string | Audio format: mp3, opus, aac, flac, wav, pcm (default: mp3) |
{
"type": "json",
"example": {
"audio": "<base64-encoded audio>",
"chars": 20,
"model": "tts-1",
"voice": "alloy",
"format": "mp3",
"provider": "openai"
}
}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"