Text-to-Speech API for Patient Guides and Health Education

By ScriptCare editorial team · Updated 2026-11-18

ScriptCare is a simple text-to-speech API built for indie developers creating health apps and patient portals. We turn medical text into natural-sounding audio guides, helping you simplify complex jargon and improve accessibility for low-literacy patients. Reduce read-aloud fatigue in clinics with a privacy-respecting solution that supports 23 languages for global health communication.

On this page, you will find concrete examples of how to integrate our API into your workflow. We cover voice selection, technical specs, pricing, and data usage specifics. Whether you are building post-operative instructions or medication reminders, this guide provides the exact details you need to start generating audio immediately.

Text-to-Speech API for Patient Guides and Health Education

Frequently asked questions

Is the AI voice clone free for patient guides?

Custom voice cloning is not offered. You can use eight preset voices like Aria, Nova, or Atlas, which are based on licensed recordings from LibriTTS-R and LibriVox. These voices are available for patient guides, allowing you to generate audio guides directly through the API.

How accurate is the text-to-speech for medical terms?

The API does not support custom pronunciation lexicons or phoneme dictionaries. Accuracy depends on the model’s ability to interpret standard text. For specific medical terms, you may need to test them directly. The system supports 23 languages, including English, Spanish, and German, covering many common medical contexts.

Can I use the generated audio in my health app?

Yes, the generated audio is returned in the response and not stored by the API. You can integrate it into your health app or patient portal. The input text is used only to produce the audio and is not used for training, respecting patient privacy for your specific use case.

What happens if the synthesis fails?

If synthesis fails, the charge is returned in full. Failed requests are free, so you are not billed for audio that does not generate successfully. This ensures you only pay for completed audio files, protecting your budget during development or production use in your health app.

Does the API support Arabic text to speech online free?

Arabic is one of the 23 supported languages. You can use the free trial credit of $0.50 (about 50,000 characters) valid for 7 days when signing in with Google. This allows you to generate Arabic audio guides online without immediate payment, testing the API’s capabilities for your app.

Are there any hidden fees for the free trial?

The free trial provides $0.50 of credit for 7 days when signing in with Google. There are no hidden fees; you only pay for usage beyond this credit. Accounts created with email and password start without trial credit. Top-ups are required via USDT on the TRON network.

How many characters can I process in one request?

You can process up to 4096 characters per request. For longer texts, split them into parts of this size and join the audio files. Spaces and punctuation count as characters. This limit applies to each individual API call, ensuring consistent processing times and manageable request sizes for your health app.

Is my patient data used for training the model?

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 is kept for billing purposes. This ensures that patient data remains private and is not repurposed for model improvement by the API provider.

Can I change my API key if it gets compromised?

Yes, you can issue a new API key at any time. When a new key is issued, the old one stops working immediately. This allows you to secure your account quickly if a key is compromised, ensuring that unauthorized access is terminated without waiting for a manual review or support ticket.

What audio formats are supported for download?

The API supports mp3, wav, opus, flac, and pcm formats. You can specify the desired format in the request body. These formats allow you to integrate audio into various health apps and patient portals efficiently. Choose the format that best suits your app’s performance and compatibility requirements.

How long does it take to generate a minute of audio?

Typical speed is roughly real time, about 25 characters of text per second of generation. Short phrases take a few seconds. Requests are processed one after another, so under load, a request may wait in a queue. This timing helps you estimate generation times for your patient guides.

Is there a limit on the number of voices I can use?

There is no limit on the number of voices you can use. You can choose from eight presets: Aria, Nova, Luna, Sage, Felix, Milo, Atlas, and Orion. Each voice can speak any of the 23 supported languages, allowing you to create diverse audio content for different patient demographics.

Do I need to credit the voices if I use them commercially?

The voices are based on licensed recordings from LibriTTS-R (CC BY 4.0) and LibriVox public-domain audiobook readings. Check the specific license terms for CC BY 4.0 to determine if attribution is required.

Can I use the API for emergency alert systems?

