Accessibility Guide: OpenAI-Compatible Text-to-Speech API

By Dyslexia Tech Watch editorial team · Updated 2026-11-19

This guide helps product teams building for accessibility and dyslexia evaluate the Dyslexia Tech Watch text-to-speech API for reliability, clarity, and cost. We compare technical specs so you can choose the right engine for your users, focusing on concrete details like voice selection, language support, and integration workflows without marketing fluff.

You will find clear explanations of the standard OpenAI-compatible endpoint, voice presets like Aria and Nova, and practical limits such as the 4096-character input cap. We also break down the pay-per-character pricing model, USDT top-up method, and data privacy terms to help you make an informed decision for your neurodiverse audience.

Accessibility Guide: OpenAI-Compatible Text-to-Speech API

Frequently asked questions

What is the OpenAI text to speech API?

It is a cloud text-to-speech API where you send text and receive an audio file. The endpoint is POST https://api.nwrplay.info/v1/audio/speech with a JSON body. It uses the same request shape as the OpenAI speech endpoint, allowing standard OpenAI SDKs to work by changing the base URL.

How does TTS help users with dyslexia?

Text-to-speech converts written text into audio, reducing the cognitive load of decoding words. This supports readers who struggle with visual processing. Our API offers clear voices like Aria or Luna, which provide distinct, calm narration styles. Users can adjust speed from 0.25 to 4.0 to match their processing pace.

Which voice is best for reading long texts?

Luna (soft, storytelling) and Sage (calm, instructional) are well-suited for long texts, while Aria (warm, clear narrator) also supports readability. Since requests are processed sequentially, longer texts may take time. Split text into parts of up to 4096 characters and join the resulting audio files for seamless playback.

Does the API support multiple languages?

Yes, we support 23 languages including English, Spanish, French, German, Japanese, and Arabic. Any voice can speak any of these languages. If the language is not set, it is guessed from the script. For non-English Latin text, explicitly set the language code to ensure accuracy.

How much does the API cost per character?

The cost is $10 per 1 million characters, or $0.01 per 1,000 characters. Spaces and punctuation count as characters. Failed requests are free, with the charge returned in full. There are no monthly plans, seats, or minimum spends. Balance does not expire.

Is there a free trial available?

Yes, signing in with Google provides $0.50 of credit, valid for 7 days. This covers approximately 50,000 characters. Accounts created with email and password start without trial credit. You can top up using USDT on the TRON network (TRC-20) with a minimum of $5.

Can I use the OpenAI SDK with this API?

Yes, the API uses the same request shape as the OpenAI speech endpoint. You can use official OpenAI SDKs by changing the base URL to https://api.nwrplay.info/v1 and using your site-specific key. The models tts-1 and tts-1-hd use the same engine and price.

What audio formats are supported?

We support mp3, wav, opus, flac, and pcm formats. You specify the format in the response_format field. Generated audio is returned in the response and not stored. Each file carries an inaudible watermark marking it as synthetic speech.

Is my input text used for training?

No. Input text is used only to produce the audio and is not used for training. Generated audio is returned in the response and not stored. Request metadata, such as time, characters, and status, is kept solely for billing purposes.

How do I top up my balance?

Top up using USDT on the TRON network (TRC-20) only. The minimum amount is $5. Credits are automatically added within minutes after the transfer. We do not accept cards, PayPal, or subscriptions. Invoices with VAT are not provided.

Are there rate limits on requests?

Yes, the limit is 60 requests per minute per key. Before the first top-up, the limit is 10 requests per minute. Requests are processed sequentially, so under load, a request may wait in a queue. Longer texts require splitting into 4096-character parts.

Does the API support SSML?

No, the API does not support SSML. It also lacks phoneme dictionaries, custom pronunciation lexicons, emotion tags, or streaming capabilities. You control pacing by adjusting the speed parameter between 0.25 and 4.0.

Can I clone my own voice?

No, we do not offer custom voice cloning or uploading your own voice. We provide 8 licensed presets based on LibriTTS-R and LibriVox recordings. Voices include Aria, Nova, Luna, Sage, Felix, Milo, Atlas, and Orion.

How long are audio files stored?

Generated audio is returned in the response and is not stored by our API. Only request metadata (time, characters, status) is kept for billing. Input text is used only to produce the audio and is not stored for training.

First request

curl

curl https://api.nwrplay.info/v1/audio/speech \
  -H "Authorization: Bearer $TTS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"tts-1","voice":"aria","input":"Hello from the API.","response_format":"mp3"}' \
  --output hello.mp3

