{"uid":"cap_XQsb17H9oViCuFdEJwTBb","slug":"x402-cloud-text-to-speech-hooks-deaaf6c8","name":"X402 Cloud Text-to-Speech Hooks","description":"Agent-ready x402 APIs for AI video production, audio localization, web research, document extraction, data analysis, and structured JSON transformation.","url":"https://api.x402cloud.space/api/v1/text-to-speech-hooks","method":"POST","headers":{},"bodySchema":{"type":"object","required":["input"],"properties":{"input":{"type":"object"},"options":{"type":"object"}}},"responseSchema":{"type":"object","required":["status","request_id","result"],"properties":{"usage":{"type":"object"},"result":{"type":"object","additionalProperties":true},"status":{"type":"string"},"payment":{"type":"object","additionalProperties":true},"warnings":{"type":"array","items":{"type":"string"}},"model_used":{"type":"string"},"request_id":{"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_MsH8cKTEMGothjUjh3HLr","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 input into synthesized speech audio via a pay-per-call x402-enabled API endpoint.","exampleAgentPrompt":"Can you convert this script into spoken audio: 'Welcome to our platform, we're glad you're here. Let's get started on your journey today.'","exampleUseCases":[{"title":"Voiceover for product demo video","prompt":"Take this product description and turn it into a voiceover narration I can use in my demo video: 'Our tool helps teams ship faster by automating repetitive tasks and surfacing insights instantly.'"},{"title":"Audiobook narration from article","prompt":"Read out this blog post as audio so I can listen to it on my commute: 'Artificial intelligence is reshaping the way we think about productivity in the modern workplace...'"},{"title":"Multilingual audio localization","prompt":"Generate spoken audio from this translated Spanish text so I can add it as a localized voiceover to my app: 'Bienvenido a nuestra plataforma, estamos felices de tenerte aquí.'"}],"resultDescription":"Returns a JSON object containing a status field, a unique request_id, and a result object with the synthesized speech output. May also include model_used to indicate which TTS model was invoked, a payment confirmation object, usage statistics, and any warnings encountered during processing.","failureModes":["Missing or malformed 'input' object returns a validation error","Insufficient USDC payment (x402 payment failure) results in a 402 Payment Required response","Unsupported voice or language options in the options object may trigger warnings or fallback behavior","Empty or excessively long text input may cause processing errors or truncation","Network timeouts for large audio generation jobs"],"whenToPreferThis":"Choose this endpoint when you need a pay-as-you-go, agent-native text-to-speech API that integrates with the x402 micropayment protocol (USDC on-chain payments) at $0.02 per call. Ideal for AI agents that need to generate speech audio programmatically without subscription overhead, especially in autonomous workflows where on-demand audio synthesis is needed for voiceovers, narration, or audio localization tasks.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T18:35:07.132Z","isFirstParty":false}