Build Accessible Patient Guides with Our TTS API

By ReadAloud Dev editorial team · Updated 2026-11-18

This guide shows indie developers how to transform medical text into natural-sounding audio using the ReadAloud Dev TTS API. You will learn to generate accessible patient guides, educational content, and audiobooks without hiring voice actors or managing complex infrastructure. We cover the entire workflow, from selecting the right voice to integrating audio into your app, ensuring your patients can listen to critical health information easily.

You will get concrete examples, including curl commands and OpenAI SDK snippets, along with specific details on pricing, rate limits, and voice options. This page is designed for developers who need a reliable, straightforward solution to build audio features quickly. By following these steps, you can deliver clear, compliant, and engaging audio content that enhances the user experience for your medical and educational applications.

Build Accessible Patient Guides with Our TTS API

Frequently asked questions

How do I choose the right voice?

Select from eight presets based on your content’s tone. Use aria for clear narration or luna for storytelling. For instructional medical guides, sage offers a calm tone, while atlas provides a neutral, news-like delivery. Each voice supports all 23 languages, so choose based on the desired emotional impact of your patient guide.

What is the maximum text length?

Each API request supports up to 4096 characters. This limit includes spaces and punctuation. If your medical text exceeds this length, you must split it into smaller parts. Send each part separately and join the resulting audio files to create a complete patient guide or educational module.

How do I split long texts?

Divide your input text into chunks of 4096 characters or fewer. Send each chunk as a separate POST request to the speech endpoint. Once you receive the audio files for each part, concatenate them in order. This ensures you stay within the per-request character limit while maintaining audio continuity.

What is the best format for audio?

Choose the format that best suits your delivery method. MP3 is efficient for web streaming, while WAV offers uncompressed quality. For efficient storage, consider Opus or FLAC. PCM is available for raw data processing. All formats are supported via the response_format parameter in your API request.

How do I handle errors?

If synthesis fails, the charge is returned in full. Check your request body for valid model names, voice presets, and character limits. Ensure your API key is active and formatted correctly. Failed requests do not consume your balance, allowing you to retry without financial penalty once the issue is resolved.

Can I use the API in a mobile app?

Yes, you can integrate the API into mobile apps using standard HTTP requests or the OpenAI SDK by changing the base URL. There is no dedicated mobile SDK, but the REST API works seamlessly. Ensure you handle audio playback locally after receiving the file from the API endpoint.

Is the API accessible?

The API generates natural-sounding speech for patient guides and educational content. It supports 23 languages, including English, Spanish, and German. You can adjust speed between 0.25 and 4.0 to aid comprehension. While it lacks SSML, the clear voice presets help create accessible audio content for diverse audiences.

How do I monitor usage?

Log in to your account at /get-api-key/ to view your balance, characters left, and usage history. The dashboard displays real-time data on your active key and credit status. You can also issue a new key at any time, which immediately invalidates the old one for security management.

What are common mistakes?

A common error is exceeding the 4096-character limit per request. Another is forgetting to set the language parameter for non-English Latin text, which defaults to English. Ensure you split long texts correctly. Also, verify that your API key is correctly formatted with the Bearer token in the authorization header.

How do I get support?

Support is available via email only. There is no live chat, phone number, or SLA guarantee. For technical issues or billing questions, contact us through the email address provided on the contact page. Response times may vary, so plan your integrations accordingly without expecting immediate live assistance.

Can I customize the output?

You can adjust the speech speed between 0.25 and 4.0. You can also choose from eight distinct voice presets and multiple audio formats like MP3 or WAV. However, there is no SSML support, no custom pronunciation lexicons, and no emotion tags. Output customization is limited to these parameters.

Is there a demo available?

Sign up with Google to receive $0.50 of free trial credit, valid for 7 days. This allows you to generate approximately 50,000 characters of audio. You can test voices, formats, and speeds directly using the API endpoint or the curl example provided on your dashboard after signing in.

How do I integrate with my CMS?

Use the standard HTTP POST endpoint or the OpenAI SDK by setting the base URL to https://api.play3u3u.com/v1. Send your text content via the API, receive the audio file, and store it in your CMS. Since there is no official WordPress plugin, you must handle the integration via code.

What is the typical speed?