Yes. Atlas offers a neutral, news-style voice suitable for alerts, and the API supports 23 languages. However, there is no SLA or uptime guarantee, so reliability depends on current network conditions. Requests are processed sequentially, so high load might introduce delays during critical moments.

First request

curl

curl https://api.th68casino.com/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 Patient Guides Need Better Audio

Sound wave illustration for: Why Patient Guides Need Better Audio

Paste text, get audio instantly. Our API turns medical text into natural-sounding audio guides, supporting 23 languages including Arabic and Hindi. Every generated file carries an inaudible watermark marking it as synthetic speech, ensuring transparency for your users.

Simplify Complex Medical Jargon

Simplify Complex Medical Jargon

Medical texts often contain dense terminology that can be difficult for patients to parse quickly. By converting these texts into audio using voices like Aria or Sage, you help users absorb information more easily without straining to read complex paragraphs.

Improve Accessibility for Low-Literacy Patients

Not all patients process written information at the same level. Audio guides allow individuals with varying literacy levels to understand their care instructions clearly. With support for 23 languages, you can reach a broader global audience effectively.

Reduce Read-Aloud Fatigue in Clinics

Nurses and staff often spend hours reading instructions aloud to patients, leading to vocal fatigue. By offloading this to your app, you preserve staff energy for direct care. The API handles the heavy lifting, returning audio files quickly.

How Our Free TTS Works

Sound wave illustration for: How Our Free TTS Works

Send a simple POST request with your text and receive an audio file. The API handles up to 4,096 characters per request, splitting longer medical texts automatically while maintaining natural pacing for patient guides.

Paste Text, Get Audio

Input plain text via JSON and receive synthesized audio in formats like MP3, WAV, or FLAC. Short phrases take a few seconds; long texts process at roughly real-time speed. Failed requests incur no charge.

23 Languages Including Arabic and Hindi

Support includes Arabic, Hindi, Spanish, and 20 others. Any voice can speak any supported language. If the language isn’t specified, the system guesses from the script, though setting it explicitly ensures accuracy for non-English Latin text.

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

Inaudible Watermark for Synthetic Speech

Every generated audio file contains an inaudible watermark marking it as synthetic speech. This helps identify AI-generated patient instructions without affecting listening quality or requiring special equipment to detect.

Voices for Every Patient Scenario

Sound wave illustration for: Voices for Every Patient Scenario

Selecting the right voice helps patients engage with the audio guide. Our eight presets cover distinct clinical tones, ensuring the delivery matches the context. Whether it is a gentle reminder or a clear instruction, the synthetic speech remains consistent and easy to follow.

Aria: Warm Narrator for General Health

Aria provides a warm, clear narration style ideal for general health overviews. Her tone is approachable, making complex medical jargon easier to digest for low-literacy patients without sounding too clinical.

  • Warm, clear narration
  • Ideal for general health overviews
  • Approachable tone for accessibility

Atlas: Neutral Tone for News and Updates

Atlas delivers a neutral, news-style voice perfect for clinic updates or public health announcements. His consistent delivery ensures that factual information is communicated clearly, without emotional bias or distraction.

  • Neutral, news-style delivery
  • Clear factual communication
  • No emotional bias

Sage: Calm Instruction for Medication

Sage offers a calm, instructional voice designed for medication guides and dosage instructions. Her steady pace helps patients follow steps accurately, reducing the risk of errors in critical health instructions.

  • Calm, instructional tone
  • Steady pace for accuracy
  • Ideal for medication guides

Technical Specs for Indie Developers

Sound wave illustration for: Technical Specs for Indie Developers

Syncing this API into your health app is straightforward. Because the endpoint mirrors the OpenAI speech format, you can reuse existing OpenAI SDKs by simply pointing base_url to https://api.th68casino.com/v1. Send a POST request with your API key, and the system processes the text to generate audio.

OpenAI-Compatible SDK Integration

Drop your text into a standard JSON body with model, input, and voice fields. The API handles the heavy lifting, returning audio files after processing. You can use the official OpenAI SDKs by updating the base URL, making integration familiar for indie developers already using OpenAI tools.

  • Supports tts-1 and tts-1-hd models
  • Uses standard JSON request structure
  • Compatible with official OpenAI SDKs

