{"uid":"cap_mf4np-ngppsdZIZctEgdo","slug":"api-the402-ai-24fd6d44","name":"the402.ai Text-to-Speech Purchase","description":"Purchase: Text-to-Speech","url":"https://api.the402.ai/v1/services/svc_a800d144af134773/purchase","method":"POST","headers":{},"bodySchema":null,"responseSchema":{"type":"object","properties":{"job_id":{"type":"string"},"status":{"type":"string"},"thread_id":{"type":"string"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.021","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":"down","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.021/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.021","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.021","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_EL470lK58JyU03Li16nNa","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.021","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts input text into synthesized speech audio via a paid API call on the402.ai marketplace","exampleAgentPrompt":"Can you read out this message aloud as an audio file: 'Welcome to our service, your appointment is confirmed for tomorrow at 3pm' — use the402.ai text-to-speech to generate the spoken audio.","exampleUseCases":null,"resultDescription":"The agent receives synthesized speech audio generated from the provided text input, delivered after a $0.021 USDC payment is processed via the x402 payment protocol.","failureModes":["Insufficient USDC balance or payment failure — payment not accepted","Invalid or missing text input — bad request error","Service unavailable or job queue overloaded — server error","Malformed request body — 400 error","Payment not released — audio not delivered until verification step"],"whenToPreferThis":"Choose this endpoint when an AI agent needs to programmatically purchase text-to-speech synthesis on the402.ai marketplace, especially within an agentic workflow that uses x402 micropayment infrastructure. Best suited for agents that need to pay per-use for TTS without a subscription, or when integrating with other the402.ai services in a multi-step agentic pipeline.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":1,"lastUsedAt":"2026-04-23T21:03:48.744Z","lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T15:26:53.499Z","isFirstParty":false}