Generation takes roughly real time for long texts, averaging 25 characters per second. Short phrases may take a few seconds. Requests are processed sequentially, so under heavy load, your request might wait in a queue. Plan your generation timing accordingly, especially if processing large volumes of medical text.

Choose Your Voice

Sound wave illustration for: Choose Your Voice

Selecting the right voice is the first step in creating patient guides that feel professional and reassuring. Our API provides eight distinct presets, ranging from warm narrators to neutral news readers, ensuring your audio content matches the tone of your medical materials.

Select from 8 natural voices

You can choose from female voices like Aria for clear narration or Luna for soft storytelling, and male options like Atlas for neutral news or Orion for deep documentary styles. Each voice is based on licensed recordings, offering a natural sound without requiring voice actor hiring.

  • Aria: Warm, clear narrator
  • Luna: Soft, storytelling
  • Atlas: Neutral, news
  • Orion: Deep, documentary

Consider tone and clarity

Clarity is critical for medical instructions. Voices like Sage provide a calm, instructional tone perfect for step-by-step patient guides, while Felix offers an energetic vibe suitable for promotional health content. The API ensures consistent quality across all 23 supported languages, including English, Spanish, and French.

Match voice to content type

Align the voice with your content’s purpose. Use Milo for friendly, conversational explanations of side effects, or Nova for upbeat educational videos. By matching the voice to the content type, you enhance patient engagement and comprehension without needing complex infrastructure.

Prepare Your Text

Sound wave illustration for: Prepare Your Text

Patient guides often contain dense medical information that needs to be broken down for optimal audio generation. Our API accepts text inputs up to 4,096 characters per request, ensuring high-quality synthesis without overwhelming the processing engine.

Keep text under 4096 characters

Each API call processes a maximum of 4,096 characters, including spaces and punctuation. This limit ensures consistent audio quality and predictable processing times. For shorter instructions or medication dosages, a single request is usually sufficient.

  • Count characters carefully, as spaces and punctuation contribute to the limit.
  • Use this limit to segment distinct sections like "Preparation" or "Side Effects".

Split longer texts if needed

When your guide exceeds the character limit, split the content into smaller chunks before sending requests. Generate each part individually and concatenate the resulting audio files in your app. This approach maintains audio continuity while respecting API constraints.

  • Split at natural pauses like sentence endings or section breaks.
  • Join audio files sequentially for a seamless listening experience.

Ensure clear and concise text

Medical terminology and complex sentences can affect clarity. Use straightforward language and avoid ambiguous abbreviations. The TTS engine performs best with clear, concise text, ensuring patients understand their instructions without confusion.

  • Spell out numbers and abbreviations for better pronunciation.
  • Avoid special characters that might confuse the synthesis engine.

Make Your First Request

Sound wave illustration for: Make Your First Request

Once your voice and text are ready, generating audio is straightforward. You can use the official OpenAI SDK for a seamless integration or raw curl commands for quick testing. The API accepts standard JSON payloads, making it easy to drop into existing workflows without learning a new protocol.

Ensure your request includes the model, input text, and selected voice. The system handles the synthesis and returns the audio file directly in the response body, ready for immediate use in your patient guides.

Use curl or OpenAI SDK

You can generate audio using the official OpenAI SDK by adjusting the base URL, or simply use a standard HTTP client like curl. This flexibility allows you to integrate the TTS engine into any stack without vendor lock-in.

  • Supports both programmatic SDKs and simple command-line testing
  • No custom client library required
  • Standard JSON request format

Set base_url correctly

To use the OpenAI SDKs, set the base_url to https://api.play3u3u.com/v1. This redirects the SDK calls to our infrastructure while maintaining the familiar request structure. For raw HTTP requests, target https://api.play3u3u.com/v1/audio/speech with a POST method.

Include API key in header

Include your unique API key in the Authorization header as Bearer <your-key>. Each account has one active key; generate a new one via the dashboard if needed, which instantly invalidates the old key. Ensure the key starts with tts- for proper authentication.

Handle the Response

Sound wave illustration for: Handle the Response

Receive audio file in response

The API returns the synthesized audio directly in the response body. You can choose your preferred format, such as mp3, wav, opus, flac, or pcm, depending on your patient guide’s needs. This eliminates the need for separate download steps.

Save or stream the audio

You can save the returned file to your server or send it directly to the user’s device. Since the audio is generated on demand, you don’t need to manage large storage buckets for every possible text variation. This keeps your infrastructure lightweight and scalable.

