Frequently asked questions
What is cloud TTS API?
A cloud text-to-speech API is a service where you send text via HTTP requests and receive an audio file. ShopSpeak provides a REST endpoint that accepts JSON bodies, supporting standard models like tts-1. It replaces local processing with scalable server-side synthesis, allowing your e-commerce platform to generate consistent audio for product descriptions and notifications on demand.
What is browser speech synthesis?
Browser speech synthesis uses the Web Speech API built into modern web browsers. It generates audio directly on the user’s device using local system voices. While convenient for simple demos, it relies on the user’s browser version and operating system, leading to inconsistent voice quality and limited control over output formats or speed.
Which is better for e-commerce?
Cloud TTS is better for e-commerce because it offers consistent, high-quality audio regardless of the user’s device. Browser synthesis varies by OS and browser, often sounding robotic. ShopSpeak provides professional voices like Aria or Felix, ensuring your product descriptions and cart abandonment notifications sound uniform and polished across all customer devices.
How do they differ in cost?
Browser synthesis is free but limited by device capabilities. Cloud TTS like ShopSpeak costs $10 per million characters. While there is a per-character fee, you pay only for successful generation. Failed requests are free. This predictable pricing model suits e-commerce scale, whereas browser limits may require complex workarounds for high-volume audio catalogs.
How do they differ in quality?
Cloud TTS delivers high-quality audio using voices based on licensed recordings from LibriTTS-R and LibriVox. ShopSpeak voices like Luna or Atlas sound natural and clear. Browser synthesis often uses older, robotic system voices. Cloud audio includes inaudible watermarks and supports multiple formats (mp3, wav, opus), ensuring professional-grade audio for your online store’s audio catalogs.
How do they differ in speed?
Browser synthesis is nearly instantaneous for short phrases but can lag on complex DOM updates. Cloud TTS processes requests sequentially; long texts take roughly real-time duration. Short phrases may take a few seconds due to queueing. However, cloud speed is consistent. ShopSpeak handles up to 4096 characters per request, efficiently generating audio for product descriptions without blocking the user interface.
How do they differ in languages?
Browser support depends on the user’s OS and installed language packs. ShopSpeak supports 23 specific languages including English, German, Spanish, and Japanese. You can explicitly set the language ISO code. If not set, it guesses from the script. This ensures consistent multilingual support for international e-commerce stores without relying on individual user devices.
How do they differ in voices?
Browsers offer a limited set of system voices that vary by device. ShopSpeak provides 8 distinct presets: Aria, Nova, Luna, Sage, Felix, Milo, Atlas, and Orion. Each has a specific tone, from warm narration to deep documentary styles. You can choose the exact voice for your brand, ensuring a consistent audio identity across all product pages.
How do they differ in integration?
Browser synthesis uses JavaScript’s SpeechSynthesis API, requiring client-side code. Cloud TTS uses a standard REST API compatible with OpenAI SDKs. You send a POST request with text and receive an audio file. This decouples audio generation from the frontend, allowing backend processing, easier caching, and integration with your e-commerce platform’s existing infrastructure via simple HTTP calls.
How do they differ in reliability?
Browser synthesis fails if the user disables audio or uses an unsupported browser. Cloud TTS is server-side and reliable. ShopSpeak returns audio files directly, ensuring delivery. Rate limits are 60 requests per minute. Failed requests are free. This reliability ensures your product descriptions and notifications are generated consistently, without depending on the customer’s specific browser environment.
Can I switch from browser to cloud?
Yes. You can replace your Web Speech API calls with HTTP requests to ShopSpeak. The cloud API accepts text and returns audio files. This allows you to keep your frontend logic while offloading synthesis to the server. You can gradually migrate product descriptions to cloud-generated audio, ensuring higher quality and consistent voice branding across your store.
Is cloud API more expensive?
Cloud API has a direct cost: $10 per million characters. Browser synthesis is free but offers lower quality. For e-commerce, the consistency and professionalism of cloud voices often justify the cost. ShopSpeak’s free trial gives $0.50 credit. You only pay for successful generations, making it a predictable expense for scaling your audio catalog or notifications.
Does browser API work offline?
Browser speech synthesis works offline once the browser is loaded. Cloud TTS requires an internet connection to send requests and receive audio files. ShopSpeak’s API is cloud-based, so it depends on network availability. This ensures high-quality, consistent audio generation but requires your e-commerce platform to handle network dependencies for audio delivery.
Which has more voices?
Browser synthesis voice count depends on the user’s operating system and browser, offering a limited set of system voices. ShopSpeak offers 8 curated, high-quality presets designed for specific tones. While fewer in number, ShopSpeak’s voices are professionally selected and consistent, providing better brand alignment for e-commerce compared to the variable quality of browser system voices.
Definition of Cloud TTS API
ShopSpeak is a cloud text-to-speech API designed for e-commerce automation. Instead of relying on device-specific engines, you send text to our servers and receive high-quality audio files. This approach ensures consistent voice output across all user devices, replacing fragile browser-based synthesis with a reliable, scalable cloud service.
Cloud-based service
The synthesis engine runs on our servers, not in the user's browser. This decouples audio quality from the client's device capabilities, ensuring your product descriptions and cart abandonment notifications sound identical on a low-end Android phone and a high-end desktop.
API endpoint
Interact with the service via a standard HTTP POST request to https://api.shuvo777.info/v1/audio/speech. You can use the official OpenAI SDKs by simply changing the base_url to our endpoint, making integration straightforward for engineering teams already familiar with common TTS patterns.
JSON request body
Send your text in a simple JSON payload. Specify the model (tts-1 or tts-1-hd), the desired voice preset, and the response format (mp3, wav, opus, flac, or pcm). The API returns the audio file directly, ready to be embedded in your e-commerce platform.
- Model: tts-1 or tts-1-hd
- Input: plain text (up to 4096 characters)
- Format: mp3, wav, opus, flac, or pcm
- Voice: 8 distinct presets (e.g., aria, nova, atlas)
Definition of Browser Speech Synthesis
Browser Speech Synthesis is a native web technology embedded directly in modern browsers. It allows developers to convert text to audio using the Web Speech API without external dependencies or network calls. This approach eliminates the need for server-side processing for basic audio generation tasks.
The API is accessible via JavaScript, enabling immediate playback within the user's browser environment. However, the underlying engine is tied to the specific browser and operating system version. This means the voice quality, speed, and available languages can vary significantly between Chrome on Windows, Safari on macOS, or Firefox on Linux.
Built into browsers
This feature is standard in Chrome, Edge, Safari, and Firefox. It requires no additional libraries or API keys to function. The browser handles all encoding and playback internally.
Since it is part of the browser's core, it works offline once the browser is loaded. This makes it ideal for simple accessibility features or low-stakes user interactions where consistency is not critical.
- No external server required
- Works offline after initial load
- Zero additional cost
JavaScript API
Developers use the SpeechSynthesis interface to queue utterances. It supports basic parameters like pitch and rate but lacks granular control over voice selection beyond available system voices. The API is asynchronous, meaning audio plays while the browser continues executing other code.
Error handling is minimal. If the browser does not support the API, the script fails silently or throws a basic error. There is no standard way to retrieve the generated audio file for storage or further processing.
window.speechSynthesisinterface- Asynchronous playback
- Limited parameter control
Device dependent
The output quality depends entirely on the user's device and browser version. A voice that sounds natural on a desktop Chrome browser may sound robotic or different on a mobile Safari browser. This variability makes it difficult to maintain a consistent brand voice across all customer devices.
System resources also play a role. On lower-end devices, browser speech synthesis may cause lag or battery drain, especially if multiple elements are generating audio simultaneously. There is no guarantee of consistent performance across the diverse ecosystem of web clients.
- Inconsistent voice quality
- Browser-specific implementations
- Variable performance on different devices
Key Differences in Performance
Browser speech synthesis relies on the client device, causing inconsistent audio quality and voice selection depending on the user's browser and OS. In contrast, our cloud TTS API processes requests on our servers, ensuring every customer hears the exact same professional voice, regardless of their device.
Performance is deterministic. We process requests sequentially, which may introduce slight delays under load, but guarantees consistent output. This eliminates the variability inherent in browser-based engines, which often sound robotic or differ significantly between Chrome and Safari.
Consistency vs variability
Browser synthesis varies by platform. Chrome on Windows sounds different than Safari on iOS. Our API ensures uniform audio output across all clients.
Client-side engines depend on the device's installed voice packs. If a user’s device lacks a specific voice, the engine falls back to a default, changing the brand experience.
- Client-side voice packs vary by OS.
- Browser engines default differently on each platform.
- Cloud API guarantees identical output globally.
Speed comparison
Browser synthesis is nearly instantaneous for short phrases but can lag on complex DOM updates. Cloud API takes a few seconds for short phrases and roughly real-time (25 characters/second) for longer texts.
Under load, cloud requests queue sequentially. While this adds latency compared to local processing, it ensures reliable processing without crashing the user's browser thread.
- Browser: Instant for short text, local processing.
- Cloud: ~25 chars/sec for long texts.
- Cloud: Sequential processing under load.
Quality comparison
Browser voices are often robotic or limited in expressiveness. Our cloud voices (e.g., Aria, Felix) are based on licensed recordings, offering warm, clear, and natural-sounding narration suitable for e-commerce.
Cloud audio is generated at high fidelity. Browser output quality depends heavily on the user's hardware and browser implementation, leading to inconsistent listening experiences.
Cloud audio includes an inaudible synthetic watermark, ensuring provenance without affecting perceived quality.
- Cloud voices use licensed recordings.
- Browser voices sound robotic or limited.
- Cloud audio has high fidelity.
- Browser quality varies by hardware.
Key Differences in Control
Browser synthesis locks you into the device’s default engine, offering minimal control over output. Cloud TTS API gives you precise command over the audio generation process via a standard JSON payload. This control extends to file formats, playback speed, and voice identity, ensuring consistency across all customer interactions.
For e-commerce, this means your product descriptions sound identical whether played on a desktop, mobile, or smart speaker. You are not at the mercy of a user’s operating system updates or browser choices.
Format control
Choose from mp3, wav, opus, flac, or pcm directly in the request. This eliminates the need for post-processing conversions in your pipeline.
Browser APIs typically default to WAV or MP3 with limited options, forcing you to handle encoding overhead on the client side.
- Direct format selection
- No client-side encoding required
Speed control
Adjust playback speed from 0.25x to 4.0x with a single parameter. This allows you to create concise alerts for cart abandonment or detailed explanations for product features without re-generating audio.
Browser speech synthesis offers limited or no speed control, often varying by device.
- 0.25x to 4.0x range
- Adjustable via API parameter
Voice selection
Select from 8 distinct presets like Aria for narration or Felix for promos. Every voice supports all 23 languages, ensuring consistent brand tone regardless of the user’s locale.
Browsers provide a limited set of voices that depend on the installed OS, leading to inconsistent brand experiences across different devices.
- 8 curated presets
- 23 languages supported
Key Differences in Integration
Browser synthesis relies on the client-side SpeechSynthesis API, creating inconsistent results across devices. Cloud TTS uses a standard HTTP endpoint, allowing your backend to generate audio independently of the user's browser.
This separation ensures that your product descriptions and cart notifications sound identical for every customer, regardless of whether they use Chrome, Safari, or a mobile device.
API vs JavaScript
Browser speech is triggered by JavaScript directly in the browser, tying audio playback to the client’s environment. Our API accepts JSON requests and returns audio files, allowing your server to handle generation and storage.
This approach decouples audio creation from the UI, enabling server-side processing and reliable delivery to any player or platform.
- HTTP-based requests replace in-browser scripts
- Audio files are generated server-side
- No dependency on client JavaScript versions
SDK compatibility
The API follows the standard OpenAI request shape, meaning you can use official OpenAI SDKs by changing the base_url to https://api.shuvo777.info/v1. This reduces integration friction for teams already familiar with modern API patterns.
You can also use any standard HTTP client (curl, fetch, axios) to send POST requests to https://api.shuvo777.info/v1/audio/speech.
- OpenAI SDK compatible via base_url change
- Works with any standard HTTP client
- No proprietary SDK required
Complexity level
Browser synthesis is simpler to implement for basic text-to-speech but lacks control over format and voice. Cloud integration requires handling API keys, rate limits, and audio file management, but offers precise engineering control.
For e-commerce startups, the slight increase in integration complexity is offset by the reliability of a dedicated backend service that scales with your store’s traffic.
- Higher initial setup for backend integration
- Precise control over audio output
- Scalable architecture for high traffic
Key Differences in Pricing
Browser speech synthesis is free but limited to your device's capabilities. Cloud TTS charges per character, offering predictable costs for scalable e-commerce operations.
Pay per use
Pricing is $0.01 per 1,000 characters. Failed requests are free. Start with a $0.50 trial valid for 7 days.
- $10 per 1 million characters
- Failed requests are free
- TRC-20 USDT top-ups only, minimum $5
Free browser use
Browser API costs nothing but varies by device. Quality depends on the user's browser and OS. No character limits, but consistency is poor.
Cost scaling
Costs scale linearly with volume. No monthly fees or minimum spend. Ideal for high-volume product descriptions and notifications.
- No monthly plans
- No seats or invoices

