What is our TTS API and how does it compare?

By MedTTS Switch editorial team · Updated 2026-11-19

This page explains how MedTTS Switch’s text-to-speech API works for indie health app developers. We offer a transparent, character-based pricing model instead of complex subscriptions. You get clear, medically appropriate voices without hidden fees, making it easier to integrate audio into patient guides or clinical tools.

You will see exactly how our API compares to other providers in terms of cost, voice options, and technical setup. We cover pricing differences, language support, data privacy, and migration ease. If you are building health apps and want a simple, honest TTS solution, this guide breaks down what to expect and how to switch.

What is our TTS API and how does it compare?

Frequently asked questions

What is our TTS API?

We provide a cloud text-to-speech API where you send text and receive an audio file. It uses a simple POST request to generate speech from eight distinct voices. The service supports 23 languages and multiple audio formats like MP3 and WAV, designed for straightforward integration into health apps without complex infrastructure.

Is our API an OpenAI product?

No, we are not affiliated with OpenAI. Our API mimics the OpenAI speech endpoint structure, allowing you to use the official OpenAI SDK by simply changing the base URL. We are an independent provider with our own keys, pricing, and voice models, distinct from OpenAI’s infrastructure and brand.

How does pricing differ from others?

We charge $10 per million characters, or $0.01 per 1,000 characters, with no hidden fees. Failed requests are free. Unlike many competitors, we do not use monthly subscriptions or seat-based billing. You pay only for what you generate, making it predictable for indie developers building health applications.

Do I need a subscription?

No, there are no monthly plans or subscriptions. You top up your balance using USDT on the TRON network, with a minimum of $5. Your balance does not expire, and you can issue a new API key at any time. This model suits variable usage in medical app development.

What voices do we offer?

We offer eight presets: Aria, Nova, Luna, and Sage (female); Felix, Milo, Atlas, and Orion (male). These voices are based on licensed recordings from LibriTTS-R (CC BY 4.0), from LibriVox public-domain audiobook readings. They provide clear, medically appropriate tones suitable for patient guides, news updates, and instructional content in health applications.

Can I clone voices?

No, we do not offer custom voice cloning or the ability to upload your own voice. Our service uses eight fixed presets based on licensed recordings. If you need a specific voice, you must choose from our existing library of male and female presets for your medical app.

Is our API good for medical apps?

Yes, our API is ideal for indie developers building health apps. We offer clear, calm voices like Sage for instructions or Luna for storytelling. The straightforward character-based pricing and lack of complex integrations make it easy to generate patient guides and audio content without hidden fees or technical overhead.

How does language support compare?

We support 23 languages, including English, Spanish, German, and Chinese. Any voice can speak any supported language. We do not support Vietnamese, Indonesian, Thai, Ukrainian, or Romanian. If the language is not set, it guesses from the script, so specify it for non-English Latin text to ensure accuracy.

Do we use my data for training?

No, your 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. We keep request metadata like time and status for billing purposes, ensuring your patient data remains private and secure during generation.

What is the character limit?

Each request can contain up to 4,096 characters of text. For longer texts, you should split them into parts and join the resulting audio files. Spaces and punctuation count toward this limit. This allows you to generate detailed medical instructions or patient guides efficiently within our API constraints.

Can I use OpenAI SDK?

Yes, our API matches the OpenAI speech endpoint shape. You can use the official OpenAI SDKs by changing the base URL to https://api.p3pet.info/v1. This allows for easy migration for developers already familiar with OpenAI’s structure, requiring minimal code changes to integrate our text-to-speech service into your app.

Is our API suitable for indie developers?

Absolutely. We focus on transparent, character-based pricing with no monthly plans or minimum spend. Our simple API and ready-to-use curl examples make integration easy. The page /get-api-key/ shows a ready curl example. We help indie developers switch from expensive providers by offering clear costs and no hidden fees, perfect for small teams building health applications.

How fast is generation?

Generation is roughly real-time, processing about 25 characters per second for long texts. Short phrases may take a few seconds. Requests are processed sequentially, so under load, you might experience slight delays. This speed is efficient for generating patient guides and audio content without significant waiting times.

