Cloud TTS API: Fast Text-to-Speech for Developers

By CareRead editorial team · Updated 2026-11-19

This page documents the CareRead text-to-speech API, designed for developers building audio patient guides, consent recordings, and appointment reminders. You will find clear examples for generating speech files, managing keys, and integrating with medical workflows using standard HTTP requests or the OpenAI SDK.

We cover the supported models, audio formats, and rate limits so you can implement reliable synthesis at scale. The documentation assumes you have already obtained an API key from our /get-api-key/ page. All examples use real parameters, and we explain how to handle long texts and errors without unnecessary complexity.

Cloud TTS API: Fast Text-to-Speech for Developers

Frequently asked questions

How do I get an API key?

Sign up at https://govinda365.cc/get-api-key/ using Google or email. Accounts are per site. The dashboard displays your active key, balance, and usage. You can issue a new key anytime, which immediately stops the old one. No phone number or live chat support is available; use email for assistance.

Can I use the OpenAI SDK?

Yes. The API uses the same request shape as the OpenAI speech endpoint. Change the base_url to https://api.govinda365.cc/v1 and use your CareRead key. The official OpenAI SDKs work directly. Other endpoints like /v1/voices and /v1/models are also available for listing voices and models.

What models are available?

Two models are available: tts-1 and tts-1-hd. They use the same engine and have identical pricing. Both support the same eight voice presets and 23 languages. Use the GET /v1/models endpoint to verify current availability. The choice depends only on your quality preference, not cost.

What audio formats are supported?

You can request mp3, wav, opus, flac, or pcm. These formats are specified in the response_format field of the POST request. The API returns the audio file directly in the response body. Generated audio is not stored; it is returned immediately upon successful synthesis.

What are the rate limits?

Limits are 60 requests per minute per key. Before your first top-up, the limit is 10 requests per minute. If you exceed the limit, requests may wait in a queue. Longer texts process at roughly real-time speed. Failed requests do not consume your character balance.

How do I handle long texts?

Split text into parts of up to 4096 characters per request. Send each part via POST to /v1/audio/speech. Join the resulting audio files on your side. This ensures compliance with the character limit. The API does not support streaming or SSML for complex formatting.

Are failed requests free?

Yes. If synthesis fails, the charge is returned in full. You are only billed for successful requests. Failed requests do not consume your character balance. This applies to both the free trial and paid accounts. Check the response status to confirm success.

How do I debug errors?

Check the HTTP status code and response body for error details. Ensure your Authorization header uses the Bearer token format. Verify the model, voice, and input fields are correct. Use the GET /v1/voices endpoint to confirm valid voice IDs. Support is available via email only.

Do I need to change the base URL?

Yes, when using the OpenAI SDK. Set the base_url to https://api.govinda365.cc/v1. This allows the SDK to route requests to the CareRead API. The endpoint for speech generation remains POST /v1/audio/speech. Other endpoints like /v1/voices work similarly with this base URL.

Is the SDK official?

No. We do not offer an official SDK. Use the OpenAI SDK or plain HTTP requests. The API is compatible with the OpenAI speech endpoint format. You can also use any language that supports HTTP requests. No mobile SDK or WordPress plugin is provided.

Can I use Python with the API?

Yes. Python works well with the OpenAI SDK or requests library. Set the base_url to https://api.govinda365.cc/v1. Pass your text, voice, and format parameters. The API returns audio data that you can save as a file. No special Python-specific endpoints are required.

How do I split text for TTS?

Split input text into chunks of 4096 characters or fewer. Send each chunk as a separate POST request. Join the resulting audio files locally. This approach handles long documents efficiently. The API processes requests sequentially, so queueing may occur under load.

What happens if I exceed limits?

Requests may wait in a queue or return an error. The limit is 60 requests per minute per key. New accounts start with 10 requests per minute. Top-ups restore higher limits. Failed requests are free and do not count toward the limit.

Is there a documentation page?

Yes, this is the documentation page. It explains the API endpoints, models, and voices. Visit https://govinda365.cc/ for the homepage. Use https://govinda365.cc/get-api-key/ to sign up. The GET /v1/voices endpoint lists all available voices and languages.

First request

curl

curl https://api.govinda365.cc/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

Python (openai)

from openai import OpenAI

client = OpenAI(base_url="https://api.govinda365.cc/v1", api_key="tts-...")

with client.audio.speech.with_streaming_response.create(
    model="tts-1", voice="nova", input="Hello from Python.", response_format="mp3"
) as response:
    response.stream_to_file("hello.mp3")

Node.js (openai)

import OpenAI from "openai";
import fs from "node:fs";

