{"uid":"cap_gZzxkhXeKzmfg4AdOAm_O","slug":"payweave-cloudflare-tts-text-to-speech-api-4521fff6","name":"PayWeave Cloudflare TTS - Text-to-Speech API","description":"Browser rendering, transcription, image, vision, and speech on Cloudflare&#39;s edge.","url":"https://cloudflare.payweave.services/tts/speak","method":"POST","headers":{},"bodySchema":{"type":"object","required":["text"],"properties":{"text":{"type":"string","description":"Text to synthesize. 1-2000 characters. Priced per 1k chars."},"model":{"enum":["gpt-4o-mini-tts","tts-1","tts-1-hd"],"type":"string","description":"Model: gpt-4o-mini-tts (default), tts-1, or tts-1-hd."},"voice":{"enum":["alloy","ash","coral","echo","fable","onyx","nova","sage","shimmer"],"type":"string","description":"Voice: alloy (default), ash, coral, echo, fable, onyx, nova, sage, shimmer."}}},"responseSchema":{"type":"string","format":"binary"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.03","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.03/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_83JzHxc6P9t3I37hvJB66","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.03","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts text to spoken audio using OpenAI-compatible TTS models (gpt-4o-mini-tts, tts-1, tts-1-hd) running on Cloudflare's edge, returning binary audio.","exampleAgentPrompt":"Read this product description aloud using the nova voice and the tts-1-hd model, and give me the audio file: 'Introducing the all-new Aero X running shoe — lightweight, breathable, and built for speed.'","exampleUseCases":[{"title":"Accessibility voiceover for web content","prompt":"Convert our entire blog post into an audio file using the shimmer voice so visually impaired users can listen instead of read. Use the highest quality model available."},{"title":"Customer support chatbot voice responses","prompt":"Turn these support replies into spoken audio messages using the onyx voice and tts-1 model so our agents can send voice notes back to customers quickly without typing."},{"title":"Multilingual product demo narration","prompt":"Generate audio narration for our product walkthrough video using the alloy voice and gpt-4o-mini-tts — I need the file to overlay on the video timeline."}],"resultDescription":"A binary audio file (spoken audio) containing the synthesized speech of the provided text, rendered in the selected voice and model quality.","failureModes":["Text exceeds 2000 character limit — request rejected or truncated","Invalid model name supplied — falls back to default or returns error","Invalid voice name supplied — may return error or use default voice","Payment not accepted or USDC balance insufficient — 402 response blocking the call","Empty text field — likely returns 400 bad request","Service unavailable on Cloudflare edge — 503 or timeout"],"whenToPreferThis":"Choose this endpoint when you need pay-per-call TTS with no subscription, billed per 1k characters via USDC micropayment, running on Cloudflare's globally distributed edge for low-latency audio generation. Prefer it when you want OpenAI-compatible voice options (alloy, nova, shimmer, onyx, etc.) without managing an OpenAI API key directly, or when integrating into an x402-compatible payment flow.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:34:35.600Z","isFirstParty":false}