{"uid":"cap_Jes01AZDe6ltLQyp7HAAW","slug":"agishub-text-to-speech-audio-speak-dffe514e","name":"AGISHub Text-to-Speech (audio-speak)","description":"Convert text into spoken audio (returned base64-encoded MP3), in several languages.","url":"https://api.agishub.com/paid/audio-speak","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input","output"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","required":["text"],"properties":{"lang":{"enum":["en","es","fr","zh","jp","kr"],"type":"string","description":"Language of the text (default 'en')."},"text":{"type":"string","minLength":1,"description":"The text to convert to spoken audio."}},"additionalProperties":false},"type":{"enum":["http"],"type":"string"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type","example"],"properties":{"type":{"enum":["json"],"type":"string"},"example":{"type":"object"}},"additionalProperties":false}}},"responseSchema":null,"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_bGqSWknkHuGL5CLp4UBYY","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 and returns a base64-encoded MP3, supporting English, Spanish, French, Chinese, Japanese, and Korean.","exampleAgentPrompt":"Can you read out this text in French and give me the audio file: 'Bonjour, bienvenue sur notre plateforme d'intelligence artificielle'?","exampleUseCases":[{"title":"Multilingual podcast intro generation","prompt":"Turn this intro paragraph into spoken audio in Spanish: 'Bienvenidos al podcast de tecnología donde exploramos el futuro de la inteligencia artificial.'"},{"title":"Accessibility audio for web content","prompt":"Convert this article summary to spoken English audio so I can embed it as an audio version on my page: 'Artificial intelligence is reshaping industries across the globe, from healthcare to finance.'"},{"title":"Japanese language learning audio","prompt":"Generate spoken audio in Japanese for this phrase I want to practice: 'おはようございます、今日はいい天気ですね'"}],"resultDescription":"A JSON object containing the synthesized audio as a base64-encoded MP3 string, ready to decode and play or save as an audio file.","failureModes":["Empty or missing 'text' query parameter returns a validation error","Unsupported language code outside the enum (en, es, fr, zh, jp, kr) causes a bad request error","Text that is too long may result in a timeout or truncation","Payment failure via x402 protocol blocks the request before synthesis","Network or upstream TTS engine errors may return a 5xx response"],"whenToPreferThis":"Choose this endpoint when you need a quick, multilingual text-to-speech conversion that returns base64-encoded MP3 audio via a simple GET request with pay-per-call pricing at $0.05 USDC. It is especially suitable for agents that need on-demand audio generation in one of six supported languages (English, Spanish, French, Chinese, Japanese, Korean) without managing a subscription or API key — just an x402-compatible payment flow.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:54:54.235Z","isFirstParty":false}