Do I get a free trial?

Yes, signing in with Google gives you $0.50 of credit, valid for 7 days. This covers about 50,000 characters. Accounts created with email and password start without trial credit. You can test our voices and API integration immediately without any financial commitment or credit card required. Accounts created with email and password start without trial credit.

Defining our TTS API

Sound wave illustration for: Defining our TTS API

MedTTS Switch provides a cloud-based text-to-speech API designed for indie health app developers. Send plain text via a simple HTTP request and receive synthesized audio. Our engine converts medical guides and patient information into clear speech without requiring complex infrastructure.

Pricing is strictly pay-per-use at $10 per 1 million characters. There are no monthly subscriptions, seats, or hidden fees. You only pay for what you generate, making it ideal for variable usage patterns in healthcare applications.

Cloud-based text-to-speech

Our service is a standard REST API. You POST JSON to our endpoint and receive an audio file in formats like MP3 or WAV. It integrates directly with the OpenAI SDK by changing the base URL, requiring minimal code changes for existing developers.

Text is processed in parts up to 4,096 characters. Failed requests are free, ensuring you only pay for successful synthesis. The system handles the complexity of audio generation in the cloud, so your app stays lightweight.

  • Send text, receive audio
  • OpenAI SDK compatible
  • Standard HTTP requests

Pay-per-use model

Cost is $0.01 per 1,000 characters, including spaces and punctuation. This transparent model eliminates the risk of overage charges common with subscription tiers. Start with a $0.50 free trial credit valid for 7 days upon Google sign-in.

Top-ups are instant via USDT (TRC-20). Balance does not expire, and there are no minimum spend requirements. This flexibility suits indie developers who may have fluctuating patient guide generation needs.

No enterprise features

We do not offer SLAs, uptime guarantees, or dedicated support lines. There is no on-premise installation option or custom voice cloning for specific medical teams. Our focus is on providing a reliable, cost-effective API for small to medium-scale health applications.

Support is available via email only, with no live chat or phone support. This keeps our overhead low and passes the savings directly to you in the form of lower per-character costs.

Key differences in pricing

Sound wave illustration for: Key differences in pricing

Our pricing is strictly character-based, eliminating the guesswork of subscription tiers. You pay exactly for what you process, making it ideal for indie developers building health apps with unpredictable usage spikes.

Character vs subscription

Unlike traditional providers that charge monthly for unlimited or capped usage, we bill per character. This means small patient guide projects don’t subsidize large enterprise volumes, and you only pay for actual synthesis.

  • Clear cost per 1,000 characters
  • No unused capacity waste

Pay per use model

The rate is $0.01 per 1,000 characters, including spaces and punctuation. Failed requests are free, ensuring you never pay for errors. This transparency helps indie devs budget accurately without hidden overage fees.

No monthly fees

There are no recurring subscription costs or minimum monthly spends. You top up with USDT, and your balance covers requests until depleted. Accounts start with a small free trial if you sign in with Google.

Voice quality and options

Sound wave illustration for: Voice quality and options

Our service provides eight distinct voice presets, carefully selected for clarity and medical appropriateness. These voices are engineered to deliver clear, natural-sounding speech for health apps and patient guides, ensuring your audio content is easy to understand without unnecessary complexity.

Each voice offers a specific tone, from warm narration to neutral news delivery, allowing you to match the voice to your app's context. We focus on consistent, high-quality synthetic speech that meets the needs of indie developers without the overhead of enterprise features.

8 preset voices available

You can choose from eight carefully designed voice presets. Each voice is optimized for clarity, making them ideal for medical instructions, patient guides, and health app notifications. The variety allows you to select the tone that best fits your application's user experience.

  • Female: aria, nova, luna, sage
  • Male: felix, milo, atlas, orion

No voice cloning offered

We do not offer custom voice cloning or the ability to upload your own voice recordings. Our service relies on eight licensed presets based on recorded readings, ensuring consistent quality without the complexity of managing custom voice models.

8 distinct voice presets

Each preset has a distinct character, from the warm clarity of aria to the deep documentary tone of orion. These voices are based on licensed recordings, providing a professional sound that enhances the credibility of your health applications.