Why TTS Matters for Dyslexia

Sound wave illustration for: Why TTS Matters for Dyslexia

For users with dyslexia, reading dense text can be exhausting and error-prone. Text-to-speech bridges this gap by converting written content into clear audio, allowing neurodiverse users to consume information through listening rather than decoding complex visual patterns.

Supporting Neurodiverse Users

Supporting Neurodiverse Users

TTS provides an alternative access path for users who struggle with traditional reading. By offloading the visual decoding process, we help product teams build inclusive experiences that respect different cognitive styles without requiring separate app versions.

Improving Reading Comprehension

Audio support reinforces understanding by allowing simultaneous listening and reading. This dual-modality approach helps users verify word recognition and maintain focus, reducing the likelihood of skipping lines or misreading similar characters.

Reducing Cognitive Load

Synthetic voices eliminate the mental effort required to parse irregular spellings or complex sentence structures. With consistent pacing and clear articulation, users can process content faster, making digital reading less fatiguing over long sessions.

API Overview for Developers

Sound wave illustration for: API Overview for Developers

The text-to-speech API follows the standard OpenAI-compatible endpoint structure, allowing product teams to integrate TTS capabilities without learning a proprietary protocol. By sending a POST request to the speech endpoint, you receive an audio file directly, ensuring a straightforward workflow for accessibility features.

This design enables integration with existing codebases. Developers can leverage familiar tools and libraries, reducing the learning curve and accelerating deployment for dyslexia-focused applications that require reliable, high-clarity audio output.

Standard OpenAI-Compatible Endpoint

The core functionality resides at POST https://api.nwrplay.info/v1/audio/speech. This endpoint accepts JSON payloads containing your text and voice preferences, returning the synthesized audio immediately. It mirrors the structure developers already know, ensuring predictable behavior.

  • Endpoint: POST /v1/audio/speech
  • Response: Audio file in requested format
  • Method: Standard HTTP POST

Easy Integration with Existing SDKs

Because the request shape matches the OpenAI speech endpoint, you can use the official OpenAI SDKs with minimal configuration. Simply update the base_url to https://api.nwrplay.info/v1 and inject your API key. This allows you to reuse existing client logic without rewriting network calls.

JSON Request Structure

Requests are sent as JSON bodies containing fields like model, input, voice, and response_format. You specify the text to be converted, the desired voice preset, and the output format (mp3, wav, opus, flac, or pcm). The Authorization header carries your Bearer token for authentication.

Voice Selection for Clarity

Sound wave illustration for: Voice Selection for Clarity

Choosing the right voice directly impacts reading comprehension for users with dyslexia. Clear articulation and consistent pacing reduce cognitive load, allowing readers to focus on meaning rather than decoding sounds. The eight presets offer distinct auditory profiles, ensuring your application supports diverse user preferences.

Selecting a voice that matches your content’s tone helps maintain engagement. Whether you need a calm instructional guide or an energetic promo, each voice offers a distinct auditory profile. This guide highlights three voices particularly suited for clear, accessible narration.

Aria: Warm and Clear Narrator

Aria provides a warm, clear narration style ideal for educational content and long-form reading. Her consistent enunciation helps users with dyslexia track sentences without losing their place. This voice offers consistent enunciation, making it a suitable choice for general accessibility applications.

  • Warm, clear narrator tone
  • Consistent enunciation for tracking
  • Ideal for educational content

Nova: Bright and Upbeat Tone

Nova offers a bright, upbeat delivery that keeps users engaged with lighter or promotional content. Her energetic pace can help maintain attention for shorter texts or app notifications. While lively, her clarity remains high, ensuring that rapid speech does not compromise comprehension for neurodiverse readers.

  • Bright, upbeat delivery
  • Energetic but clear
  • Suitable for promotions

Luna: Soft Storytelling Voice

Luna’s soft, storytelling voice creates a calm auditory environment, reducing sensory overload for sensitive readers. Her gentle pacing allows users to absorb complex narratives without stress. This makes Luna an excellent choice for fiction, poetry, or any content requiring a soothing, distraction-free listening experience.

  • Soft, storytelling tone
  • Gentle pacing
  • Reduces sensory overload

Language Support for Global Reach

Sound wave illustration for: Language Support for Global Reach

The TTS API handles 23 languages including Arabic, Chinese, English, Hindi, Japanese, and Spanish. Every voice can speak any supported language, ensuring consistent clarity for diverse user bases without needing multiple engine configurations.

