{"uid":"cap_eocnXkQJREwYNfI06jCBJ","slug":"hubvibe-text-to-speech-google-cloud-tts-e78e6b42","name":"HubVibe Text-to-Speech (Google Cloud TTS)","description":"Text to speech (TTS): convert text to natural spoken MP3 audio with Google Cloud Text-to-Speech, returned as base64. Use it for voice replies, narration, audio versions of text and accessibility. Input: text; optional voice name.","url":"https://hubvibe-io.com/work/speech/synthesize?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"text":{"type":"string"},"voice":{"type":"string"},"language":{"type":"string","pattern":"^[A-Za-z]{2,3}(-[A-Za-z0-9]{2,8})*$","maxLength":35}}},"responseSchema":{"type":"json","example":{"result":{"voice":"en-US-Neural2-C","mime_type":"audio/mpeg","text_chars":58,"audio_base64":"UklGRi4AAABXQVZF..."},"status":"ok","worker":"speech.synthesize","price_usd":0.25,"provenance":{"steps":[{"ms":312,"ok":true,"step":"quote","reason":"provider_timeout","provider":"coinbase-advanced-trade-public"}],"attempts":1,"elapsed_ms":340,"providers_used":["coinbase-advanced-trade-public"]},"receipt_id":"rcpt_9f1c2b3a4d5e6f70","attribution":[{"url":"https://translate.google.com","text":"Translated by Google"}],"receipt_url":"/work/receipts/rcpt_9f1c2b3a4d5e6f70"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.25","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.25/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.25","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.25","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_mgpDpmXnM-UHGmmAF4iaY","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.25","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 spoken MP3 audio using Google Cloud Text-to-Speech, with optional voice selection.","exampleAgentPrompt":"Can you turn this script into spoken audio using the en-US-Standard-C voice? The text is: 'Welcome to our quarterly product update. We're excited to share what we've been building.'","exampleUseCases":[{"title":"Podcast intro narration generation","prompt":"Take this intro script and convert it to spoken audio in a US English voice — 'Hello and welcome to The Daily Stack, your morning briefing on all things tech.' Use the en-US-Standard-C voice and give me the MP3."},{"title":"Accessibility audio for written article","prompt":"I need to make my article accessible — can you synthesize the following paragraph into spoken audio? 'Artificial intelligence is reshaping how businesses operate, from automating repetitive tasks to generating creative content.' Use the default voice."},{"title":"E-learning voiceover from lesson text","prompt":"Generate a voiceover MP3 for this e-learning slide using the en-US-Standard-C voice: 'In this module, we'll cover the fundamentals of machine learning, including supervised and unsupervised learning techniques.'"}],"resultDescription":"An MP3 audio file containing the spoken rendition of the input text, generated by Google Cloud Text-to-Speech using the specified (or default) voice.","failureModes":["Empty or missing text field returns an error","Unsupported or misspelled voice name may cause synthesis failure or fallback to default","Very long text inputs may exceed API limits or increase latency","Service may return an error if the backend Google Cloud TTS quota is exhausted","Non-ASCII or unsupported language characters may produce garbled audio"],"whenToPreferThis":"Choose this endpoint when you need a quick, pay-per-call text-to-speech conversion backed by Google Cloud's high-quality voices, without managing Google Cloud credentials yourself. It is ideal for agents that occasionally need spoken audio output without provisioning a TTS service. Prefer it over raw Google Cloud TTS when you want a simple HTTP POST with per-call micropayment billing.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T01:13:48.229Z","isFirstParty":false,"canonicalSlug":"hubvibe-text-to-speech-google-cloud-tts-e78e6b42"}