Key Differences in Reliability
Browser-based speech synthesis relies entirely on the user's device capabilities and the browser engine version. If a user switches browsers or updates their OS, the voice quality and availability may change unpredictably. This variability makes it difficult to maintain a consistent audio experience across your entire customer base.
Cloud TTS decouples audio generation from the client device. Your storefront serves pre-generated audio files, ensuring the voice sounds identical whether accessed on a desktop, mobile, or tablet. This consistency is critical for e-commerce brands where audio identity matters.
Server uptime
Our infrastructure handles requests sequentially, processing them in a queue. We do not offer an SLA or uptime guarantee.
- No single point of failure for voice generation
Browser dependency
Browser speech synthesis fails if the user's browser blocks autoplay policies or lacks specific engine support. Cloud TTS returns standard audio files (MP3, WAV) that play reliably in any modern browser without permission prompts or engine-specific quirks.
- Works on all modern devices
Network requirements
Browser synthesis requires minimal data but depends on real-time processing. Cloud TTS requires an initial download of the audio file, but once served, it caches efficiently. For high-volume stores, this reduces repeated network load for identical product descriptions.
- Caching improves load times
Key Differences in Features
The browser API relies on the operating system’s installed voices, which vary by device and OS version. ShopSpeak provides eight consistent, licensed voices that sound identical on any device, ensuring uniform brand audio across all customer interactions.
Language support
Browser support is fragmented and often limited to English. Our API supports 23 languages, including Arabic, Chinese, Hindi, and Swahili, with any voice capable of speaking any listed language.
- Supports 23 languages including niche markets like Swahili and Malay
- Any voice can speak any supported language without downloading extra packs
- Automatic language detection, but explicit language codes are recommended for accuracy
Voice variety
Browsers offer a handful of voices that change depending on the user’s device. ShopSpeak offers eight distinct presets, from warm narrators to deep documentary styles, available immediately via API.
- Eight distinct voice presets including Aria, Nova, and Atlas
- Consistent audio quality regardless of the customer's device or OS
- Licensed recordings from LibriTTS-R, ensuring high-quality synthetic speech
Additional features
Browsers lack format control and do not support SSML. Our API returns audio in MP3, WAV, OPUS, FLAC, or PCM, with speed control from 0.25x to 4.0x, without requiring custom XML parsing.
- Output formats: MP3, WAV, OPUS, FLAC, PCM
- Speed control: 0.25x to 4.0x
- No SSML support; simple text input with optional language code
When to Use Cloud TTS API
Cloud TTS API is the reliable choice for e-commerce startups that need to automate voiceovers for product descriptions, cart abandonment notifications, and audio catalogs. Unlike browser-based synthesis, it provides a consistent, scalable cloud service via a simple JSON API endpoint.
It replaces fragile client-side implementations with a robust engineering solution. By using standard HTTP requests, you ensure that every customer hears the same high-quality audio file, regardless of their device or browser version.
High volume needs
Our API handles burst traffic efficiently. With a rate limit of 60 requests per minute per key, you can process large catalogs reliably. Failed requests are free, ensuring you only pay for successful synthesis.
Longer texts are split into parts of up to 4096 characters and joined. This ensures that even extensive product descriptions or multi-item cart notifications are delivered as a single, coherent audio file without manual stitching.
- Rate limit: 60 requests/minute per key
- Failed requests are free
- Automatic text splitting for long inputs
Consistent branding
Choose from 8 distinct voice presets, such as Aria for warm narration or Felix for energetic promos. Every generated file carries an inaudible watermark, marking it as synthetic speech without affecting the user experience.
Consistent voice across all touchpoints builds trust. Whether a user is on mobile or desktop, the audio quality and tone remain identical, reinforcing your brand identity without relying on varying browser engines.
- 8 preset voices (e.g., Aria, Felix)
- Inaudible synthetic watermark
- Uniform audio quality across devices
Multi-language support
Support 23 languages including English, Spanish, German, and Japanese. Any voice can speak any of these languages, allowing you to localize your store without hiring multiple voice actors.
Set the language parameter explicitly to avoid guessing errors. For example, Latin-script text defaults to English; setting 'language' ensures correct pronunciation for non-English texts like Dutch or Swedish.
- 23 supported languages
- Any voice can speak any language
- Explicit language setting recommended
When to Use Browser Speech Synthesis
Browser Speech Synthesis is built directly into modern web browsers, accessible via the Web Speech API. It requires no external API calls or network latency, making it ideal for lightweight, client-side audio generation.
This approach is best suited for simple demonstrations or low-volume use cases where consistent branding and high-fidelity audio are not critical priorities.
Simple demos
For quick prototypes or internal tools, browser synthesis eliminates backend configuration. It works immediately without managing API keys or tracking usage limits.
- Instant setup with standard JavaScript
- No network dependency for audio generation
- Ideal for one-off notifications
Low volume use
If your store generates audio for a small number of products or occasional user prompts, browser synthesis handles the load without scaling concerns.
- No character counting needed
- No risk of rate limit errors
- Scales with user devices, not servers
Zero cost
Unlike the ShopSpeak API which charges $10 per million characters, browser synthesis is free. There are no monthly fees, top-ups, or billing cycles to manage.
- No credit balance required
- No API key management overhead
- Zero marginal cost per request
Summary of Differences
Browser speech synthesis offers zero-cost, immediate integration for simple demos but suffers from device-dependent quality and limited voice selection. Cloud TTS provides consistent, high-quality audio via a standard API, ensuring uniform branding across all user devices.
Technical comparison
Browser APIs rely on the client’s OS and hardware, leading to inconsistent audio quality and language support. The cloud API delivers uniform output via a RESTful endpoint, supporting 23 languages and multiple audio formats regardless of the user’s device.
- Browser: Device-dependent quality, limited voices.
- Cloud: Consistent 4096-char limit, 8 distinct voices.
- Browser: No format control.
- Cloud: MP3, WAV, OPUS, FLAC, PCM.
Business impact
For e-commerce startups, inconsistent voiceovers can break brand trust. Cloud TTS ensures every product description and notification sounds identical, enhancing professional perception. Browser synthesis is negligible in cost but lacks the reliability needed for scalable, customer-facing audio catalogs.
Recommendation
Use browser synthesis for internal prototypes or low-stakes notifications. Adopt the cloud API for customer-facing product descriptions, cart abandonment alerts, and audio catalogs where audio quality and consistency directly impact conversion and brand identity.
Listen to the 8 voices
Each sample below was generated by this API from the same sentence. Any voice can speak any of these languages, giving you flexibility in voice selection regardless of the store’s primary market.
23 languages
Any voice speaks any of these languages.
Sources and further reading
- Wikipedia
- OpenAI API reference: create speech
- FFmpeg documentation
- TRON developer hub: TRC-20
- IETF RFC 7845: Ogg Opus
- curl documentation
- LibriVox public-domain audiobooks
- Creative Commons Attribution 4.0
- LibriTTS-R paper (arXiv 2305.18802)
- Python documentation
- ISO 639 language codes
- LibriTTS-R corpus (OpenSLR 141)
