{"uid":"cap_s6626NiMiyuU_ulvXnRDt","slug":"agent-factory-tts-text-to-speech-via-amazon-polly-5418f65a","name":"Agent Factory TTS – Text-to-Speech via Amazon Polly","description":"Pay-per-request datasets and Amazon Bedrock inference for AI agents, settled in USDC over the x402 protocol on Base.","url":"https://d1x8xrm7jrzkbs.cloudfront.net/v1/tts","method":"POST","headers":{},"bodySchema":{"type":"object","required":["text"],"properties":{"text":{"type":"string","description":"Text to synthesize"},"voice":{"type":"string","description":"Polly neural voice, e.g. Joanna"}}},"responseSchema":{"type":"object","properties":{"audioBase64":{"type":"string"},"contentType":{"type":"string"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_fHOSdfsDkbYFjy5wv-Oji","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts text to speech audio using Amazon Polly neural voices, returning base64-encoded audio, billed per-request in USDC over the x402 protocol.","exampleAgentPrompt":"Can you synthesize this paragraph into speech using the Joanna neural voice: 'Welcome to our weekly briefing. Here are the top stories for today.'","exampleUseCases":[{"title":"Podcast intro voice-over generation","prompt":"Read this intro script aloud using the Joanna voice and give me the audio: 'Hello and welcome to TechTalk, the show where we break down the latest in AI and software engineering.'"},{"title":"Accessibility audio for article text","prompt":"Convert this article summary into spoken audio so I can listen to it on the go: 'Scientists have discovered a new exoplanet in the habitable zone of a nearby star, raising hopes for extraterrestrial life.'"},{"title":"In-app notification narration","prompt":"Synthesize this short alert message as speech using the Matthew neural voice: 'Your order has shipped and will arrive by Friday.'"}],"resultDescription":"Returns a JSON object containing 'audioBase64' (a base64-encoded audio file of the synthesized speech) and 'contentType' (e.g. 'audio/mpeg') indicating the audio format. The agent can decode the base64 string to obtain a playable audio file.","failureModes":["Missing required 'text' field returns a validation error","Invalid or unsupported voice name may cause synthesis failure or fallback to default voice","Very long text inputs may exceed service limits and return an error","Payment failure over x402/USDC causes a 402 response before synthesis occurs","Network or CloudFront timeout for unusually slow synthesis requests"],"whenToPreferThis":"Choose this endpoint when you need pay-per-use neural text-to-speech synthesis without a subscription, especially when operating in a crypto-native or x402-payment-capable agent environment billed in USDC. Prefer it over traditional TTS APIs when your agent already handles x402 micropayments on Base and you want Amazon Polly neural voice quality at $0.02 per call with no upfront commitment.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T18:42:58.546Z","isFirstParty":false}