{"uid":"cap_S_fSy6twAV6eT41WOmmam","slug":"openrouter-speech-synthesis-58fd0286","name":"OpenRouter Speech Synthesis","description":"Generate speech/audio bytes (one-shot charge; character or bounded audio pricing; models, prices and voices at GET /v1/audio/models)","url":"https://openrouter.mpp.tempo.xyz/v1/audio/speech?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":null,"responseSchema":null,"example":null,"exampleRequest":null,"tags":["llm","unified","multi-model","chat","ai"],"displayCostAmount":"unknown","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"unknown_unparsed","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":"unknown","summary":"price unknown","primary":{"kind":"unknown","protocol":"mpp","network":"tempo","amountUsd":null,"per":"call","confidence":"unknown"},"accepted":[{"kind":"unknown","protocol":"mpp","network":"tempo","amountUsd":null,"per":"call","confidence":"unknown"}]},"paymentMethods":[{"uid":"pm_y3fi5yNoQn8ThjOrqLzLA","protocol":"mpp","methodType":"crypto","chain":"tempo","mode":"charge","costAmount":"unknown","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":"OpenRouter","brandSlug":"openrouter","brandBaseUrl":"https://openrouter.ai","brandDocsUrl":"https://openrouter.ai","whatItDoes":"Converts text to speech audio bytes using configurable models and voices, billed per character or audio unit","exampleAgentPrompt":"Using OpenRouter's speech endpoint, read this paragraph aloud in a calm, authoritative female voice: 'Welcome to our annual report. This year marked record growth across all divisions.' — use the best available neural TTS model and return the audio bytes.","exampleUseCases":[{"title":"Podcast intro narration generation","prompt":"Take this intro script and turn it into spoken audio using a warm, engaging male voice: 'Hello and welcome to The Future of Work podcast. I'm your host, and today we're diving into AI in the workplace.' Give me the audio file I can drop into my editor."},{"title":"Accessibility voiceover for article","prompt":"I need to make this news article accessible — can you synthesize an audio version using a clear, neutral female voice? Here's the article text: 'Scientists have discovered a new species of deep-sea fish off the coast of New Zealand.' Return the audio bytes so I can embed them on the page."},{"title":"E-learning course audio narration","prompt":"Generate spoken audio for this e-learning slide narration: 'In this module, you will learn the fundamentals of project management, including planning, execution, and monitoring phases.' Use a professional, steady voice and give me the audio I can attach to the slide."}],"resultDescription":"Raw audio bytes representing the synthesized speech, ready for playback or storage. The audio format and encoding depend on the selected model and request parameters. Pricing is determined per character or per unit of audio as specified by the selected model's pricing tier.","failureModes":["Invalid or unsupported voice identifier returns an error","Unsupported model ID causes a 400 or 422 error","Text input exceeding model character limits causes rejection","Missing required fields (text, model, voice) returns a validation error","Insufficient USDC balance causes payment failure","Network timeout for long text inputs","Model temporarily unavailable returns a 503 error"],"whenToPreferThis":"Choose this endpoint when you need high-quality text-to-speech audio generation through a unified multi-model API with live pricing, and want the flexibility to select from multiple TTS models and voices. Prefer this over single-provider TTS APIs when you want model choice, transparent per-character or per-audio pricing, and access to OpenRouter's model catalog without managing multiple provider credentials.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-29T06:32:29.004Z","isFirstParty":false,"canonicalSlug":"openrouter-speech-synthesis-58fd0286"}