const client = new OpenAI({ baseURL: "https://api.govinda365.cc/v1", apiKey: process.env.TTS_API_KEY });
const res = await client.audio.speech.create({ model: "tts-1", voice: "milo", input: "Hello from Node.js." });
fs.writeFileSync("hello.mp3", Buffer.from(await res.arrayBuffer()));
voice
ariafemale
novafemale
lunafemale
sagefemale
felixmale
milomale
atlasmale
orionmale
language
arالعربية
zh中文
daDansk
nlNederlands
enEnglish
fiSuomi
frFrançais
deDeutsch
elΕλληνικά
heעברית
hiहिन्दी
itItaliano
ja日本語
ko한국어
msBahasa Melayu
noNorsk
plPolski
ptPortuguês
ruРусский
esEspañol
swKiswahili
svSvenska
trTürkçe

Get your API key

Sound wave illustration for: Get your API key

Access to the CareRead API begins with creating an account on govinda365.cc. This step is required to generate the unique authentication key needed for all subsequent API calls. The process is designed to be quick so your medical team can start generating patient guides immediately.

Sign up on the site

Sign up on the site

Navigate to the /get-api-key/ page on govinda365.cc to begin registration. You can create an account using either Google or a standard email and password combination. Once registered, you will have access to your dashboard, where you can view your API key, balance, and usage statistics.

  • Available at https://govinda365.cc/get-api-key/
  • No credit card required for initial sign-up
  • Accounts are specific to this site domain

Use Google or email

Use Google or email

For speed, sign up using your Google account. Alternatively, use an email address and password to create a traditional account. Note that accounts created with email and password do not receive the free trial credit, whereas Google sign-ins include $0.50 of credit valid for 7 days.

  • Google sign-up includes $0.50 trial credit
  • Email/password accounts start without trial credit
  • One active key per account

Key issued instantly

Your API key is generated immediately upon successful registration. You will see it clearly displayed on your dashboard along with your current balance and character count. Keep this key secure; it is the only credential needed to authenticate your requests to the API endpoint.

  • Key format: tts-...
  • Auth header: Authorization: Bearer tts-...
  • One key per account; new keys invalidate old ones instantly

First request with curl

Sound wave illustration for: First request with curl

To generate your first audio file, send a POST request to the API endpoint with your key and text. This method works for any client that can handle JSON payloads, making integration straightforward for medical teams building patient guides or consent recordings.

The API returns the audio file directly in the response body. You can test this immediately using the curl command below, replacing the placeholder key with your own issued token.

Basic curl example

Use this command to generate speech. Replace YOUR_API_KEY with your actual key from the dashboard.

  • curl -X POST https://api.govinda365.cc/v1/audio/speech \
  • -H "Authorization: Bearer YOUR_API_KEY" \
  • -H "Content-Type: application/json" \
  • -d '{"model": "tts-1", "input": "Please take this medication with food.", "voice": "nova", "response_format": "mp3"}'

JSON body structure

The request body is a standard JSON object. The input field accepts up to 4096 characters. You must specify a voice from the eight available presets, such as nova for a bright tone or atlas for neutral news-style delivery.

Optional fields include language (ISO code) to ensure correct pronunciation for non-English texts, and speed (0.25–4.0) to adjust playback rate. If language is omitted, the system guesses based on the script, defaulting to English for Latin text.

Response format

A successful request returns an HTTP 200 status with the audio binary data in the specified format (e.g., mp3, wav, opus, flac, or pcm). The file is generated in real-time, typically taking a few seconds for short phrases.

If synthesis fails, you receive an error JSON object describing the issue, and no charge is applied to your balance. Failed requests are free, ensuring you only pay for successfully generated audio.

Using the OpenAI SDK

Sound wave illustration for: Using the OpenAI SDK

The CareRead API uses the exact same JSON structure as the OpenAI Speech endpoint. You can leverage the official OpenAI SDKs by simply adjusting the configuration to point to our infrastructure.

This approach means your existing code requires minimal changes, allowing medical teams to integrate audio generation quickly without learning a new library or protocol.

Change base_url

Update your client’s base_url to https://api.govinda365.cc/v1. This directs requests to our cloud infrastructure while maintaining standard SDK behavior.

You do not need to modify the request body structure, only the endpoint destination.

  • Base URL: https://api.govinda365.cc/v1

Same request shape

The JSON payload remains identical to the OpenAI standard. Send model, input, voice, response_format, and speed parameters as usual.

Your existing integration logic works without adjustment, ensuring consistent behavior for patient guide generation.

Official SDKs work

The official OpenAI SDKs function correctly with this configuration. No custom client library is required, simplifying maintenance for your development team.

Use your CareRead API key in the Authorization header just as you would with OpenAI.

Supported models

Sound wave illustration for: Supported models

The API supports two engine variants for generating speech: tts-1 and tts-1-hd. Both utilize the same underlying synthesis engine, meaning the audio quality and voice characteristics remain consistent regardless of which model you select for your patient guides or appointment reminders.

tts-1 engine

Select tts-1 for standard generation speed. This is the default choice for most clinical text-to-speech workflows where real-time processing of large volumes of medical instructions is prioritized.

tts-1-hd engine

Choose tts-1-hd when higher fidelity is required. While the generation process is identical, this flag ensures the output meets stricter audio quality standards, which can be beneficial for complex consent recordings.

Same price for both

