Frequently asked questions
What is the Web Speech API?
The Web Speech API is a browser-native interface allowing JavaScript to synthesize speech directly on the client side. It requires no external network calls, making it ideal for simple UI feedback or accessibility features within a single page application without additional infrastructure.
Is the Web Speech API free?
Yes, the Web Speech API is free to use within supported browsers. However, quality and voice options depend entirely on the user’s operating system and browser version, which can vary significantly between Chrome on Windows and Safari on macOS.
Why use a cloud API instead of Web Speech?
A cloud API like Voxly provides consistent, high-quality voices regardless of the user’s device. It supports 23 languages, allows format selection (mp3, wav, opus), and ensures uniform audio delivery for SaaS notifications without relying on inconsistent browser implementations.
Are cloud TTS voices more consistent?
Yes. Cloud TTS uses a single engine (tts-1 or tts-1-hd) for all users. Unlike Web Speech, where voice quality varies by OS and browser, our API delivers identical audio quality and tone to every user, ensuring a uniform brand experience.
Does Web Speech API support multiple languages?
Web Speech support is limited to the languages installed on the user’s device. Our cloud API explicitly supports 23 languages including Arabic, Chinese, Hindi, and Japanese, with explicit language control via ISO codes, ensuring predictable output regardless of client settings.
Can cloud TTS be used offline?
No. Our cloud TTS API requires an internet connection to send text to our servers and receive the audio file. Unlike Web Speech, which can work offline if cached, cloud API calls depend on network availability and our endpoint uptime.
Which is better for SaaS notifications?
Cloud TTS is better for SaaS notifications. It delivers consistent audio files that can be cached. Web Speech is better for ephemeral UI cues where slight voice variation is acceptable and network usage must be minimized.
Does cloud TTS consume client CPU?
No. Cloud TTS processes synthesis on our servers. The client only receives the final audio file, offloading CPU usage from the user’s device. This is ideal for mobile users or devices with limited processing power running complex SaaS interfaces.
Can I control audio format with Web Speech?
No. The Web Speech API returns audio directly to the speaker or a basic MediaRecorder stream. Our API lets you choose the output format (mp3, wav, opus, flac, pcm), giving you control over file size, compatibility, and quality.
Is cloud TTS more expensive?
Cloud TTS has a cost ($0.01 per 1,000 characters), but offers predictable pricing. Web Speech is free but may require more client-side processing. For production SaaS features, the consistent quality and format control of cloud TTS often justify the small fee.
Do cloud APIs support SSML?
Our API does not support SSML. It uses simple text input with a speed parameter (0.25–4.0) and voice selection. If you need complex prosody control, you must manage it in your application logic or pre-process the text before sending it.
Can I clone voices in Web Speech API?
No. The Web Speech API uses system-provided voices. You cannot clone voices in either Web Speech or our cloud API. We offer 8 preset voices based on licensed recordings, but custom voice cloning is not a feature of our service.
Is Web Speech API reliable across all browsers?
No. Web Speech support varies by browser and OS. Some browsers lack voices entirely or provide inconsistent quality. Our cloud API works consistently across all modern browsers since the heavy lifting happens on our servers, not the client device.
How do I choose between the two?
Use Web Speech for simple, ephemeral UI feedback where quality variance is acceptable. Use our cloud API for SaaS notifications requiring consistent audio, specific formats, or 23 language support. Our API ensures every user hears the same voice.
Browser Web Speech API Overview
The browser's native Web Speech API runs entirely on the client side, requiring no external network calls. This eliminates server latency but shifts processing load to the user’s device. It is ideal for simple, immediate feedback but lacks the consistency required for production-grade SaaS interfaces where audio output must be uniform across all users.
Because voice synthesis depends on the browser’s built-in engine, audio quality varies significantly between Chrome, Firefox, and Safari. Developers often find that a voice sounding clear in one browser sounds robotic or sluggish in another, creating a fragmented user experience that is difficult to standardize without a dedicated cloud backend.
Native Browser Support
The Web Speech API is built into modern browsers, requiring no additional libraries or API keys. It works directly in the DOM, making it easy to prototype. However, this convenience comes at the cost of control; you cannot dictate exact audio formats or ensure the same voice engine is used globally.
Client-side processing means no server costs, but it consumes the user’s CPU and battery. For long texts or high-volume notifications, this can lead to noticeable performance degradation on lower-end devices, unlike our cloud API which handles the heavy lifting server-side.
- No external dependencies required
Limited Voice Options
Browsers offer only a handful of default voices, which are often tied to the operating system. You cannot choose specific tones like 'warm narrator' or 'deep documentary' as we do with our 8 presets. The available voices are static and cannot be updated without a browser or OS update.
Voice quality is inconsistent. A voice that sounds natural on Windows 11 might sound flat on macOS. This variability makes it hard to maintain a consistent brand voice across your application, especially when your users are spread across different devices and operating systems.
- Dependent on OS/browser versions
JavaScript Integration
Integration is straightforward using the SpeechSynthesis interface. You pass text to the API, and the browser handles the audio generation. This simplicity is great for basic demos but lacks the robustness needed for complex workflows. There is no native support for streaming audio chunks or detailed error handling for network-related issues.
You cannot control the output format (mp3, wav, etc.) or save the audio file directly to your server without additional complex logic. For SaaS applications that need to store audio notifications or replay them later, the browser API is often insufficient without a custom backend wrapper.
- Simple JS implementation
- No native file storage
Cloud TTS API Overview
Our cloud TTS API offloads synthesis to our servers, sending text via JSON to POST https://api.net8.info/v1/audio/speech and receiving an audio file. This eliminates client-side CPU spikes and browser compatibility issues, ensuring your SaaS notifications and UI components render consistently regardless of the user's device.
Server-Side Processing
Text is processed on our infrastructure, handling up to 4096 characters per request. The engine returns standard formats like MP3 or WAV, removing the need for clients to manage codec conversions or stream partial audio chunks.
Consistent Output
Every request uses the same engine models (tts-1 or tts-1-hd), guaranteeing identical voice characteristics across all platforms. Unlike browser APIs that vary by OS and version, our 8 preset voices deliver uniform audio quality for your entire user base.
API-Driven Access
Integration requires only standard HTTP requests with a Bearer token. The request shape mirrors the OpenAI speech endpoint, allowing you to use official OpenAI SDKs by simply adjusting the base_url to https://api.net8.info/v1. This simplifies integration into existing backend services.
Voice Consistency
Browser implementations vary significantly across devices and operating systems, causing the same voice to sound different on iOS versus Android or Windows. This inconsistency forces developers to test extensively across platforms to ensure acceptable quality.
Voice variability also occurs within a single browser as the engine updates or switches between system-installed voices, leading to unpredictable user experiences in production environments.
Browser Dependency
The browser’s native engine handles synthesis locally, meaning quality depends entirely on the user’s device capabilities and OS version.
Updates to the browser or operating system can silently change voice characteristics or drop support for specific languages without developer notification.
- Quality varies by OS and device hardware
- Silent voice changes after system updates
Voice Variability
Users often hear different voices for the same locale depending on their installed language packs.
This unpredictability makes it difficult to maintain a consistent brand voice across diverse user bases.
- Inconsistent voice selection per user
- Dependence on local language pack installation
Standardized Voices
Our API delivers the exact same eight presets (Aria, Nova, Luna, Sage, Felix, Milo, Atlas, Orion) regardless of the client device.
Each voice is a consistent, licensed recording, ensuring uniform audio output for every request sent to our cloud endpoint.
This standardization eliminates the guesswork of which voice the browser will select, providing deterministic results for UI components.
- 8 consistent presets across all devices
- Deterministic audio output per voice ID
Audio Format Control
The browser's Web Speech API restricts output to the native platform's default audio handling, typically playing directly to the speaker with minimal format control. You cannot easily capture the raw audio stream for storage, background processing, or complex UI animations without significant browser-specific hacks.
Our API returns discrete audio files in your chosen format, giving you full control over the binary data. This eliminates browser inconsistencies and allows you to store, cache, or process the audio server-side before delivery to the client.
Browser Defaults
Browsers decide the playback format and encoding based on the OS and browser version. You have no guarantee of consistent file types or quality levels across different user devices.
Custom Formats
Choose from mp3, wav, opus, flac, or pcm via the response_format parameter. Select the format that best fits your bandwidth constraints and player capabilities, rather than accepting the browser's default.
Compression Options
Use opus or mp3 for smaller file sizes and faster network transfer, or wav/flac for lossless quality. This flexibility allows you to optimize for either storage efficiency or audio fidelity based on your specific use case.
Performance and Load
The browser’s Web Speech API consumes client CPU cycles, which can degrade UI responsiveness during synthesis. Our cloud API offloads this heavy lifting to our servers, keeping your user’s device free for interaction and rendering, ensuring smooth experiences even on lower-end hardware.
Client-Side CPU Usage
Browser-based TTS runs directly on the user’s device. Generating audio files in real-time can cause frame drops or lag in complex Single Page Applications. By moving synthesis to our cloud, you preserve your application’s rendering performance.
- Offloads processing from user devices
- Prevents UI jank during audio generation
- Preserves battery life on mobile devices
Server-Side Scaling
Our infrastructure handles the compute intensity. You do not need to manage server capacity for voice generation. Requests are processed one after another, so under load a request may wait in a queue.
- No infrastructure to manage
- Consistent processing quality
- Handles variable load automatically
Queue Management
Requests are processed one after another. Under high load, a request may wait in a queue before synthesis begins. This ensures orderly processing but means concurrent requests from a single key are serialized, not parallelized.
- Sequential processing per key
- Queuing under load
- Predictable execution order
Language Support
The browser Web Speech API relies on device-specific language packs, which vary by operating system and version. If a user’s device lacks a specific pack, the voice may fall back to a default or fail silently. This creates inconsistency across different environments.
Our API uses explicit ISO language codes, ensuring deterministic behavior. You declare the language, and the model respects it regardless of the client’s OS. This removes the guesswork from multi-language SaaS notifications.
Browser Language Packs
Browsers download voice data on-demand or pre-install it. This means the same code can produce different voices or even fail on different machines. You cannot guarantee which voice engine is active.
This variability makes it hard to maintain consistent brand audio across a global user base without extensive device testing.
- Depends on user's OS version
- Offline capability varies
- Inconsistent voice selection
Explicit Language Codes
Send a language parameter (e.g., fr, ja) in the JSON body. If omitted, the API guesses based on script, defaulting to English for Latin text.
This explicit control ensures the correct voice model is invoked, preventing mispronunciations in mixed-language text or specific dialect requirements.
23 Supported Languages
We support Arabic, Chinese, Danish, Dutch, English, Finnish, French, German, Greek, Hebrew, Hindi, Italian, Japanese, Korean, Malay, Norwegian, Polish, Portuguese, Russian, Spanish, Swahili, Swedish, and Turkish.
Any voice can speak any of these 23 languages. Unsupported languages like Vietnamese or Thai are not available, so plan your UI accordingly.
Use Case Suitability
The browser API suffices for basic UI feedback where voice quality is secondary. Cloud TTS delivers consistent, high-fidelity audio files suitable for production-grade SaaS notifications, ensuring your users hear the same tone every time regardless of their device.
Simple Notifications
For critical alerts, reliable audio delivery matters more than saving client-side CPU cycles. Cloud TTS provides standardized voices that remain unchanged by OS updates or browser versions, ensuring your notification sounds professional and predictable across all user environments.
- Consistent audio quality across Chrome, Firefox, Safari, and Edge
Complex Interfaces
Complex interfaces often require specific audio formats like MP3 or Opus for seamless integration with existing media pipelines. The API allows explicit format selection and speed control, enabling precise synchronization with UI components that browser-native synthesis cannot easily achieve.
- Explicit control over response formats (mp3, wav, opus, flac, pcm)
High Volume Usage
Offloading synthesis to the server preserves client battery and processing power for rendering complex UIs. With rate limits of 60 requests per minute per key, the cloud API scales predictably.
- Offloads CPU load from the user's device