MP3, WAV, OPUS, FLAC, PCM Formats

Choose the audio format that fits your patient portal’s architecture. We support MP3, WAV, OPUS, FLAC, and PCM. This flexibility ensures compatibility across web players, mobile apps, and legacy hospital systems without requiring additional conversion steps.

  • MP3 for web streaming
  • WAV for high-quality local storage
  • OPUS for efficient bandwidth usage
  • FLAC and PCM for lossless needs

Rate Limits: 60 Requests Per Minute

New accounts start with 10 requests per minute. Once you top up, the limit increases to 60 requests per minute. If synthesis fails, the charge is returned, but the request still counts toward your limit. For longer patient guides, split text into chunks under 4096 characters.

  • 60 requests/minute after top-up
  • 10 requests/minute for new accounts
  • Split text for guides >4096 chars

Pricing That Scales With Your App

Sound wave illustration for: Pricing That Scales With Your App

Our pricing model is straightforward: $0.01 per 1,000 characters, with spaces and punctuation counting toward the total. Failed requests are free, so you only pay for successful audio generation. This linear scaling means your costs grow directly with your app’s usage, making it easy to predict expenses for patient guide deployments.

$0.01 Per 1,000 Characters

You pay only for what you use. At roughly $10 per million characters, generating long post-operative instructions or multi-step medication guides remains cost-effective. Since texts are split into 4,096-character chunks, you can handle extensive medical texts without complex billing tiers.

No Monthly Fees or Subscriptions

There are no minimum spends, seats, or recurring subscription fees. Whether you generate 10 audio files or 10,000, the rate stays the same. Top-ups via USDT (TRC-20) are processed automatically, and your balance never expires, giving you full control over your budget.

Free Trial Credit on Sign-Up

When you sign in with Google, you receive $0.50 in free credit, valid for 7 days. This covers approximately 50,000 characters, allowing you to test voice quality and integration speed before committing to larger volumes. Email-signup accounts start without this trial credit.

Pricing That Scales With Your App

Privacy and Data Usage

Sound wave illustration for: Privacy and Data Usage

When you send patient instructions or health education text to our API, the input is used strictly to generate the audio file. We do not store the generated audio in our systems, ensuring that the audio response is transient and not retained after delivery.

This approach keeps your patient data minimal and focused solely on the immediate task of audio synthesis, reducing the surface area for potential data exposure during the generation process.

Text Used Only for Generation

Your input text is processed exclusively to create the audio output. Once the synthesis is complete and the audio is returned in the response, the text is not archived for other purposes.

No Training on Patient Data

We do not use your input text or generated audio to train our voice models. Your patient data remains yours, ensuring that sensitive health information is not repurposed for improving our core engine.

Metadata Kept for Billing Only

We retain minimal request metadata, such as the timestamp, character count, and status, strictly for billing and rate-limit purposes. This data is kept only as long as necessary to verify charges and manage your account usage.

  • Timestamp of request
  • Character count processed
  • Request status (success/fail)
  • Used for accurate billing

Supported Languages and Voices

Sound wave illustration for: Supported Languages and Voices

Our API supports 23 languages, ensuring your patient guides reach diverse populations without needing separate voice talent. Each voice is versatile and can speak any of the supported languages, allowing for consistent audio experiences across different regions.

We prioritize clarity and natural flow, critical for medical instructions. Whether you are creating a guide in English or Hindi, the synthesis engine handles complex medical jargon effectively, reducing cognitive load for patients with varying literacy levels.

Arabic, Chinese, English, French, German

These major global languages cover a significant portion of international patient demographics. Our engines handle the distinct phonetic structures of each, supporting accurate pronunciation for terms in their respective languages.

For English, voices like Aria provide a warm, clear narration ideal for general health overviews. In German, Sage offers a calm, instructional tone perfect for detailed procedural guides.

  • Aria: Warm, clear narrator
  • Sage: Calm, instructional
  • Atlas: Neutral, news-style
  • Orion: Deep, documentary