Unlike many providers that charge differently for standard versus high-definition audio, we charge the same rate for both models. You can switch between tts-1 and tts-1-hd in your JSON body without any impact on your billing or character count.

  • Both models support all 8 voice presets.
  • No additional cost for HD audio.
  • Same 4096 character limit per request.

Audio formats

Sound wave illustration for: Audio formats

The CareRead API supports MP3, WAV, OPUS, FLAC, and PCM formats for versatile playback across different medical devices and platforms. MP3 offers efficient compression for web delivery, while WAV provides uncompressed quality for archival patient records.

MP3, WAV, OPUS

These formats cover most use cases, from quick appointment reminders to detailed consent recordings. OPUS provides efficient compression, suitable for various bandwidths.

FLAC, PCM support

For lossless audio integrity, choose FLAC. PCM is available for raw data processing. These ensure no compression artifacts affect critical medical information in voice guides.

The API returns the audio file directly in the response, allowing immediate integration into your patient communication workflow without intermediate storage steps.

Choose your format

Select the response_format field in your JSON request. The format must match your downstream application’s requirements. All formats are generated with the same speed and character limits.

Remember that generated files carry an inaudible watermark marking them as synthetic speech, regardless of the format chosen.

  • MP3: Standard for web and mobile apps
  • WAV: High quality, larger file size
  • OPUS: Efficient compression for streaming
  • FLAC: Lossless compression for high-fidelity archives
  • PCM: Raw uncompressed audio data
Audio formats

Rate limits

Sound wave illustration for: Rate limits

CareRead’s API allows up to 60 requests per minute per API key. This limit applies to all synthesis calls, ensuring fair usage across your medical team’s patient guide generation workflows.

60 requests per minute

The standard rate limit is 60 requests per minute for active keys. This capacity supports generating appointment reminders or consent recordings.

10 requests initially

New accounts start with a lower limit of 10 requests per minute. This allows you to test the API with your first few patient guide audio files before scaling up.

Queue processing

Requests are processed sequentially. Under load, additional synthesis jobs may wait in a queue. Typical generation speed is roughly real-time, so long texts may take longer to generate.

  • Requests are processed one after another.
  • Short phrases take a few seconds to generate.
  • Long texts are split into 4096-character chunks.

Handling long texts

Sound wave illustration for: Handling long texts

The API accepts a maximum of 4096 characters per request. For longer patient guides or consent forms, you must split the input text into smaller chunks that fit this limit. Each chunk generates a separate audio file, which you then combine into a single continuous recording.

Split into 4096 chars

Calculate the character count of your medical text, including spaces and punctuation. Break the text at natural pauses or sentence boundaries to ensure coherent audio segments. Send each segment as a separate POST request to the speech endpoint.

Join audio files

Once you receive the audio files for each chunk, concatenate them in the correct order. The API does not handle stitching automatically, so your application must merge the files before saving or playing them for the patient.

Manage chunking

Ensure consistent voice and speed settings across all requests to maintain uniform audio quality. Keep track of the order of your chunks to avoid scrambled dialogue in the final patient guide. This approach allows you to handle lengthy appointment reminders or detailed consent scripts without hitting the character cap.

  • Keep voice and speed parameters identical across chunks.
  • Maintain strict order when merging generated files.
  • Account for spaces and punctuation in your 4096-character limit.

Error handling

Sound wave illustration for: Error handling

The API returns standard HTTP status codes to indicate success or failure. A 200 OK response includes the audio file, while errors like 400 or 429 provide details in the JSON body. Always check the status code before attempting to parse the audio data.

Failed synthesis requests are free, so a non-200 status means you won’t be charged for those characters. This protects your balance while you troubleshoot issues like invalid voice IDs or unsupported formats.

Check status codes

Use the HTTP status code to determine if the request succeeded. A 200 response contains the audio bytes. Codes like 400 (bad request) or 429 (rate limit) indicate specific issues that need addressing before retrying.

  • 200: Success, audio included in response.
  • 400: Invalid parameters (e.g., text too long).
  • 401: Unauthorized, check your API key.
  • 429: Rate limit exceeded (60 req/min).

Free failed requests

If synthesis fails, the character count is not deducted from your balance. This applies to both client errors (like invalid input) and server errors. You can safely retry failed requests without worrying about extra costs.

Debug common errors

Common issues include exceeding the 4096-character limit per request or using an unsupported voice. Ensure your text is within limits and split if necessary. For rate limits, implement a retry mechanism with exponential backoff.

Listen to the 8 voices

Each sample below was generated by this API from the same sentence. By leveraging public-domain audiobook readings, we provide a reliable and legally clear audio source.

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. Creative Commons Attribution 4.0
  3. MDN: Web Speech API
  4. Node.js documentation
  5. LibriVox public-domain audiobooks
  6. FFmpeg documentation
  7. Python documentation
  8. LibriTTS-R paper (arXiv 2305.18802)
  9. openai-python on GitHub
  10. Tether (USDT)
  11. ISO 639 language codes
  12. openai-node on GitHub

More on this site