Handle errors gracefully

If synthesis fails, the charge is returned in full, so you can retry without worrying about costs. Always check the HTTP status code and handle timeouts, especially since requests are processed sequentially. This ensures a smooth experience for patients accessing their guides.

Integrate into Your App

Sound wave illustration for: Integrate into Your App

Integrating audio into your patient guides transforms static text into an accessible experience. By embedding a standard HTML5 audio player, you allow users to listen to medical explanations without straining their eyes, which is crucial for patients with visual impairments or reading difficulties.

Link the audio directly to the specific guide section it describes. This ensures that the synthesized voice matches the context, whether it’s a dosage instruction or a symptom list, creating a seamless narrative flow for the user.

Add audio player to your UI

Use a lightweight HTML5 <audio> element to display the generated file. Since our API returns standard formats like MP3 or WAV, this element works universally across mobile and desktop browsers without requiring custom plugins.

Ensure the player controls are visible and easy to tap. Simple play, pause, and volume controls are sufficient for most patient guide use cases, keeping the interface clean and uncluttered.

  • Use standard HTML5 <audio> tags for broad compatibility.
  • Support MP3, WAV, and Opus formats for optimal balance of quality and size.
  • Keep controls simple to reduce cognitive load for users.

Link to patient guide content

Map each generated audio file to its corresponding text block in your application’s data structure. This ensures that when a user selects a specific medical topic, the correct audio asset is loaded and played.

Consider generating audio for key sections rather than entire guides to keep load times low. You can use our API to create these files on-demand or pre-generate them during content updates.

  • Associate audio URLs with specific guide sections in your database.
  • Pre-generate audio for high-traffic topics to reduce latency.
  • Update audio files when medical guidelines change to maintain accuracy.

Ensure accessibility features

Add ARIA labels to your audio player to describe its purpose for screen readers. For example, label it as 'Audio explanation for [Guide Title]' so visually impaired users know exactly what they are listening to.

Provide captions or transcripts alongside the audio. While our TTS is clear, having text available allows users to follow along, verify information, or switch to reading if they prefer.

  • Include ARIA labels for screen reader compatibility.
  • Provide synchronized transcripts for verification and preference.
  • Ensure keyboard navigation works for play/pause controls.

image":

Test Your Implementation

Sound wave illustration for: Test Your Implementation

Testing ensures your patient guides sound natural and accessible before release. Use diverse text samples to verify clarity and pacing across different medical terms and complex instructions. This step validates that the TTS engine handles your specific content types effectively.

By systematically evaluating audio output, you confirm that the generated guides meet quality standards for end-users. This process helps identify any awkward phrasing or pacing issues early in development.

Test with different texts

Generate audio for various content types, such as dosage instructions, symptom descriptions, and emergency procedures. Verify that the tone remains consistent whether using casual or clinical language. This ensures the guide feels cohesive regardless of the specific medical topic.

Pay attention to how the system handles punctuation and numbers. Proper formatting in your source text directly impacts the audio’s readability and user comprehension.

  • Test short phrases and longer paragraphs to check pacing consistency
  • Verify numerical data (dosages, percentages) is pronounced correctly
  • Check handling of medical abbreviations and acronyms

Check audio quality

Listen for clarity, especially with technical terms. Ensure the selected voice maintains a professional yet approachable tone suitable for patient education. The audio should be clear enough for users with varying hearing abilities.

Confirm that the generated audio files are playable and free of artifacts. Test both MP3 and WAV formats to ensure compatibility with your chosen audio player.

  • Verify voice clarity with complex medical terminology
  • Check for consistent volume and pacing
  • Ensure no audio artifacts or glitches in the output

Verify language support

Confirm that the API correctly identifies and processes languages like English, Spanish, or German. If your patient guides are multilingual, explicitly set the language parameter to avoid incorrect language guessing.

Test edge cases where the script might be ambiguous. For example, ensure Latin-script text defaults to English unless a different language code is provided.

  • Explicitly set the language parameter for non-English content
  • Verify support for all 23 available languages
  • Test voice performance in less common languages like Swahili or Turkish

Monitor Usage and Costs

Sound wave illustration for: Monitor Usage and Costs

