{"uid":"cap_b6nKegmfmoMG_tAfD7Wgb","slug":"klymax402-text-to-speech-api-a2d7250f","name":"klymax402 Text-to-Speech API","description":"One MCP endpoint gives your AI agent access to 100 APIs -- crypto, DeFi, web, AI, finance and utilities. No API keys, USDC on Base from $0.003/call.","url":"https://klymax402.com/api/text-to-speech/api/speak","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"string","description":"The text to convert to speech (max 200 characters per request)"},"language":{"type":"string","description":"Language code: en, fr, es, de, it, pt, ja, ko, zh, ar, ru, hi, etc. (default: en)"}}},"responseSchema":{"type":"json","example":{"audio":"example","format":"example","language":"example","mimeType":"example","textLength":1,"audioSizeBytes":1}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.012","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.012/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.012","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.012","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_tpOEXLGCEpEcYDQQ5G0oy","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.012","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts text (up to 200 characters) into synthesized speech audio in multiple languages, returning base64-encoded audio data with format and MIME type metadata.","exampleAgentPrompt":"Can you read this sentence aloud in Japanese: 'Welcome to our store, how can I help you today?' — give me the audio data back.","exampleUseCases":[{"title":"Multilingual voice notification","prompt":"Convert this short alert message 'Your order has shipped!' into spoken French audio so I can play it for our French-speaking customers."},{"title":"Accessibility audio generation","prompt":"Take this caption text 'Press the red button to continue' and generate an English speech audio file I can embed in our app for visually impaired users."},{"title":"AI chatbot voice response","prompt":"My chatbot just replied with 'Your appointment is confirmed for Monday at 3pm' — can you turn that into spoken audio in Spanish so the user hears it out loud?"}],"resultDescription":"Returns a JSON object containing: 'audio' (base64-encoded audio data), 'format' (audio format identifier), 'language' (the language code used), 'mimeType' (MIME type of the audio, e.g. audio/mp3), 'textLength' (character count of input text), and 'audioSizeBytes' (size of the audio output in bytes).","failureModes":["Text exceeds 200 character limit — request will likely be rejected or truncated","Unsupported language code provided — may default to English or return an error","Empty text input — likely returns an error or empty audio","Payment failure via x402 — call is not executed if USDC payment of $0.012 on Base is not completed","Network timeout if audio generation takes too long"],"whenToPreferThis":"Choose this endpoint when you need a quick, low-cost ($0.012/call), pay-per-use text-to-speech conversion without managing API keys or subscriptions, especially within an AI agent workflow on the x402/Base payment network. Ideal for short texts (under 200 characters) in one of the supported languages where you need raw audio data returned inline. Less suitable for long-form narration or when high-fidelity voice customization (speaker selection, speed, pitch) is required.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:56:10.515Z","isFirstParty":false}