{"uid":"cap_eW4edPi2zTubw7eAdloR5","slug":"agentsvc-io-text-to-speech-tts-e09f5715","name":"agentsvc.io Text-to-Speech (TTS)","description":"86 APIs for AI agents: web scraping and crawling to Markdown, AI summaries, data extraction and cited answers, screenshots and PDF, PDF, OCR and document conversion, news, paper and developer search and more, paid per call with USDC on Base, Solana, Polygon or Arbitrum via x402. No account, no API key, free sample on every service.","url":"https://agentsvc.io/api/v1/proxy/tts?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"string"},"speed":{"type":"number","default":1,"maximum":2,"minimum":0.5},"voice":{"enum":["en-female","en-male","de-male"],"type":"string"},"format":{"enum":["mp3","wav","ogg"],"type":"string","default":"mp3"},"language":{"enum":["en","de"],"type":"string"}}},"responseSchema":{"type":"json","example":{"data":{"voice":"en-female","format":"mp3","gender":"female","language":"en-US","mime_type":"audio/mpeg","characters":42,"size_bytes":23658,"audio_base64":"SUQzBAAAAAAAI1RTU0UAAAAPAAADTGF2…","voice_license":"public domain","duration_seconds":2.93},"success":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.04","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.04/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.04","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.04","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_LUDumGrViNgMnOoTI6HGj","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.04","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts text into audio (MP3/WAV/OGG) using selectable voices and languages, returning base64-encoded audio, paid per call via USDC on Base.","exampleAgentPrompt":"Can you read out this text as an audio file using an English female voice at normal speed and give it back to me as an MP3: 'Welcome to our platform, we're glad you're here.'","exampleUseCases":[{"title":"Podcast intro voiceover generation","prompt":"Turn this intro script into a spoken MP3 using the English male voice at 1x speed: 'Welcome back to The Daily Digest, your source for the latest tech news.'"},{"title":"German audio announcement","prompt":"Generate a WAV audio file in German using the German male voice at 0.9x speed for this text: 'Willkommen bei unserem Service. Bitte wählen Sie eine Option.'"},{"title":"Accessible audio version of article","prompt":"Convert this paragraph into an English female voice MP3 at 1x speed so I can embed it as an audio summary: 'Researchers have discovered a new method for improving solar panel efficiency by up to 30 percent.'"}],"resultDescription":"Returns a JSON object containing the base64-encoded audio data, MIME type, voice used, language, gender, duration in seconds, file size in bytes, character count, and voice license information. The audio can be decoded from base64 and played back or saved as the requested format (MP3, WAV, or OGG).","failureModes":["Text input too long or empty — returns validation error","Unsupported voice/language combination (e.g. 'de-male' with language 'en') — may produce error or unexpected output","Speed value outside 0.5–2.0 range — rejected with validation error","Insufficient USDC balance on Base for x402 payment — payment failure, no audio returned","Network timeout if text is very long and synthesis takes too long"],"whenToPreferThis":"Choose this endpoint when an AI agent needs to synthesize speech from text on a per-call pay-as-you-go basis with no account or API key setup, especially for English (male/female) or German (male) voices. Ideal for agents that occasionally need TTS without committing to a subscription-based TTS provider. The micropayment model via USDC on Base makes it well-suited for autonomous agents managing their own budgets.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T19:29:13.473Z","isFirstParty":false,"canonicalSlug":"agentsvc-io-text-to-speech-tts-e09f5715"}