23 Supported Languages

The API supports Arabic, Chinese, Danish, Dutch, English, Finnish, French, German, Greek, Hebrew, Hindi, Italian, Japanese, Korean, Malay, Norwegian, Polish, Portuguese, Russian, Spanish, Swahili, Swedish, and Turkish. This range covers major global markets.

  • Arabic, Chinese, Danish, Dutch, English, Finnish, French, German, Greek, Hebrew, Hindi, Italian, Japanese, Korean, Malay, Norwegian, Polish, Portuguese, Russian, Spanish, Swahili, Swedish, Turkish

Automatic Language Detection

When the language field is omitted, the engine guesses the language from the text script. Latin script defaults to English, which works well for English text but may misinterpret other Latin-based languages. This simplifies integration for single-language apps.

Manual Language Override

For non-English Latin-script text, explicitly set the language field using an ISO code. This prevents mispronunciation and ensures the correct accent and intonation. Supported codes align with the 23 languages listed above, allowing precise control for multilingual content.

  • Set language parameter for non-English Latin text
  • Use ISO 639-1 codes (e.g., es, fr, de)
  • Overrides automatic script detection

Unsupported Languages

Vietnamese, Indonesian, Thai, Ukrainian, Romanian, Czech, Bengali, and other languages not in the supported list are not available. Check the full list before deploying to ensure your target audience's language is covered to avoid fallback mispronunciations.

Voices are based on licensed recordings from LibriTTS-R (CC BY 4.0) and LibriVox public-domain audiobook readings. Each generated file carries an inaudible watermark marking it as synthetic speech.

Technical Limits to Consider

Sound wave illustration for: Technical Limits to Consider

Understanding technical constraints is essential for maintaining a smooth reading experience for users with dyslexia. Specific limits on input length, request frequency, and generation speed directly impact how your application handles longer texts and user traffic.

By anticipating these boundaries, product teams can implement effective chunking strategies and manage user expectations during peak usage, ensuring consistent audio delivery without unexpected errors or delays.

4096 Character Input Limit

Each API request accepts a maximum of 4096 characters, including spaces and punctuation. For longer articles or documents, your application must split the text into smaller segments and join the resulting audio files seamlessly.

Since requests are processed sequentially, managing this limit ensures that your backend does not exceed payload constraints while maintaining audio continuity for the listener.

Rate Limits per Key

Accounts are limited to 60 requests per minute per API key. Before the first top-up, this limit is stricter at 10 requests per minute. Monitoring your usage helps prevent throttling during high-traffic periods.

If synthesis fails, the character count is not deducted from your balance, ensuring you do not pay for unsuccessful generation attempts.

Audio Generation Speed

Generation speed is roughly real-time, averaging about 25 characters of text per second of audio. Short phrases may take a few seconds to process, while longer texts scale proportionally.

Under heavy load, requests may queue behind others, so your interface should account for potential latency when fetching audio for immediate playback.

Audio Formats for Accessibility

Choose MP3 for broad web compatibility, WAV for high-quality playback, or FLAC for lossless archival. PCM is available for raw data processing.

Formats like Opus offer efficient compression for streaming scenarios, though the API does not support real-time partial audio streaming.

  • MP3: Standard for web use
  • WAV: High quality, uncompressed
  • FLAC: Lossless compression
  • Opus: Efficient compression
Technical Limits to Consider

Pricing Model Explained

Sound wave illustration for: Pricing Model Explained

Our pricing model is transparent and usage-based, charging $10 per million characters, which equates to $0.01 per 1,000 characters. Spaces and punctuation count toward this total, ensuring predictable costs for product teams managing large-scale accessibility features.

Pay Per Character Cost

There are no monthly plans, seats, or minimum spend requirements. You only pay for what you use, with failed requests refunded in full. This structure supports variable traffic patterns.

  • $10 per 1 million characters ($0.01 per 1,000 characters)
  • Failed requests are free
  • No monthly plans or seats
  • Balance does not expire

Free Trial Credit

New accounts created with Google sign-in receive $0.50 in trial credit, sufficient for approximately 50,000 characters. This trial is valid for seven days, allowing teams to evaluate audio quality and integration fit before committing to a top-up.

  • $0.50 credit for Google sign-ups
  • Approx. 50,000 characters
  • Valid for 7 days
  • Email/password accounts start without trial credit

USDT Top-Up Method