Integration complexity

Sound wave illustration for: Integration complexity

Switching from expensive TTS providers is straightforward because our API mirrors the OpenAI speech endpoint structure. Indie developers can reuse existing OpenAI SDKs by simply updating the base_url to https://api.p3pet.info/v1. This means you can keep your current integration logic while benefiting from transparent, character-based pricing without complex new dependencies.

OpenAI SDK compatibility

Use any official OpenAI SDK by changing the base_url to https://api.p3pet.info/v1. Pass your API key via the Authorization: Bearer header. This allows you to switch providers without rewriting your core audio generation logic.

  • Compatible with standard OpenAI SDKs
  • Uses standard Authorization: Bearer auth
  • Same request shape as OpenAI

Simple JSON requests

Send a POST request to /v1/audio/speech with a JSON body. Include model, input, voice, and response_format. The API returns the audio file directly in the response, making it easy to pipe into your health app’s audio player.

  • POST to /v1/audio/speech
  • Standard JSON body
  • Direct audio response

No custom SDK needed

We do not provide a proprietary SDK, so you are not locked into a specific library. Use plain HTTP or any language that supports JSON. This reduces dependency overhead and keeps your app lightweight, which is ideal for indie developers managing limited resources.

  • Language-agnostic JSON API
  • No vendor lock-in
  • Works with any HTTP client

Language support comparison

Sound wave illustration for: Language support comparison

MedTTS Switch supports 23 languages, covering major markets like English, Spanish, German, and Japanese. This breadth ensures your health app reaches a wide audience without needing separate voice providers for different regions.

23 languages supported

We provide voices for Arabic, Chinese, Danish, Dutch, English, Finnish, French, German, Greek, Hebrew, Hindi, Italian, Japanese, Korean, Malay, Norwegian, Polish, Portuguese, Russian, Spanish, Swahili, Swedish, and Turkish. Every voice can speak any of these languages, allowing flexible localization for patient guides.

Automatic language detection

The API guesses the language from the script if you do not specify it. Latin text defaults to English. For non-English Latin-script text, you should set the language parameter to ensure accurate pronunciation.

Limited exotic languages

We do not support Vietnamese, Indonesian, Thai, Ukrainian, Romanian, Czech, Bengali, or other less common languages. If your app targets these regions, you will need a different solution.

Data privacy differences

Sound wave illustration for: Data privacy differences

Your input text is used strictly to generate the audio response and is never retained for model training. This ensures that patient data or proprietary health content you send to the API remains yours, without being absorbed into our training datasets. We don't use your specific phrases to improve our voice models for other customers.

Generated audio files are returned directly in the response and are not stored on our servers after delivery. We only keep request metadata—such as timestamp, character count, and status—for billing purposes. This transparent policy means you can audit exactly what data we hold and for how long, keeping compliance simple for indie health apps.

No training on input

Your input text is used strictly to generate the audio response and is never retained for model training. This ensures that patient data or proprietary health content you send to the API remains yours, without being absorbed into our training datasets.

  • Input text is processed only for synthesis.
  • Not used for model improvement.
  • No third-party data sharing.

No audio storage

Generated audio files are returned directly in the response and are not stored on our servers after delivery. This transient nature reduces your data footprint, which is helpful for indie developers who need to minimize stored data.

We only retain request metadata for billing accuracy. This includes the timestamp, character count, and request status. You maintain full control over the audio files you receive.

  • Audio is returned in response.
  • No long-term audio storage.
  • Metadata kept for billing only.

Transparent data policy

We clearly define what we collect and why. Since we don’t store audio or use input for training, your data privacy obligations are simpler to manage. This clarity helps indie developers build trust with their users by demonstrating a straightforward data handling process.

Our policy is designed for transparency, not hidden data practices. You know exactly what happens to your text from request to response.

  • Clear data retention limits.
  • No hidden data usage.
  • Simple compliance for indie devs.

Performance characteristics

Sound wave illustration for: Performance characteristics

Our TTS API generates audio at roughly real-time speed, processing about 25 characters of text per second. This makes it efficient for generating patient guides or health app narration without significant delays, though short phrases may take a few seconds to finalize.