Understanding your consumption patterns helps you stay within budget while delivering consistent audio to patients. Our dashboard provides clear visibility into character counts and request statuses, ensuring you never overpay for failed syntheses.

Rate limits and balance management are critical for maintaining uninterrupted service in production environments. By tracking these metrics, you can anticipate usage spikes and adjust your caching strategies accordingly.

Track character usage

Each request counts every character, including spaces and punctuation, against your balance. Since pricing is $0.01 per 1,000 characters, even small texts add up quickly during bulk generation. Monitor your usage logs to see exactly how many characters each patient guide consumes.

  • Characters include all spaces and punctuation.
  • Failed requests refund the character cost entirely.
  • Trial credit provides ~50,000 characters for testing.

Monitor API rate limits

You are limited to 60 requests per minute per key. If you exceed this, requests may queue or fail. New accounts start with a 10 requests/minute limit until the first top-up is processed. Use this limit to plan your audio generation batches effectively.

  • Standard limit: 60 requests/minute.
  • New accounts: 10 requests/minute initially.
  • Queued requests wait for processing slots.

Manage your balance

Add funds via USDT (TRC-20) with a $5 minimum. Balances never expire, and you only pay for what you use. Check your dashboard to see your current balance and character remaining. Issue a new API key anytime if you suspect a leak, as the old one stops immediately.

  • Payment via USDT (TRC-20) only.
  • Minimum top-up amount: $5.
  • No expiration on remaining balance.
Monitor Usage and Costs

Optimize Performance

Sound wave illustration for: Optimize Performance

Optimizing performance ensures your patient guides load quickly and respond smoothly, even when generating audio for complex medical texts. By anticipating user needs and managing network efficiency, you can deliver a seamless experience without wasting API credits on redundant requests.

Pre-fetch audio if possible

Since generation takes roughly real-time (25 characters per second), pre-fetching audio for likely next sections reduces perceived latency. This is especially useful for structured guides where users often navigate sequentially through topics like symptoms or treatment plans.

  • Identify logical next steps in your guide structure.
  • Trigger synthesis in the background while the user reads the current section.

Cache generated audio

Store generated audio files locally or on your CDN since the input text does not change often for standard medical advice. This avoids re-synthesizing identical content, saving both time and your API balance for new or updated sections.

  • Cache audio by content ID or hash.
  • Invalidate cache when guide content is updated.

Optimize network requests

Minimize payload size by choosing efficient formats like opus or mp3 for web delivery, reserving wav or flac only for high-quality archival needs. Combine small audio segments if your guide splits long texts, ensuring smooth playback without excessive HTTP overhead.

  • Use opus for smaller file sizes.
  • Reserve wav/flac for specific high-fidelity requirements.

Common Pitfalls

Sound wave illustration for: Common Pitfalls

Developers often hit rate limits when generating bulk patient guides. With a limit of 60 requests per minute, long texts must be split into 4096-character chunks. Requests process sequentially, so high volume may queue.

Ensure your API key starts with tts- and is passed correctly in the Authorization: Bearer header. A new key invalidates the old one immediately, so update your app config promptly after rotation.

Exceeding rate limits

The limit is 60 requests per minute per key (10 before top-up). Split input text into parts of up to 4096 characters and join the resulting audio files. Under load, requests queue behind each other.

Monitor your balance and usage in the dashboard to avoid unexpected throttling during peak patient guide generation.

  • Split long texts into 4096-character segments
  • Queue requests to stay under 60/min
  • Monitor usage in the dashboard

Incorrect API key format

Keys must begin with tts-. Pass them via Authorization: Bearer <key>. If you issue a new key, the old one stops immediately.

Verify your key in the /get-api-key/ dashboard before integrating into your patient guide app.

  • Start key with tts-
  • Use Bearer header
  • Rotate keys carefully

Missing language parameter

If language is omitted, the system guesses the script. Latin text defaults to English, which may mispronounce non-English medical terms. Always set the ISO code for clarity.

Supported languages include English, Spanish, German, French, and 19 others. Unsupported languages like Vietnamese will not work.

  • Set ISO language code
  • Avoid default English guess
  • Check supported list

Best Practices

Sound wave illustration for: Best Practices

Building accessible patient guides requires more than just converting text to speech; it demands clarity and consistency. By adhering to specific best practices, indie developers can ensure their audio content is both understandable and trustworthy for patients.

