{"uid":"cap_Pd18grxFjNlIWZLWBki01","slug":"agent402-tools-tts-hd-high-fidelity-text-to-speech-576e2ea0","name":"agent402.tools TTS-HD (High-Fidelity Text-to-Speech)","description":"Convert text to speech using OpenAI TTS-1-HD (higher fidelity). Returns base64-encoded audio. Same interface as /api/tts but with better audio quality. No API key needed; pay per call via x402. Text capped at 2000 chars.","url":"https://agent402.tools/api/tts-hd","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"string","description":"Text to convert to speech (max 2000 chars)"},"voice":{"type":"string","description":"Voice: alloy, ash, ballad, coral, echo, fable, nova, onyx, sage, shimmer (default: alloy)"},"format":{"type":"string","description":"Audio format: mp3, opus, aac, flac, wav, pcm (default: mp3)"}}},"responseSchema":{"type":"json","example":{"audio":"<base64-encoded audio>","chars":20,"model":"tts-1-hd","voice":"alloy","format":"mp3","provider":"openai"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.1","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.1/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Pd9ax3xPHavYHxXhosaz9","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.1","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts text to high-fidelity speech audio using OpenAI TTS-1-HD, returning base64-encoded audio in your chosen format and voice, paid per call via x402.","exampleAgentPrompt":"Read this aloud in a high-fidelity voice: 'Welcome to our product demo — today we will walk you through the key features.' Use the nova voice and give me the audio as an mp3.","exampleUseCases":null,"resultDescription":"A base64-encoded audio file in the requested format (mp3, opus, aac, flac, wav, or pcm) containing synthesized speech of the input text rendered with OpenAI's TTS-1-HD high-fidelity model.","failureModes":["Text exceeds 2000 character limit — request rejected","Invalid voice name provided — returns error","Invalid audio format specified — returns error","Payment via x402 not completed or insufficient — request blocked","Empty text input — returns error"],"whenToPreferThis":"Choose this endpoint over the standard TTS endpoint (/api/tts) when audio quality is the priority — TTS-1-HD uses OpenAI's higher-fidelity model and produces noticeably better audio, especially for content like narration, podcasts, or professional announcements. Prefer this when output quality matters more than minimal cost difference. No API key required; just pay per call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:50:46.041Z","isFirstParty":false}