Under heavy load, requests are processed sequentially, meaning your synthesis jobs may wait in a queue. This ensures consistent quality but can introduce latency during peak usage times.

Real-time generation

Audio synthesis typically matches real-time speed, processing approximately 25 characters per second. This efficiency allows indie developers to generate patient guides or health app narration efficiently without excessive wait times.

Short phrases may still require a few seconds to finalize, ensuring the audio is fully rendered before being returned in the response.

  • Roughly 25 characters generated per second of audio output

Queue processing

Requests are processed one after another rather than in parallel batches. If the system is under load, your synthesis job may wait in a queue before processing begins.

This sequential approach helps maintain consistent audio quality but can introduce latency during periods of high demand from other users on the same infrastructure.

Speed variations

Generation speed can vary slightly depending on the complexity of the text and the current server load. Longer texts are split into 4,096-character parts and joined seamlessly.

Unlike streaming endpoints, the entire audio file is generated before being returned, ensuring no partial audio artifacts but requiring the full wait time for completion.

Performance characteristics

Payment flexibility

Sound wave illustration for: Payment flexibility

Our billing model is straightforward: you pay only for the characters you consume. There are no monthly subscriptions, hidden fees, or complex enterprise contracts to manage. This simplicity helps indie developers predict costs accurately for health apps and patient guides without worrying about unused credits expiring.

Payment is handled exclusively via USDT on the TRON network. We do not accept credit cards, PayPal, or traditional bank transfers, keeping our overhead low and passing those savings directly to you as a lower per-character rate.

USDT only

We accept USDT on the TRON network (TRC-20) exclusively. This approach eliminates processing fees and banking delays common with traditional payment methods. You can top up with a minimum of $5, ensuring you only pay for what you need.

Since we do not handle credit card data, our billing infrastructure is simpler and more transparent. There are no invoices with VAT or recurring subscription charges to untangle at the end of the month.

  • USDT (TRC-20) only
  • Minimum top-up: $5
  • No credit cards or PayPal
  • Balance never expires

No credit cards

We do not store credit card details or offer recurring billing. This reduces your compliance overhead and simplifies the developer experience. You can sign up with Google or email and start generating audio immediately with your free trial credit.

This approach also means no surprise charges from payment processors. Your balance is updated automatically, and failed requests are refunded in full, ensuring you only pay for successful synthesis.

  • No credit card storage
  • No recurring billing
  • No VAT invoices
  • Simple direct transfers

Instant top-ups

Once your USDT transfer is confirmed on the blockchain, your balance is credited automatically within minutes. There is no manual review process or waiting period for bank transfers. You can resume generating audio for your patient guides or health apps almost immediately.

This speed ensures that your development workflow isn’t bottlenecked by payment processing. You can top up as needed, keeping your projects moving without administrative delays.

  • Automatic credit within minutes
  • No manual review
  • Immediate availability
  • No downtime for billing

Support availability

Sound wave illustration for: Support availability

Support is straightforward and asynchronous. We handle all inquiries via email, ensuring every question gets a thoughtful, documented response without the pressure of real-time availability.

This approach keeps our operational costs low, which helps us maintain transparent, character-based pricing without hidden support fees or complex enterprise tiers.

Email support only

All support requests are managed through our dedicated email channel. This ensures your technical questions about integration or billing are handled by a single team, providing consistent and traceable communication.

No live chat

We do not offer live chat widgets. This eliminates the noise of instant but often shallow interactions, allowing us to focus on detailed, accurate answers that you can reference later.

No phone support

There is no phone number to call. You won’t face hold times or complex IVR menus. Our email support is designed for indie developers who prefer asynchronous communication that fits their workflow.

Use case suitability

Sound wave illustration for: Use case suitability

Our API is built for developers who need predictable costs without enterprise bloat. The character-based pricing means you only pay for what you generate, making it ideal for indie projects with variable traffic. The simple integration reduces overhead, allowing small teams to focus on their core health app logic rather than managing complex subscription tiers.

Good for indie devs