These guidelines help maximize the effectiveness of the TTS API, ensuring that medical terminology and instructions are delivered with the right tone and clarity.

Use clear and simple text

The API handles up to 4096 characters per request. Keeping sentences concise improves speech synthesis quality and reduces processing time. Avoid complex punctuation that might confuse the engine's natural rhythm.

Simplify medical jargon where possible. Clear, straightforward language ensures the generated audio is easy for patients to follow, especially when they are stressed or unwell.

  • Break long texts into chunks under 4096 characters.
  • Avoid excessive special characters or complex formatting.
  • Use standard punctuation for better natural flow.

Test with real users

Have potential patients listen to your generated guides. Feedback on voice tone, speed, and clarity is invaluable. Different voices like 'sage' for instructional content or 'aria' for narrations may resonate differently with your audience.

Adjust the speed parameter (0.25–4.0) based on user feedback. Some patients may prefer slower, clearer speech for complex medical instructions.

  • Gather feedback from target patients.
  • Adjust voice and speed settings.
  • Test on various devices and browsers.

Keep content updated

Medical information changes frequently. Ensure your text source is updated regularly so the audio reflects current guidelines. Since audio is generated on demand, you can update the text and regenerate the audio as needed.

Monitor your usage and costs to ensure you have sufficient balance. Regularly review your API key and rate limits to avoid interruptions in service.

  • Update text source regularly.
  • Regenerate audio for updated content.
  • Monitor API usage and balance.

Next Steps

Sound wave illustration for: Next Steps

Dive deeper into the API capabilities by exploring all eight voice presets. Each voice offers a distinct tone, from the warm narration of Aria to the deep documentary style of Orion, ensuring your patient guides hit the right emotional note.

Explore more voices

Experiment with different voices to find the perfect match for your medical content. Whether you need the calm instruction of Sage for procedures or the upbeat energy of Nova for wellness tips, the right voice enhances comprehension and engagement.

  • Test Aria for warm, clear narration
  • Try Luna for soft storytelling
  • Use Atlas for neutral news-style updates
  • Leverate Felix for energetic promos

Try different formats

Choose the audio format that best suits your patient’s device and network conditions. Support for MP3, WAV, OPUS, FLAC, and PCM ensures compatibility across various platforms without compromising quality.

  • MP3 for broad compatibility
  • OPUS for efficient bandwidth usage
  • WAV for high-quality local playback
  • FLAC for lossless archival

Build your first guide

Start by generating a short audio snippet using the OpenAI SDK or a simple curl command. With a $0.50 free trial credit, you can generate about 50,000 characters to test your workflow before committing to a balance top-up.

  • Use the provided curl example
  • Set the base_url correctly
  • Include your API key in the header

Get Support

Sound wave illustration for: Get Support

We are here to help you build accessible patient guides. Our support is simple and direct, ensuring you can focus on development without unnecessary delays or complex ticketing systems.

Unlike many providers, we offer direct email support for any technical or billing questions. We do not have phone lines or live chat, keeping our process efficient and transparent for indie developers.

Contact support by email

Send your questions to our support team. We handle all inquiries via email, providing clear answers to your technical or billing issues without the noise of live chat queues.

Our team is dedicated to helping you integrate the TTS API smoothly into your medical content workflows.

  • Direct email support only
  • No phone or live chat
  • Clear, honest answers

Read the documentation

The /docs/ page contains all the technical details you need. It covers endpoints, voice options, and error codes to help you troubleshoot independently.

Start with the curl examples to get your first audio file in minutes.

Join the community

Connect with other indie developers building accessible tools. Share your experiences and tips for using TTS in patient guides and educational content.

While we do not host a formal forum, you can find discussions and resources through our community channels.

Listen to the 8 voices

Each sample below was generated by this API from the same sentence. Selecting the right voice is the first step in creating patient guides that feel professional and reassuring.

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. OpenAI API reference: create speech
  3. IETF RFC 7845: Ogg Opus
  4. LibriTTS-R corpus (OpenSLR 141)
  5. Tether (USDT)
  6. W3C WAI: making audio and video accessible
  7. TRON developer hub: TRC-20
  8. ISO 639 language codes
  9. Python documentation
  10. LibriTTS-R paper (arXiv 2305.18802)
  11. FFmpeg documentation
  12. Node.js documentation

More on this site