Frequently asked questions
Is Web Speech API free to use?
Yes, Web Speech API is free and built into your browser. Our Cloud TTS API costs $0.01 per 1,000 characters. You pay only for what you use, with no monthly subscriptions or hidden fees. Failed requests are free, ensuring you only pay for successful audio generation.
Does Cloud TTS API require an internet connection?
Yes, our Cloud TTS API requires an internet connection to send text and receive audio files. Unlike Web Speech API, which processes locally, our service generates audio on our servers. You need connectivity to make API requests and download the resulting audio files.
Which API offers better voice quality?
Our Cloud TTS API offers consistent, high-quality voices like Aria or Felix, based on licensed recordings. Web Speech API quality varies by browser and OS. For predictable, professional audio across all platforms, our cloud API provides uniform results without relying on the user's device capabilities.
Can I use Web Speech API in mobile apps?
Web Speech API works in mobile browsers but is not a native SDK. Our Cloud TTS API works anywhere you can send HTTP requests, including mobile apps. Use our API via standard HTTP calls to integrate speech synthesis into any mobile application, regardless of the operating system.
Does Cloud TTS API support background playback?
Our API returns an audio file you can play anywhere, including in background tasks. Web Speech API plays audio in the current browser tab. Use our API for background playback needs, as you control the audio file delivery and playback engine, ensuring audio continues even if the tab is inactive.
Is Web Speech API available on all browsers?
No, Web Speech API support varies by browser and version. Our Cloud TTS API works on any platform that supports HTTP requests. We support 23 languages, ensuring consistent voice generation regardless of the user's browser. This reliability makes our API ideal for broader audience reach.
Can I customize voices in Web Speech API?
Web Speech API offers limited voice selection based on the user's device. Our Cloud TTS API provides 8 distinct presets like Luna or Atlas. You can choose the exact voice, speed, and format. This gives you full control over the audio output, unlike the browser's limited options.
Does Cloud TTS API store my data?
Input text is used only to produce audio and is not used for training. Generated audio is returned in the response and not stored. We keep request metadata for billing purposes. Your data remains private and is not used for training.
Which API is faster for short phrases?
Web Speech API is generally faster for short phrases as it processes locally. Our Cloud TTS API takes a few seconds due to network latency and server processing. For immediate, local feedback, use Web Speech API. For consistent quality, our cloud API is the better choice despite slight delays.
Can I use both APIs together?
Yes, you can use both APIs in your project. Use Web Speech API for quick, local interactions and our Cloud TTS API for high-quality, consistent audio. This hybrid approach allows you to balance performance and quality, leveraging the strengths of both technologies for a better user experience.
Is Web Speech API suitable for commercial use?
Web Speech API is free but quality varies. Our Cloud TTS API offers consistent, licensed voices suitable for commercial projects. With clear pricing and no usage limits, our API provides reliable audio for commercial applications. You can scale your usage without worrying about browser compatibility or voice consistency.
Does Cloud TTS API have a free tier?
Yes, we offer a free trial with $0.50 of credit, valid for 7 days. This allows you to generate about 50,000 characters. After the trial, you can top up with USDT. There are no monthly plans, so you only pay for the characters you actually use.
Which API handles long texts better?
Our Cloud TTS API handles long texts by splitting them into 4096-character parts and joining the audio. Web Speech API may struggle with very long inputs. For extensive content, our API ensures consistent quality and reliable playback, making it the better choice for long-form audio generation.
Are there latency issues with Cloud TTS?
Our Cloud TTS API processes requests sequentially, so latency can occur under load. Typical speed is roughly real-time. Short phrases take a few seconds. For minimal latency, use Web Speech API. Our cloud API prioritizes quality and consistency, which may introduce slight delays during high traffic periods.
Definition and Scope
The Web Speech API is a browser-native feature that converts text to speech directly within the user’s browser window. It requires no external server calls, making it ideal for simple interface elements like reading out button labels or short notifications without adding network overhead.
Cloud TTS API is a server-side service where you send text to an endpoint and receive an audio file. It decouples the speech generation from the user’s device, ensuring consistent audio quality regardless of whether the user is on a mobile phone or a desktop computer.
Web Speech API definition
This API leverages the device’s built-in speech synthesis engines. It is immediate and works offline once the page is loaded, but the voice quality depends entirely on the browser and operating system version.
- Native browser support
- Offline capability
- Device-dependent quality
Cloud TTS API definition
Our API uses a dedicated engine to generate high-fidelity audio files like MP3 or WAV. You control the voice, speed, and format via simple HTTP requests, ensuring the output sounds the same for every user.
- Consistent engine quality
- Format control (MP3, WAV, OPUS)
- Server-side generation
Scope of functionality
Web Speech is limited to basic synthesis with few voice choices. Cloud API offers 8 distinct voice presets, 23 languages, and precise control over speed and audio format, suitable for complex narration tasks.
Voice Quality and Consistency
Web Speech API relies on the user’s browser and operating system, meaning voice quality varies significantly between Chrome, Safari, and Firefox. You have no control over which voice engine loads, leading to inconsistent user experiences across different devices.
Our cloud API uses a single, consistent engine for every request. This ensures that your narration sounds identical whether accessed on an old Android phone or a latest MacBook, maintaining brand audio standards without browser-side guesswork.
Browser dependency for Web Speech
The browser selects from available system voices, which may change after OS updates or browser upgrades. This unpredictability can break UI consistency, especially for critical notifications where voice recognition matters.
- Voices depend on the user's installed system language packs
- Quality degrades on older browsers lacking modern Web Speech support
- No guarantee of which specific voice will be rendered
Consistent cloud engine
All requests go through our standard endpoint, ensuring uniform audio characteristics. The synthetic watermark confirms synthetic origin, and the audio remains stable regardless of the client device's hardware capabilities.
- Single engine ensures uniform tone and clarity
- Audio quality does not drop based on user device
- Predictable output for game narration and accessibility features
Voice variety comparison
Web Speech offers a limited, system-dependent set of voices. Our API provides eight distinct presets (Aria, Nova, Luna, Sage, Felix, Milo, Atlas, Orion), each with a specific character profile, allowing you to match tone precisely to your project's needs.
- 8 distinct presets vs. variable system voices
- Specific tones: warm, bright, soft, calm, energetic, friendly, neutral, deep
- All voices support 23 languages consistently
Pricing Models
The Web Speech API is built into browsers, making it free to use for basic UI notifications or simple text-to-speech tasks without any backend costs. You pay nothing extra for the synthesis itself, though you still need a connection to load the library if it isn’t cached.
Cloud TTS charges $10 per 1 million characters ($0.01 per 1,000 characters). Failed requests are free, and a $0.50 trial credit is available for new Google-signed accounts. This model suits predictable, volume-based usage better than free tiers that vary by browser.
Free browser usage
Using the Web Speech API incurs no direct monetary cost. It relies on the user’s device resources, meaning your bandwidth and server costs remain low while the browser handles the synthesis locally.
- Zero cost per request
- No API key required
- Dependent on browser implementation
Pay-per-character cloud model
The cloud API charges $10 per 1 million characters, or $0.01 per 1,000 characters. Spaces and punctuation count toward this limit. New accounts signed in with Google receive a $0.50 trial credit valid for 7 days, equivalent to roughly 50,000 characters.
- $10 per 1M characters
- $0.01 per 1,000 characters
- Failed requests are free
Cost predictability
Cloud pricing is transparent and linear. You can calculate exact costs based on character counts before making requests. Top-ups via USDT (TRC-20) are processed automatically, ensuring your balance never expires and you only pay for what you generate.
- Linear pricing model
- No monthly subscriptions
- Automatic balance updates
Technical Implementation
The Web Speech API is built directly into modern browsers, allowing immediate usage via native JavaScript without external dependencies. This approach eliminates the need for additional HTTP requests or API key management, making it ideal for simple, low-volume tasks like reading out form field errors or button labels. The implementation relies entirely on the user’s device capabilities, meaning performance and available voices vary significantly between Chrome, Firefox, and Safari.
In contrast, the Cloud TTS API uses standard HTTP/JSON calls to https://api.32wi.info/v1. You send a POST request with your text, voice, and format preferences, receiving an audio file in return. This method requires managing an API key and handling network latency, but it offers consistent results regardless of the user’s browser. The cloud approach separates the logic from the interface, ensuring uniform audio quality across all devices.
JavaScript native support
Web Speech API integrates seamlessly into the DOM, allowing developers to trigger speech synthesis with just a few lines of vanilla JavaScript. There is no need to fetch external resources or handle CORS issues. This native support simplifies debugging and reduces the number of dependencies in your project, which is beneficial for lightweight applications or static sites where minimal overhead is preferred.
The API exposes simple methods like speak() and pause(), making it easy to control playback flow. However, because it relies on the browser’s engine, you have limited control over the underlying voice parameters. Features like speed adjustment are often restricted or behave inconsistently across different browsers, requiring additional code to normalize behavior for a consistent user experience.
- No external dependencies required
- Immediate availability in Chrome, Firefox, Safari
- Simple
speak()andpause()methods - Browser-dependent voice quality
HTTP/JSON API calls
The cloud API follows a standard RESTful structure, sending requests to https://api.32wi.info/v1/audio/speech with a JSON body. This predictability makes it easy to integrate with any backend or frontend framework that can handle HTTP requests. You define the model, voice, and response_format explicitly, ensuring that the output matches your technical requirements precisely. This explicit control is crucial for applications where audio format consistency matters, such as game assets or accessibility tools.
Since the API returns audio files directly in the response, you can handle the data as a blob or base64 string. This allows for easy playback in HTML5 audio elements or direct download. The clear separation between request and response simplifies error handling; you can check for specific HTTP status codes or error messages to determine if a synthesis failed, allowing for graceful fallbacks in your application logic.
- Standard RESTful HTTP/JSON structure
- Explicit control over
model,voice, andformat - Returns audio as blob or base64
- Clear error handling via HTTP status codes
SDK compatibility
The cloud API is designed to be compatible with the official OpenAI SDKs. By simply changing the base_url to https://api.32wi.info/v1, you can use the same code structure you might already be familiar with from OpenAI’s documentation. This reduces the learning curve for developers who have experience with similar TTS services. The request shape is identical, meaning you can often swap the endpoint without rewriting your integration logic, making migration or integration straightforward.
For projects that do not use the OpenAI SDK, plain HTTP requests work equally well. Any library capable of sending JSON payloads can interact with the API. This flexibility ensures that you are not locked into a specific client library. You can choose the best HTTP client for your language or framework, whether it’s fetch in JavaScript, requests in Python, or any other standard library, ensuring broad compatibility across different tech stacks.
- Compatible with OpenAI SDKs via
base_urlchange - Works with any standard HTTP client
- No proprietary library required
- Familiar request structure for existing TTS developers
Performance and Speed
Browser-based speech synthesis processes text locally, eliminating network round-trips for immediate playback. However, the actual audio generation speed varies significantly by device CPU and browser implementation. Cloud TTS introduces initial latency due to HTTP requests, but handles complex synthesis off-device.
Cloud performance depends on queue depth during high load. Requests process sequentially, meaning under heavy traffic, generation may delay. Once queued, synthesis typically matches real-time speech speed, making it suitable for long-form content where local resources might bottleneck.
Local processing speed
Web Speech API leverages the user's device hardware, ensuring instant start times for short phrases. There is no network overhead, so interaction feels immediate. This speed is consistent across simple UI prompts, though complex voices may strain older mobile CPUs.
Browsers may pause synthesis to save battery, affecting perceived speed. The API returns the audio file after synthesis is complete; it does not stream partial audio.
Network latency factors
Cloud TTS requires a POST request to https://api.32wi.info/v1. Initial connection time adds ~100-500ms depending on region. Subsequent requests reuse connections, reducing overhead. Network stability directly impacts reliability; packet loss causes retry delays.
The API processes requests one after another. Under load, a request may wait in a queue before synthesis begins. This adds variable latency not present in local processing, but ensures consistent voice quality regardless of the user's device capabilities.
Real-time generation rates
Cloud synthesis generates audio at roughly real-time speed: ~25 characters per second. A 1000-character text takes ~40 seconds to produce. Short phrases take a few seconds regardless of text length due to engine overhead. This rate is consistent across all 8 voices.
Because generation is near real-time, users can hear audio while the rest is processing. For texts exceeding 4096 characters, splitting into parts allows parallel or sequential processing, but total time increases. Failed requests incur no delay cost, as no audio is generated.
- Roughly 25 characters of text per second of generation
- Short phrases take a few seconds to synthesize
- Requests processed sequentially; load may cause queuing delays
- Real-time rate allows playback during generation
Language Support
Browser speech capabilities depend entirely on the user’s installed operating system and browser version. This means your users might hear different voices or see limited language options depending on their device, creating an inconsistent experience across your application.
In contrast, the cloud API guarantees consistent audio quality and voice selection regardless of the client’s environment. You control exactly which voice and language combination is delivered, ensuring your project looks and sounds the same for everyone.
Browser language availability
Web Speech API relies on local system voices. If a user’s OS lacks a specific language pack, that language is unavailable in your app. This often results in fallback voices sounding robotic or unnatural.
- Dependent on user’s OS and browser settings
- Limited voice variety per language
- Inconsistent availability across devices
23 cloud languages supported
Our API supports 23 languages including Arabic, Chinese, English, French, German, Hindi, Japanese, Korean, Spanish, and more. Every voice can speak any of these languages, giving you full control over your project’s linguistic scope.
- Arabic, Chinese, Danish, Dutch, English, Finnish, French, German, Greek, Hebrew, Hindi, Italian, Japanese, Korean, Malay, Norwegian, Polish, Portuguese, Russian, Spanish, Swahili, Swedish, Turkish
- All voices support all 23 languages
- No language packs required on client side
Language detection methods
The API can guess the language from the script if you do not specify it, defaulting to English for Latin text. However, for non-English Latin-script text, you must explicitly set the language parameter to ensure accurate pronunciation.
- Automatic detection from script
- Explicit language parameter recommended for Latin text
- Supports ISO language codes
Data Privacy and Storage
The Web Speech API processes audio locally on your device, meaning input text never leaves the user’s browser. This eliminates server-side data collection entirely, making it ideal for sensitive UI notifications where privacy is paramount.
In contrast, our cloud API transmits text to our servers for synthesis. While the generated audio is not stored, we retain request metadata—such as timestamp, character count, and status—for accurate billing purposes only.
Local data usage
Browser-native speech relies on the client’s operating system. No network requests are needed for the actual audio generation, so your users’ input text remains strictly on their device. This approach requires no server infrastructure and offers immediate, offline-capable feedback for simple interface elements.
- Text stays on the user’s device
- No network dependency for synthesis
- Zero server-side data retention
Cloud data retention
When you use our API, we keep minimal metadata for billing transparency. This includes the time of request, character count, and success status. We do not store the generated audio files or the input text after synthesis is complete.
- Metadata kept for billing only
- Audio files are not stored
- Input text is not retained
Input text handling
Your input text is used solely to produce the audio file. It is not used for training our models or improving voice engines. This ensures that your unique game dialogues or application copy remain private to your project.