Cost Implications
The browser Web Speech API is free but consumes client CPU cycles and battery, which can degrade UX for users on low-end devices. In contrast, our cloud API offloads synthesis to our servers, keeping your application responsive. You pay only for what you use, with no monthly subscriptions or hidden fees.
Pricing is straightforward: $10 per 1 million characters, or $0.01 per 1,000 characters. Spaces and punctuation count toward the total. Failed requests are free, ensuring you never pay for errors. This model scales linearly with usage, making cost prediction simple for SaaS notifications.
Free Browser Usage
Browser-native TTS requires no API key or billing setup, but it relies on the user’s device capabilities. Voice quality and availability vary by browser and OS version. This approach is suitable for low-volume, non-critical UI feedback but lacks consistency across different user environments.
- No API key required
- Varies by browser and OS
- Consumes client CPU and battery
Per-Character Billing
Our API charges $10 per 1 million characters. Short phrases may take a few seconds to generate, while longer texts process at roughly real-time speed. You can start with a $0.50 free trial (50,000 characters) when signing in with Google.
- $0.01 per 1,000 characters
- Spaces and punctuation count
- Failed requests are free
Predictable Costs
There are no monthly plans, seats, or minimum spends. Top-ups via USDT (TRC-20) are credited automatically within minutes. Balances do not expire, and you can issue a new API key anytime without losing your account history. This structure allows precise budgeting for high-volume SaaS integrations.
- No monthly subscriptions
- Balance never expires
- Simple USDT top-ups
Integration Complexity
Browser integration relies on the Web Speech API. Cloud APIs decouple generation from rendering, allowing background processing without freezing the interface.
Our endpoint accepts standard JSON bodies, making it easy to trigger speech from any backend or frontend environment via simple HTTP calls.
Native JS API
The Web Speech API is embedded in the browser, requiring no external dependencies but limiting control over audio formats and voice selection. It is suitable for simple, interactive UI elements but lacks the precision needed for production-grade SaaS notifications.
Our API returns audio files directly, giving you full control over the playback lifecycle and allowing you to cache audio as needed.
HTTP Requests
Send a POST request to https://api.net8.info/v1/audio/speech with your text and voice parameters. The endpoint processes the input and returns the audio file in your specified format, such as MP3 or WAV.
This approach works with any language or framework that can handle HTTP requests, ensuring consistent performance regardless of the client device.
SDK Compatibility
The request shape matches the OpenAI speech endpoint, so you can use the official OpenAI SDKs by simply changing the base_url to https://api.net8.info/v1. This allows for easy integration with existing codebases that already use OpenAI-compatible libraries.
You can also use plain HTTP requests or any other SDK that supports JSON payloads, providing flexibility for diverse technical stacks.
Data Privacy
Browser-based speech synthesis processes text directly on the user's device, keeping input data within the local environment. Our cloud API transmits text to our servers for generation, introducing a network hop but ensuring consistent audio quality across all clients.
Input text is used exclusively to produce the audio file and is not used for training models. Generated audio is returned in the response and not stored on our servers, minimizing persistent data exposure.
Local Processing
The Web Speech API runs entirely in the browser, meaning text never leaves the user's device. This eliminates network latency for audio delivery but relies on the client's CPU and available voice packs.
- Zero network latency for audio playback
- No data transmission to external servers
- Dependent on client hardware capabilities
Cloud Transmission
Our API requires sending text via HTTPS to generate audio. Input is processed server-side to produce high-fidelity files, ensuring uniform output regardless of the user's browser or operating system.
- Text sent via secure HTTPS
- Server-side synthesis ensures consistency
- Network dependency for generation
Data Retention
We retain request metadata (time, characters, status) strictly for billing purposes. The generated audio itself is not stored after delivery, and input text is not used for training our models.
- Metadata kept for billing only
- Audio not stored post-delivery
- Input text not used for training
Reliability
The browser’s Web Speech API relies on local resources, meaning reliability fluctuates with browser updates and OS-level voice pack availability. Your application’s audio quality may degrade or break unexpectedly when users update Chrome, Safari, or Edge, forcing you to handle fallback logic for missing voices or deprecated features without a unified standard across devices.
In contrast, our cloud API provides consistent, standardized outputs regardless of the client’s environment. We do not offer an SLA or uptime guarantee, so while requests are processed sequentially, you should account for potential queueing during high load. This trade-off ensures predictable voice quality and format control without relying on individual device capabilities.
Browser Updates
Browser engines update frequently, often changing how the Web Speech API behaves or deprecating features. This creates fragmentation where audio works on one device but fails on another, requiring constant monitoring of compatibility changes.
- Fragmented behavior across Chrome, Safari, and Edge
Service Uptime
We do not offer an SLA or uptime guarantee. Requests are processed in a queue, so latency may vary during peak usage, but the voice synthesis engine remains stable and consistent.
Error Handling
Failed synthesis requests are free and return a clear error status, allowing your application to retry or notify users without incurring costs. Unlike local APIs, cloud errors are explicit, making debugging straightforward.
Decision Matrix
The choice depends on your latency requirements and consistency needs. The Browser Web Speech API offers zero-cost, client-side generation with no API keys, ideal for simple UI cues where voice variety is acceptable. However, it suffers from browser dependency and inconsistent audio quality across devices.
When to Use Browser API
Use the browser API for non-critical UI notifications, such as button hover sounds or simple accessibility readouts, where background network requests are unnecessary. It works well when you do not need consistent voice quality across different user browsers or when offline capability is required.
When to Use Cloud API
Switch to our cloud API for production-grade audio in SaaS notifications, complex interfaces requiring precise voice control, or high-volume usage. The API provides consistent output, explicit format control (MP3, WAV, OPUS), and reliable performance independent of the user's browser or device capabilities.
- Consistent voice quality across all users
- Explicit audio format and speed control
- No dependency on browser updates or OS voice packs
- Reliable delivery for critical notifications
Hybrid Approaches
Combine both approaches by using the browser API for immediate, low-stakes feedback and the cloud API for critical, high-fidelity notifications. This strategy minimizes latency for simple interactions while ensuring professional audio quality for important user alerts or onboarding sequences.
Listen to the 8 voices
Each sample below was generated by this API from the same sentence. Clear audio reduces cognitive load for users with hearing impairments.
23 languages
Any voice speaks any of these languages.
