Frequently asked questions
How do I split long texts?
Split input text into parts of up to 4096 characters per request. Generate audio for each part individually, then join the resulting audio files. This ensures each request stays within the character limit while maintaining continuous playback for the user.
Can I use this on iOS?
Yes, use the official OpenAI SDK or plain HTTP requests. Change the base URL to https://api.m91login.com/v1 and provide your API key. The API returns standard audio files compatible with any iOS audio player, requiring no special platform-specific integration.
Can I use this on Android?
Yes, integrate via the OpenAI SDK or direct HTTP calls. Set the base URL to https://api.m91login.com/v1. Receive the audio file in the response and play it using standard Android audio libraries. No proprietary SDK is required for implementation.
Is the API reliable?
Requests are processed sequentially, so under load a request may wait in a queue. Failed requests are free with full charge returns. Typical speed is roughly real time, generating about 25 characters per second for long texts. No uptime guarantee is provided.
How do I handle errors?
Check the HTTP status code in the API response. If synthesis fails, the charge is returned in full. Implement retry logic for temporary queue delays, keeping in mind the 60 requests per minute rate limit per API key to avoid throttling.
What is the best format?
Choose from mp3, wav, opus, flac, or pcm based on your app needs. MP3 offers small file sizes for efficient storage. WAV provides uncompressed audio. Select the format that best balances audio fidelity and bandwidth usage for your specific use case.
Can I cache audio files?
Yes, generated audio is returned in the response and not stored by the API. You can save the audio files locally or on your server. This allows you to reuse audio for identical text inputs, reducing API calls and costs for repeated content.
Do I need a backend?
A backend is not strictly required but recommended to protect your API key. You can call the API directly from your app if you manage key exposure. A backend also helps manage rate limits, split long texts, and handle retry logic efficiently.
Is WebSocket supported?
No, the API uses standard HTTP POST requests. There is no streaming or real-time partial audio support. You receive the complete audio file after synthesis finishes. This synchronous approach simplifies integration for batch processing or on-demand reading applications.
Can I use SSML?
No, the API does not support SSML. You pass plain text in the input field. For pacing or emphasis, adjust the speed parameter between 0.25 and 4.0. Complex formatting must be handled by your application logic before sending the text to the API.
How do I change languages?
Set the optional 'language' field to the ISO code in your request. If omitted, the API guesses the language, defaulting to English for Latin script. Explicitly setting the language ensures correct pronunciation for non-English texts, especially those using Latin characters but not English.
Is there a mobile SDK?
No, there is no official mobile SDK. Use the OpenAI SDK or plain HTTP requests. Configure the base URL to https://api.m91login.com/v1. This allows you to integrate the API using standard libraries.
Can I use this offline?
No, the API is cloud-based. You need an internet connection to send text and receive audio files. The audio is generated on the server and returned in the response. Offline playback is possible only after the audio file has been downloaded.
How do I test voices?
Call the GET /v1/voices endpoint to list available voices, languages, and formats. Use the provided curl example or SDK to send a test text with a specific voice preset. Verify the audio output matches your requirements before integrating into your main application flow.
Planning Your App
Before writing code, define who will use the read aloud feature and why. Elderly users may need slower speech and simple controls, while assistive hardware users require reliable audio files. Identify specific pain points, such as difficulty reading small text on low-resolution screens, to guide your interface design.
Define user needs
Clarify the primary use case: is the app for daily news reading, book narration, or accessibility support for visually impaired users? This decision influences voice selection and speed settings. For elderly users, prioritize clarity over speed; for assistive devices, prioritize reliability and consistent audio quality.
- Identify the primary user demographic (e.g., elderly, visually impaired).
- Define the core use case (news, books, notifications).
- Determine if offline playback is required.
Select target devices
Choose devices that support audio playback and have stable internet connections for API calls. Consider constraints like screen size, battery life, and input methods. For assistive hardware, ensure the device can handle the audio formats you choose (mp3, wav, opus, flac, pcm) and process API responses efficiently.
- Ensure devices support required audio formats (mp3, wav, opus, flac, pcm).
- Check for stable internet connectivity for API requests.
- Verify screen size and input method compatibility.
Estimate character volume
Calculate the expected character count per request to avoid exceeding the 4096 character limit. Each request costs $0.01 per 1,000 characters, including spaces and punctuation. Plan for longer texts by splitting them into chunks and joining the audio files later. This helps in budgeting and ensuring smooth user experiences without unexpected delays or costs.
- Keep each request under 4096 characters.
- Account for spaces and punctuation in character counts.
- Plan for chunking and joining audio for longer texts.
Choosing the Right Voice
Selecting the correct voice is critical for elderly users who may have hearing impairments or cognitive processing differences. Clear, distinct articulation reduces listening fatigue and ensures instructions are understood without re-reading. Prioritize voices like Aria or Sage, which offer warm, clear narration or calm, instructional tones suitable for assistive hardware.
Test these voices against typical content, such as medication schedules or news briefs, to verify intelligibility. You may choose any voice; for example, Felix is energetic and Orion is deep.
Prioritize clarity
Focus on voices that emphasize distinct consonant sounds and steady pacing. Aria provides a warm, clear narrator style, while Sage offers a calm, instructional tone ideal for step-by-step guidance. These presets minimize ambiguity, ensuring that elderly users can follow along without strain.
Test audio samples at various volumes to confirm that the voice remains distinct even in noisy environments common in home settings. Avoid voices with excessive breathiness or rapid enunciation that might obscure key words.
- Aria: Warm, clear narrator for general reading
- Sage: Calm, instructional tone for step-by-step guides
- Nova: Bright, upbeat for engaging content
- Luna: Soft, storytelling for relaxed listening
Test speed settings
Adjust the speed parameter between 0.25 and 4.0 to match the user's processing speed. Start with a moderate speed (1.0) and reduce it if users report missing words. Faster speeds may be suitable for experienced users but can overwhelm those with slower processing.
Use the speed control to create a customizable experience. Allow users to adjust the rate via their device interface, ensuring they can slow down the audio during complex instructions or speed it up for simple confirmations.
Remember that requests are processed sequentially, so longer texts at higher speeds may experience queue delays. Test the actual generation time to ensure the experience feels responsive.
- Default speed: 1.0
- Range: 0.25 to 4.0
- Recommendation: Start at 0.8 for elderly users
Consider user preference
Involve users in the selection process to determine their comfort level. Some may prefer a male voice like Milo for a friendly, conversational feel, while others might find Atlas's neutral news tone more authoritative.
Provide a simple menu to switch voices. Voices are based on licensed recordings from LibriVox public-domain audiobook readings.
Allow users to save their preferred voice and speed settings locally on their device for a consistent experience across sessions.
- Milo: Friendly, conversational
- Atas: Neutral, news-style
- Orion: Deep, documentary
- Felix: Energetic, promo
Technical Setup
ReadAid API mirrors the OpenAI speech endpoint structure, allowing you to leverage familiar tools. By installing the standard OpenAI SDK, you gain immediate access to reliable request handling by changing the base URL.
Install OpenAI SDK
Use your preferred package manager to add the official OpenAI library. This ensures compatibility with the request shape we expect for audio generation.
Configure base URL
Update the SDK configuration to point to our API domain. Set the base_url to https://api.m91login.com/v1 so all calls route correctly to our TTS engine.
Handle authentication
Include your API key in the Authorization header as a Bearer token. Retrieve your key from the /get-api-key/ dashboard and ensure it remains active.
Handling Long Texts
Long texts exceed the 4096-character limit per request. Split your input text into chunks and process them sequentially. This ensures reliable synthesis without truncation.
Split at 4096 chars
Divide your text into segments of up to 4096 characters. Each segment becomes a separate API call. This keeps requests within the defined limit and ensures consistent audio generation.
- Count spaces and punctuation as characters
- Split at natural sentence boundaries when possible
- Keep each chunk under 4096 characters
Queue requests
Requests are processed one after another. Under load, your request may wait in a queue. Monitor the rate limit of 60 requests per minute. Implement retry logic to handle delays gracefully.
- Rate limit: 60 requests per minute
- Process requests sequentially
- Implement exponential backoff for retries
Join audio files
After receiving each audio file, concatenate them into a single file. This creates a seamless listening experience. The audio formats supported are mp3, wav, opus, flac, and pcm.
- Concatenate audio files in order
- Ensure consistent audio format
- Verify seamless playback
Managing Rate Limits
ReadAid API enforces a limit of 60 requests per minute per key. This constraint is critical for indie developers building assistive reading apps, ensuring stable performance on elderly hardware without overwhelming the generation queue. Understanding this limit helps you design reliable user experiences.
Monitor requests per minute
Track your API usage closely, especially during the initial 10 requests per minute limit before your first top-up. Once funded, the limit increases to 60 requests per minute. Use this capacity to plan batch processing for longer texts, splitting them into 4096-character chunks to stay within safe bounds.
- Limit is 60 requests/minute per key after funding
- Initial limit is 10 requests/minute
- Monitor usage via the /get-api-key/ dashboard
Implement retry logic
When the limit is reached, implement exponential backoff in your client code. Since requests are processed sequentially under load, a simple retry loop prevents error cascades. Ensure your app handles HTTP 429 responses gracefully, waiting briefly before resuming text synthesis for your users.
- Handle HTTP 429 status codes
- Use exponential backoff for retries
- Prevent app crashes during peak usage
Handle queue delays
Requests may wait in a queue if the system is busy. Typical generation speed is roughly real-time (25 characters per second), but short phrases may take a few seconds. Inform users of potential delays in your assistive device interface to manage expectations effectively.
- Requests are processed sequentially
- Generation takes a few seconds for short texts
- Implement user-facing loading indicators
Optimizing Costs
Cost management is straightforward with our character-based pricing. You pay $0.01 per 1,000 characters, ensuring you only fund actual usage. Failed requests are free, protecting your budget during testing phases. This model suits indie developers building assistive hardware where predictable, low-volume usage is common.
Start by leveraging the $0.50 free trial available when signing in with Google. This provides about 50,000 characters to validate your integration without immediate payment. For ongoing needs, top-ups are handled via USDT on the TRON network (TRC-20), with no cards, PayPal, or subscriptions.
Use the free trial
Sign in with Google to receive $0.50 in credit. This covers approximately 50,000 characters and lasts for 7 days. It is ideal for initial integration tests before committing funds. Email-based accounts do not include this trial credit, so consider your signup method carefully.
- Valid for 7 days after sign-in
- Approximately 50,000 characters included
- Requires Google sign-in
Pay with USDT
We accept USDT on the TRON network (TRC-20) exclusively. There are no credit cards, PayPal options, or VAT invoices. The minimum top-up is $5, and funds are credited automatically within minutes. This method avoids recurring subscriptions and monthly plans, keeping your infrastructure costs flat.
- USDT on TRON (TRC-20) only
- Minimum top-up: $5
- Automatic credit within minutes
Avoid unnecessary requests
Ensure your text splitting logic respects the 4,096 character limit per request to prevent wasted processing. Since requests are processed sequentially, unnecessary calls can increase latency and consume your per-minute quota faster. Monitor your dashboard to track character consumption and adjust your app's text handling accordingly.
- Respect 4,096 character limit
- Monitor character consumption
- Avoid redundant API calls
Testing Performance
Testing performance ensures your read-aloud application meets the needs of elderly users and assistive hardware. Accurate timing and quality checks prevent frustrating delays during playback.
Focus on generation speed, audio clarity, and format compatibility to deliver a smooth experience across different devices.
Measure generation time
Long texts generate at roughly real-time speed, about 25 characters per second. Short phrases may take a few seconds to process. Requests are handled sequentially, so high load can introduce queue delays.
Monitor these times to set appropriate loading indicators for your users.
- Track time from request to audio file receipt.
- Account for queue wait times under load.
Check audio quality
Voices like Luna (soft, storytelling) or Felix (energetic) are available. Test different voices to ensure clarity for hearing-impaired users.
Note that all files contain an inaudible watermark marking them as synthetic speech, which does not affect playback quality.
- Test voices for clarity and tone.
- Verify no background noise or artifacts.
Verify format support
Support mp3, wav, opus, flac, and pcm formats. Choose formats based on your device’s playback capabilities.
Ensure your player handles the selected format correctly before deployment.
- Test mp3 and wav compatibility.
- Verify PCM support for raw audio processing.