Use Case Suitability
For simple UI notifications, the Web Speech API offers zero-config, offline-friendly sound cues without network dependency. However, for complex game narration requiring consistent character voices across sessions, the cloud API ensures the same audio output every time, avoiding browser-specific voice drift.
Simple UI notifications
Use the browser API for transient alerts where voice identity matters less than speed. The cloud API is better if you need specific character voices like Aria or Felix to maintain brand consistency across different user devices.
- Browser API: Immediate playback, no internet required, varying voice quality by OS.
- Cloud API: Consistent voice selection (e.g., 'nova' for upbeat alerts), reliable delivery.
Complex game narration
Games benefit from the cloud API’s ability to use specific voices like Atlas for news-style updates or Orion for documentaries. Since cloud requests are processed sequentially, long text blocks may queue, but the audio remains coherent and uniform.
- Browser API: Limited to installed OS voices; background audio may pause on some mobile browsers.
- Cloud API: Dedicated voices like 'milos' for conversational NPCs; handles 4096-character chunks reliably.
Accessibility features
For accessibility, the cloud API provides precise control over speed (0.25–4.0) and language, ensuring clear speech for non-native speakers. The Web Speech API’s voice selection depends entirely on the user’s device settings, which can be inconsistent.
- Browser API: Relies on user’s system language pack; no speed control.
- Cloud API: Explicit language codes (e.g., 'fr' for French); adjustable speed for readability.
Limitations and Constraints
Both approaches have specific constraints that affect project planning. Web Speech relies on device capabilities, while cloud APIs depend on network stability and strict usage limits. Understanding these boundaries helps indie developers avoid runtime surprises during deployment.
Browser support varies significantly across devices, particularly on older Android versions or iOS Safari, where voices may fall back to basic system defaults. Conversely, the cloud API ensures consistent voice quality but introduces network dependency and requires careful management of request quotas to prevent service interruptions.
Browser compatibility issues
Web Speech API support is inconsistent across mobile browsers. iOS Safari often lacks the SpeechSynthesis API or provides limited voice options compared to desktop Chrome. Developers must implement graceful fallbacks to avoid broken audio experiences for users on unsupported platforms.
- iOS Safari support is partial or missing in some versions
- Android browsers vary widely in voice availability
- Requires feature detection logic in JavaScript
Rate limits on cloud API
The API allows 60 requests per minute per key, dropping to 10 per minute before the first top-up. Requests are processed sequentially, so high load can introduce queue delays. Failed requests do not consume credit, but successful ones count toward your character limit and billing.
This limit applies per API key, so splitting traffic across keys can increase throughput. However, standard usage patterns for indie apps rarely hit these caps unless processing large batches of user-generated content simultaneously.
- 60 requests/minute standard rate
- 10 requests/minute before top-up
- Sequential processing may cause queuing under load
Character limits
Each API request accepts a maximum of 4,096 characters. Longer texts must be split into chunks and concatenated client-side or via a proxy. This requires managing segment boundaries to ensure natural pauses between audio parts, avoiding abrupt cuts in speech.
The input text includes spaces and punctuation in this count. Developers should implement pre-processing to handle edge cases, such as very long sentences or special characters that might exceed the limit during encoding.
- Max 4,096 characters per request
- Spaces and punctuation count toward the limit
- Requires chunking logic for long texts
Integration Complexity
Browser integration requires just a few lines of JavaScript, making it ideal for quick prototypes without external dependencies. Cloud TTS demands an API key, HTTP requests, and handling audio responses, adding slight complexity for indie developers new to RESTful services.
Zero-config browser API
Web Speech API works directly in the browser. You instantiate the SpeechSynthesis object and call speak(). No network calls or keys needed.
API key management
Cloud TTS requires storing your Bearer token securely. You manage keys via /get-api-key/, rotating them if needed. One active key per account simplifies tracking but requires basic security hygiene.
Error handling requirements
Browser errors are often silent or vague. Cloud API returns explicit HTTP status codes. You must handle rate limits (60 req/min) and character limits (4096 chars) programmatically.
Future Scalability
We rely on a straightforward per-character model that scales linearly with usage, ensuring costs remain predictable as your indie project grows. Unlike complex tiered plans, our pricing stays simple: $10 per million characters, with no minimum spend or monthly commitments. This allows you to launch small and expand without renegotiating contracts or worrying about hidden volume caps.
Scaling with user growth
Our architecture handles concurrent requests efficiently, allowing your application to serve more users without significant latency spikes. Since audio generation is stateless, you can distribute load across multiple API keys if needed, ensuring consistent performance even during traffic surges.
Volume pricing benefits
You only pay for what you generate, with failed requests refunded automatically. This eliminates the risk of paying for unused capacity, making it ideal for indie developers with fluctuating usage patterns. Your balance never expires, so you can accumulate credits over time.
Feature updates
We may update the engine and voice presets without requiring changes to your integration. This ensures you benefit from improvements without breaking your existing code, allowing you to focus on building your product rather than managing API dependencies.
Decision Matrix
Choosing between Web Speech API and a cloud TTS API depends on your specific needs for consistency, quality, and scalability. Web Speech API is ideal for simple UI notifications where local processing suffices, while a cloud API provides consistent voice quality across all devices and users.
For complex game narration or accessibility features requiring specific voices like Aria or Atlas, a cloud API is the better choice. It offers predictable pricing and supports 23 languages, ensuring a uniform experience regardless of the user's browser or device.
A hybrid approach can combine the best of both worlds. Use Web Speech for simple, low-priority text-to-speech tasks and reserve the cloud API for critical, high-quality audio outputs. This strategy balances cost and performance, ensuring optimal resource allocation.
When to choose Web Speech
Use Web Speech API for simple UI notifications where local processing is sufficient. It requires no API key management or network latency, making it ideal for basic text-to-speech needs within the browser.
- Zero configuration
- No API key needed
- Local processing
When to choose Cloud TTS
Choose a cloud API for complex game narration or accessibility features requiring consistent voice quality. It supports 23 languages and offers predictable pricing based on character usage.
- Consistent voice quality
- Supports 23 languages
- Predictable pricing
Hybrid approaches
Combine Web Speech for simple tasks and the cloud API for critical audio outputs. This balances cost and performance, ensuring optimal resource allocation.
- Balance cost and performance
- Optimal resource allocation
- Flexible usage
Listen to the 8 voices
Each sample below was generated by this API from the same sentence. Since there are no monthly subscriptions or seats, your billing is purely transactional.
23 languages
Any voice speaks any of these languages.
