{"uid":"cap_xJ94zqHTUB28O-pMj7eiw","slug":"x402-ai-edge-tts-text-to-speech-bf375aac","name":"x402 AI Edge TTS (Text-to-Speech)","description":"Paid AI API endpoints via x402 micropayments","url":"https://x402-ai-peach.vercel.app/api/edge-tts","method":"POST","headers":{},"bodySchema":{"type":"object","required":["messages"],"properties":{"stream":{"type":"boolean","description":"Stream response"},"messages":{"type":"array","description":"Chat messages array"},"max_tokens":{"type":"integer","description":"Max tokens"},"temperature":{"type":"number","description":"Temperature"}}},"responseSchema":{"type":"object","properties":{"id":{"type":"string","description":"Response ID"},"choices":{"type":"array","items":{"type":"object","properties":{"message":{"type":"object","properties":{"role":{"type":"string"},"content":{"type":"string"}}}}}}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.075","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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.075/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.075","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.075","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_l9E0NLY9ptnP17nka25VV","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.075","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts text to speech audio using Microsoft Edge TTS voices, paid per-call via x402 micropayments","exampleAgentPrompt":"Using the Edge TTS endpoint, convert this script into spoken audio: 'Welcome to our platform. We are glad to have you here.' — stream the response back to me.","exampleUseCases":[{"title":"Narrate a blog post aloud","prompt":"Take the intro paragraph of my blog post — 'Artificial intelligence is reshaping the world at an unprecedented pace.' — and generate spoken audio from it using Edge TTS so I can add it to my podcast."},{"title":"Streaming voice assistant reply","prompt":"I want to stream an Edge TTS audio response for this message: 'Your order has been confirmed and will arrive by Friday.' Enable streaming so playback starts immediately."},{"title":"Automated customer support voice","prompt":"Generate a spoken version of this support response for my IVR system: 'Thank you for calling. Our support hours are Monday through Friday, 9am to 5pm Eastern.' Use Edge TTS and keep it under 100 tokens."}],"resultDescription":"Returns a response object with a unique ID and a choices array containing the synthesized speech content. Each choice includes a message with role and content fields. When streaming is enabled, chunks are delivered progressively as the audio is generated.","failureModes":["Payment failure if x402 micropayment of $0.075 USDC cannot be processed","Invalid messages array format returns a 400 validation error","Exceeding max_tokens limit may truncate audio output","Network timeout during streamed response delivery","Unsupported voice or language parameters may return empty content"],"whenToPreferThis":"Choose this endpoint when you need pay-per-use text-to-speech without a subscription, especially when using Microsoft Edge TTS voices and you want to settle payments automatically via x402 USDC micropayments. Ideal for agents that need occasional TTS without committing to a monthly plan, or when building crypto-native workflows where on-chain payments are preferred.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T17:52:18.974Z","isFirstParty":false}