We support direct top-ups via USDT on the TRON network (TRC-20). The minimum deposit is $5, and credits are automatically added to your balance within minutes of transfer confirmation. We do not process cards, PayPal, or VAT invoices.

  • USDT on TRON (TRC-20) only
  • Minimum top-up: $5
  • Automatic credit within minutes
  • No cards, PayPal, or subscriptions

Audio Formats for Accessibility

Sound wave illustration for: Audio Formats for Accessibility

The TTS API delivers audio in MP3, WAV, OPUS, FLAC, or PCM formats. Choosing the right format ensures that users with dyslexia can consume content reliably across different devices and connection speeds without unnecessary latency or quality loss.

MP3 for Web Compatibility

MP3 is the standard for web delivery, offering small file sizes that load quickly even on slower connections. This makes it ideal for embedding audio players directly into articles or educational content, ensuring that users can start listening without long buffering delays.

WAV for High Quality

WAV provides uncompressed audio, preserving the full clarity of the synthetic voice. This format is useful for users who prefer high-fidelity playback or need to process the audio further with other tools, ensuring no subtle nuances of the narration are lost.

FLAC for Lossless Storage

FLAC offers lossless compression, reducing file size without sacrificing any audio data. It is suitable for archival purposes or for users who want the best possible audio quality while still saving storage space compared to raw WAV files.

Data Privacy and Training

Sound wave illustration for: Data Privacy and Training

Transparency is essential for accessibility-focused products. Our text-to-speech engine processes your input text solely to generate the corresponding audio file, ensuring that the content you send is not retained or used to train future model improvements.

Input Text Not Used for Training

When you send text via the API, it is processed to create the audio response. Unlike some competitors, we do not store or reuse this text for machine learning purposes, keeping your content private.

No Persistent Audio Storage

The generated audio file is returned directly in the API response. We do not persistently store the resulting audio files on our servers after delivery, minimizing data exposure.

Billing Metadata Retention

We retain request metadata, including timestamp, character count, and status, strictly for billing accuracy and usage tracking. This limited data allows us to process your USDT top-up and charge correctly without storing the actual content.

Getting Started Quickly

Sound wave illustration for: Getting Started Quickly

Begin by creating an account at https://nwrplay.info/get-api-key/ using Google or email. The dashboard instantly displays your unique Bearer token, current balance, and character usage, allowing immediate integration into your accessibility workflows.

Use the provided curl command or the OpenAI SDK to generate speech. Adjust the base_url to https://api.nwrplay.info/v1 and pass your key in the Authorization header. This standard approach ensures seamless compatibility with existing client libraries.

Generate Your API Key

Visit the /get-api-key/ page to sign up via Google or email. Your account receives a single active Bearer key, visible immediately on the dashboard alongside your balance and usage metrics.

First Curl Example

Use this command to test the endpoint. Replace YOUR_API_KEY and YOUR_VOICE with your credentials. The response returns the audio file directly.

curl -X POST https://api.nwrplay.info/v1/audio/speech \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model": "tts-1", "input": "Hello world", "voice": "aria", "response_format": "mp3"}'

Testing with OpenAI SDK

The API mirrors the OpenAI speech structure. Initialize your client with base_url=https://api.nwrplay.info/v1 and use the standard AudioClient or equivalent method. Pass your key via the Authorization header.

This allows you to reuse existing codebases without rewriting request logic, ensuring consistent performance for your dyslexia-focused applications.

Listen to the 8 voices

Each sample below was generated by this API from the same sentence. The voices do not distort at higher rates, which is essential for users who rely on TTS for reading comprehension.

Avatar of the voice aria
ariafemale
Avatar of the voice nova
novafemale
Avatar of the voice luna
lunafemale
Avatar of the voice sage
sagefemale
Avatar of the voice felix
felixmale
Avatar of the voice milo
milomale
Avatar of the voice atlas
atlasmale
Avatar of the voice orion
orionmale

23 languages

Any voice speaks any of these languages.

Sources and further reading

  1. Wikipedia
  2. MDN: Web Speech API
  3. W3C WAI: making audio and video accessible
  4. ISO 639 language codes
  5. Python documentation
  6. openai-python on GitHub
  7. Creative Commons Attribution 4.0
  8. Tether (USDT)
  9. FFmpeg documentation
  10. LibriTTS-R paper (arXiv 2305.18802)
  11. IETF RFC 7845: Ogg Opus
  12. LibriVox public-domain audiobooks

More on this site