{"uid":"cap_1Di5X0gC3UX91vAxga3RP","slug":"agentservices-text-to-speech-e106feaa","name":"AgentServices Text-to-Speech","description":"Paid data APIs for AI agents. Crypto market data, DeFi yields, IP geolocation, dispute resolution, marketing intelligence. Powered by x402 micropayments on Base.","url":"https://agentservices.to/v1/audio/speech","method":"POST","headers":{},"bodySchema":{"type":"object","required":["text"],"properties":{"text":{"type":"string","description":"Text to convert to speech"},"model":{"type":"string","description":"TTS model"},"voice":{"type":"string","description":"Voice: alloy, echo, fable, onyx, nova, shimmer"}}},"responseSchema":{},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","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.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Zv3ZF5DbozLFr8232z_y6","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts text into spoken audio using selectable voice and TTS model, paid via x402 micropayments","exampleAgentPrompt":"Read this aloud using the nova voice: 'Welcome to our weekly market update. Today we cover Bitcoin, Ethereum, and DeFi trends.'","exampleUseCases":[{"title":"Podcast intro narration generation","prompt":"Turn this script into spoken audio using the shimmer voice: 'Hello and welcome to AgentBriefs, your daily AI-curated news summary. Let's dive in.'"},{"title":"Accessibility audio for written content","prompt":"Convert this article summary to speech using the alloy voice so I can listen to it hands-free: 'Markets rallied today as inflation data came in below expectations, boosting tech stocks across the board.'"},{"title":"Automated agent voice announcements","prompt":"Generate a spoken announcement using the onyx voice that says: 'Your transaction has been confirmed. Funds will arrive within 2 business hours.'"}],"resultDescription":"Returns a binary audio file (likely MP3 or WAV) containing the synthesized speech of the provided text, rendered in the selected voice style using the specified TTS model.","failureModes":["Empty or missing 'text' field returns a 400 validation error","Invalid voice name (not one of alloy, echo, fable, onyx, nova, shimmer) may return an error or fall back to default","Text too long may exceed model token limits and return a truncation or limit error","Insufficient USDC balance or x402 payment failure results in 402 Payment Required","Invalid model identifier may return a model-not-found error"],"whenToPreferThis":"Choose this endpoint when your agent needs pay-per-call TTS without managing API keys or subscriptions — ideal for autonomous agents that need on-demand voice generation billed via x402 USDC micropayments on Base. Prefer it over direct OpenAI TTS when operating in a wallet-native, agentic micropayment context with no pre-registered credentials.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:34:59.585Z","isFirstParty":false}