Accessibility Compliance
Accessible reading apps require clear audio output that elderly users can understand without strain. ReadAid API delivers consistent speech synthesis across 23 supported languages, ensuring that text-to-speech conversion remains intelligible regardless of the source material's origin.
Ensure clear output
The API provides eight distinct voice presets, ranging from warm narrators to calm instructional tones. These voices are optimized for clarity, making them suitable for assistive hardware where audio fidelity directly impacts user comprehension.
- Select voices like Sage for instructional content or Aria for narrative reading.
- Use WAV or FLAC formats for highest quality playback on assistive devices.
- Avoid MP3 if bandwidth is limited but quality is critical.
Support speed controls
Users may need to adjust playback speed based on their reading ability. The API accepts a speed parameter between 0.25 and 4.0, allowing you to build simple UI controls that let users slow down speech for better understanding or speed it up for efficiency.
- Default speed is 1.0; lower values aid comprehension for elderly users.
- Max speed is 4.0 for quick skimming of simple text.
- Ensure your UI reflects the current speed setting clearly.
Validate language support
Correct language detection is crucial for accurate pronunciation. While the API guesses language from script, explicitly setting the language field for non-English Latin text ensures correct articulation. Supported languages include English, Spanish, German, French, and 19 others.
- Set
languageparameter for non-English Latin script inputs. - Supported: Arabic, Chinese, Danish, Dutch, English, Finnish, French, German, Greek, Hebrew, Hindi, Italian, Japanese, Korean, Malay, Norwegian, Polish, Portuguese, Russian, Spanish, Swahili, Swedish, Turkish.
- Unsupported: Vietnamese, Indonesian, Thai, Ukrainian, Romanian, Czech, Bengali.
Deployment Strategies
Choosing the right deployment strategy depends on your specific use case and the capabilities of your assistive hardware. Whether you are building for elderly users with limited attention spans or for long-form reading applications, your architecture must balance immediacy with resource efficiency.
Batch processing
Batch processing is ideal for pre-generating audio files for static content, such as book chapters or instruction manuals. By sending multiple requests in sequence, you can prepare all necessary audio assets before the user interacts with them. This approach minimizes latency during playback, which is critical for devices with slower processors.
- Pre-generate audio for long texts to ensure instant playback.
- Reduce peak load on the API during active usage hours.
- Ideal for books, articles, or static instructional content.
Real-time generation
For interactive applications where users type or speak short phrases, real-time generation provides immediate feedback. Since requests are processed one after another, expect a few seconds of delay for short phrases. This method keeps the device state simple but requires handling user wait times gracefully.
- Immediate response for short, dynamic inputs.
- Requires handling queue delays for longer texts.
- Best for chat-style or interactive reading aids.
Caching strategies
Implement caching to avoid redundant API calls for identical text inputs. Store the generated audio files locally on the device or in a lightweight cloud storage. This reduces costs and ensures consistent playback, even if the API is temporarily unavailable due to high load.
- Store generated MP3/WAV files locally on the device.
- Use content hashing to identify duplicate texts.
- Reduce API calls and lower monthly costs.
Common Pitfalls
Even small oversights in API configuration can degrade the user experience for elderly readers. By avoiding these common traps, you ensure your assistive hardware delivers clear, reliable audio without unnecessary delays or errors.
Ignoring language tags
Default language guessing fails for non-English Latin text. Always set the language field explicitly to prevent incorrect pronunciation or accent issues.
- Set
languagefor all non-English texts. - Default to English for Latin script if omitted.
Assuming streaming
This API returns full audio files, not partial streams. Do not design your app expecting real-time partial audio chunks; wait for the complete response.
Missing rate limits
Each key allows only 60 requests per minute. Exceeding this causes delays as requests queue. Implement retry logic to handle these pauses gracefully.
Before the first top-up, the limit is 10 requests per minute. Monitor your usage to avoid silent failures or degraded performance.
- Limit: 60 req/min after top-up.
- Limit: 10 req/min initially.
Maintenance Tips
Regular maintenance ensures your assistive reading app remains reliable and secure. By rotating API keys and monitoring your account balance, you prevent unexpected interruptions in service. These simple steps keep your device integration stable for elderly users who depend on consistent audio output.
Rotate API keys
You can issue a new API key at any time through your account dashboard. When you do, the old key stops working immediately, ensuring that only your current device uses the valid credential. This simple rotation helps maintain security without complex infrastructure.
- Issue a new key via the /get-api-key/ page
- Old key becomes invalid instantly
- No downtime during rotation
Monitor balance
Check your balance regularly to avoid service pauses. Since billing is character-based, unexpected spikes in usage can deplete your USDT credit quickly. The dashboard shows your current balance and characters used, helping you plan top-ups in advance.
- Check balance on /get-api-key/
- Monitor character consumption
- Top up via TRON network
Update SDK versions
While we do not provide an official SDK, you likely use the OpenAI SDK or plain HTTP. Keeping your HTTP library or SDK up to date ensures compatibility with our endpoint structure. This reduces errors when sending text for synthesis.
- Use latest OpenAI SDK
- Keep HTTP libraries current
- Test after updates
Support Channels
ReadAid API provides direct support via email for technical questions and billing inquiries. We do not offer live chat, phone lines, or on-site assistance. This approach keeps our operational costs low, allowing us to maintain a simple, character-based pricing model without hidden fees or complex support tiers.
Email support only
Send your queries to [email protected]. Include your API key, the endpoint used, and relevant error logs. Our team reviews tickets sequentially and responds during business hours. For urgent billing issues regarding USDT transfers, please include the transaction ID and wallet address for faster verification.
Documentation reference
The /docs/ page contains detailed specifications for the speech endpoint, voice presets, and rate limits. It includes ready-to-use cURL examples and OpenAI SDK configurations. Refer to the troubleshooting section for common issues like language guessing errors or character limit exceedances.
- Endpoint specifications
- Voice presets list
- Rate limit details
- cURL examples
Community forums
There is no official community forum for ReadAid API. Users are encouraged to share code snippets and integration tips in general indie developer groups on platforms like GitHub or Reddit. We do not moderate these external discussions.
Listen to the 8 voices
Each sample below was generated by this API from the same sentence. This decision influences voice selection and speed settings.
23 languages
Any voice speaks any of these languages.
Sources and further reading
- Wikipedia
- FFmpeg documentation
- MDN: Web Speech API
- Creative Commons Attribution 4.0
- openai-node on GitHub
- LibriTTS-R paper (arXiv 2305.18802)
- LibriVox public-domain audiobooks
- LibriTTS-R corpus (OpenSLR 141)
- W3C WAI: making audio and video accessible
- openai-python on GitHub
- Node.js documentation
- curl documentation