Indie developers benefit from the transparent, character-based billing model. With no monthly fees or minimum spend, costs scale directly with usage. This predictability helps maintain healthy margins for small-scale health applications.

  • No monthly subscriptions or seats
  • Pay only for characters generated
  • Simple JSON integration reduces dev time

Good for patient guides

For patient guides, clarity and tone are critical. Our eight preset voices, such as Luna for storytelling or Sage for instructions, provide medically appropriate narration. The lack of hidden fees ensures consistent budgeting for ongoing content updates.

  • 8 distinct voice presets
  • Clear, calm narration styles
  • Supports 23 languages for diverse audiences

Not for enterprise SLA

If you require guaranteed uptime or dedicated support channels, this service is not the right fit. We do not offer SLAs, uptime guarantees, or phone support. Our model prioritizes flexibility and cost-efficiency over enterprise-level assurances.

  • No SLA or uptime guarantee
  • Email support only
  • No dedicated account managers

Technical limitations

Sound wave illustration for: Technical limitations

Our API delivers static audio files rather than streaming audio chunks. This means you receive the complete audio file only after synthesis finishes, which suits batch processing but isn’t ideal for real-time conversational interfaces. Additionally, we do not support SSML, so you can’t control pauses, pitch, or emphasis via markup. You also can’t design custom voices or clone specific personalities. Custom voice cloning is not offered. Instead, you choose from 8 fixed presets like Aria or Atlas. These are licensed recordings, not AI-generated from scratch, offering consistent but limited tonal variety. This trade-off simplifies integration while keeping costs transparent for indie developers building health apps.

No streaming support

We return full audio files (mp3, wav, etc.) upon completion. There is no WebSocket or chunked streaming, so users must wait for the entire text-to-speech process to finish before playback begins. This is perfect for patient guides but less ideal for live chatbots.

No SSML support

The API accepts plain text input. There is no support for SSML tags to control prosody, such as adding pauses, changing volume, or emphasizing specific words. You control tone primarily through voice selection and speed adjustments.

Fixed voice presets

We offer 8 distinct voice presets (e.g., Luna, Felix) based on licensed recordings. You cannot upload your own voice or request custom cloning. This ensures consistency and lower costs but limits unique brand voice customization.

  • Aria, Nova, Luna, Sage
  • Felix, Milo, Atlas, Orion

Migration ease

Sound wave illustration for: Migration ease

Switching from expensive TTS providers to MedTTS is straightforward for indie developers. Because our API mirrors the OpenAI speech endpoint, you only need to update the base_url to https://api.p3pet.info/v1 and use your new key. No custom SDKs or complex rewrites are required.

This compatibility means you can keep your existing integration logic. You simply replace the old provider’s URL with ours, ensuring a seamless transition for your health app’s audio generation workflows without significant code changes.

Easy API switch

Changing your audio provider requires minimal effort. Our API is designed to drop into existing OpenAI-compatible projects with just a configuration change.

You can start generating medically appropriate audio immediately after obtaining your API key from /get-api-key/.

  • Update base_url to https://api.p3pet.info/v1
  • Use your new MedTTS API key
  • No code restructuring needed

Similar request format

We use the same JSON structure as the OpenAI speech endpoint. Send POST requests with model, input, voice, and response_format fields.

This familiarity reduces debugging time, allowing you to focus on content rather than integration quirks.

  • Standard JSON body
  • Compatible with OpenAI SDKs
  • Predictable response structure

Quick integration

Indie developers can integrate MedTTS in hours, not days. The clear documentation and familiar endpoints speed up deployment.

Start with a test request to verify voice quality before migrating your patient guides or health app audio.

Listen to the 8 voices

Each sample below was generated by this API from the same sentence. This simplicity reduces integration time for indie developers building health apps.

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. Python documentation
  3. FFmpeg documentation
  4. Creative Commons Attribution 4.0
  5. OpenAI API reference: create speech
  6. openai-node on GitHub
  7. IETF RFC 7845: Ogg Opus
  8. TRON developer hub: TRC-20
  9. LibriTTS-R paper (arXiv 2305.18802)
  10. LibriVox public-domain audiobooks
  11. LibriTTS-R corpus (OpenSLR 141)
  12. Node.js documentation

More on this site