Hindi, Japanese, Korean, Spanish, Swahili

Support for Hindi, Japanese, and Korean allows you to serve large non-Western patient bases with high-fidelity audio. Spanish and Swahili extend your reach into Latin American and East African communities, respectively.

The API automatically detects the language from the script, but you can explicitly set the language field to ensure accuracy, especially for mixed-language inputs or dialect-specific needs.

  • Nova: Bright, upbeat
  • Luna: Soft, storytelling
  • Felix: Energetic, promo
  • Milo: Friendly, conversational

Turkish, Russian, Italian, Portuguese

We also support Turkish, Russian, Italian, and Portuguese, rounding out the 23 languages available. This ensures that your health app can be localized effectively for these significant global markets.

Each voice maintains its personality across all supported languages, providing a consistent brand experience regardless of the language spoken by the patient.

  • Atlas: Neutral, news-style
  • Orion: Deep, documentary
  • Felix: Energetic, promo
  • Milo: Friendly, conversational

Common Use Cases in Medicine

Sound wave illustration for: Common Use Cases in Medicine

Integrating text-to-speech into patient portals transforms static PDFs into accessible audio guides. By converting complex medical text into audio, developers can reduce read-aloud fatigue for patients with low literacy or visual impairments, ensuring critical health information is consumed.

Post-Operative Recovery Instructions

Convert lengthy discharge papers into clear audio guides. Patients can listen to wound care steps or activity restrictions on their phones, reducing the need for nurses to repeat instructions. Using voices like Aria or Sage ensures the tone remains calm and instructional during recovery.

  • Convert PDF discharge sheets to audio
  • Support low-literacy patients via mobile
  • Reduce nursing read-aloud workload

Medication Dosage Reminders

Turn simple text lists into spoken reminders. Developers can generate short audio clips for dosage times or pre-meal instructions. With a 4096-character limit per request, many medication schedules fit in a single API call, delivering synthetic speech.

  • Generate short audio reminders
  • Fit schedules in one request
  • Support multiple languages globally

Symptom Checker Audio Outputs

Provide immediate audio feedback for symptom checkers. Instead of forcing users to read long diagnostic criteria, return an MP3 or WAV file with the results. This supports non-native speakers who may struggle with complex medical terminology in written form.

  • Audio results for symptom checkers
  • Support non-native speakers
  • Output in MP3, WAV, or OPUS

Get Started with the API

Sound wave illustration for: Get Started with the API

Getting started with ScriptCare is straightforward. Visit our /get-api-key/ page and sign up using your Google account or a simple email and password. This process creates your independent storefront account, ready for immediate use.

Sign Up with Google or Email

Create your account in seconds. Whether you prefer the speed of Google login or standard email authentication, the setup is instant and requires no credit card.

Receive Your API Key Instantly

Once registered, you will immediately receive your unique API key. You can view your key, current balance, and usage statistics directly on your dashboard. Copy this key to start integrating with the OpenAI-compatible SDK.

  • View key, balance, and usage instantly
  • Use standard Bearer token authentication
  • Swap keys anytime if needed

Start with $0.50 Free Credit

Google sign-ups include a $0.50 trial credit, valid for 7 days, allowing you to generate approximately 50,000 characters of audio. Email-based accounts start with zero balance but can top up easily via USTRC-20.

  • $0.50 credit for Google sign-ups
  • ~50,000 characters of free audio
  • Top-ups via TRON network only

Listen to the 8 voices

Each sample below was generated by this API from the same sentence. Our platform simplifies medical navigation so patients can easily understand their health journey.

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. Node.js documentation
  3. LibriTTS-R corpus (OpenSLR 141)
  4. curl documentation
  5. IETF RFC 7845: Ogg Opus
  6. ISO 639 language codes
  7. LibriTTS-R paper (arXiv 2305.18802)
  8. Python documentation
  9. openai-node on GitHub
  10. openai-python on GitHub
  11. LibriVox public-domain audiobooks
  12. W3C WAI: making audio and video accessible

More on this site