Frequently asked questions
Is this a Murf AI API?
No. We are an independent storefront for the MedTTS Switch API. We are not affiliated with Murf AI, OpenAI, or any other brand. Our endpoint follows the same request shape as the OpenAI speech endpoint, allowing you to switch by simply changing the base_url in your existing code.
How does pricing compare to Murf AI?
We charge $10 per 1 million characters, or $0.01 per 1,000 characters. This transparent, character-based model includes spaces and punctuation. Unlike many providers, we have no monthly plans, seats, or hidden fees. Failed requests are free, and your balance never expires.
What voices are available for medical content?
You have access to eight presets suitable for clear medical narration. Options include sage (calm, instructional), atlas (neutral, news), and aria (warm, clear narrator). All voices are based on licensed recordings and can speak any of our 23 supported languages without accent drift.
Can I use this for patient education videos?
Yes. You can generate audio files in mp3, wav, opus, flac, or pcm formats. Each file includes an inaudible watermark marking it as synthetic speech. Since input text is not used for training, you can safely process patient-specific educational content without privacy concerns.
Which languages are supported?
We support 23 languages, including English, Spanish, German, French, and Chinese. Any voice can speak any supported language. If you do not specify the language, we guess it from the script, but we recommend setting it explicitly for non-English Latin text to ensure accuracy.
Do I need to send SSML tags?
No. We do not support SSML. You send plain text in the input field. The API processes the text directly. If you need specific pauses or emphasis, you can adjust the speed parameter or split your text into smaller segments for precise control.
How fast is the text-to-speech generation?
Generation is roughly real-time, processing about 25 characters per second. Short phrases take a few seconds, while long texts are split into 4096-character parts and joined. Requests are processed sequentially, so heavy load may cause slight delays in the queue.
Is my patient data used for training?
No. Input text is used only to produce the audio for that specific request. We do not use your data for training our models. Generated audio is returned in the response and not stored, ensuring your patient information remains private and secure.
What happens if a request fails?
If synthesis fails, the charge is returned in full. You are not billed for failed requests. This ensures you only pay for successfully generated audio files. You can retry the request or adjust parameters like speed or voice if the error persists.
Can I switch from another TTS provider easily?
Yes. Our API endpoint matches the OpenAI speech endpoint structure. You can switch by changing the base_url to https://api.p3pet.info/v1 and updating your API key. Standard OpenAI SDKs work directly, making integration simple for indie developers already using compatible libraries.
Do you offer a free trial?
Yes. Signing in with Google gives you $0.50 of credit, valid for 7 days. Email/password accounts start without trial credit. This allows you to test the API with approximately 50,000 characters before committing to a USDT top-up for production use.
How do I pay with USDT?
We accept USDT on the TRON network (TRC-20) only. The minimum top-up is $5. Credits are added automatically within minutes after your transfer. We do not accept credit cards, PayPal, or subscriptions. There are no monthly plans or minimum spend requirements.
What is the character limit per request?
Each request accepts up to 4096 characters in the input field. For longer texts, you should split the content into parts of this size and join the resulting audio files. This ensures consistent generation quality and manageable processing times for your medical content.
Do you have a mobile SDK?
No. We do not offer a dedicated mobile SDK. You can use the official OpenAI SDKs or plain HTTP requests by pointing them to our base URL. This gives you full control over integration within your iOS or Android applications without extra dependencies.
First request
curl
curl https://api.p3pet.info/v1/audio/speech \
-H "Authorization: Bearer $TTS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"tts-1","voice":"aria","input":"Hello from the API.","response_format":"mp3"}' \
--output hello.mp3Why developers choose us over Murf AI
We help indie developers building health apps switch from expensive TTS providers to a transparent, character-based API. Our service focuses on clear, medically appropriate voices without hidden fees or complex integrations.
Transparent character pricing
Pay only for what you use: $10 per million characters, or $0.01 per 1,000 characters. Failed requests are free, so you never pay for errors.
No monthly subscriptions
There are no monthly plans, seats, or minimum spends. Your balance does not expire, and you can top up with USDT (TRC-20) whenever needed.
Easy OpenAI SDK integration
Use the standard OpenAI SDK by changing the base URL to our endpoint. Send a POST request with your text and receive an audio file instantly.
- JSON body with model, input, voice, and response_format
Voices for patient guides
MedTTS Switch offers eight distinct voice presets designed for clarity and appropriate tone in medical contexts. Whether you need a warm narrator for patient education or a neutral voice for news-style updates, our library covers the spectrum.
Calm female voices like Luna
Luna provides a soft, storytelling tone ideal for complex patient guides. Aria offers a warm, clear narration style, while Nova brings a bright, upbeat energy suitable for younger audiences. Sage delivers a calm, instructional voice perfect for step-by-step health instructions.
- Luna: soft, storytelling
- Aria: warm, clear narrator
- Sage: calm, instructional
- Nova: bright, upbeat
Clear male voices like Atlas
Atlas serves as a neutral, news-style voice, ensuring facts are delivered without bias. Milo offers a friendly, conversational tone for interactive apps, while Orion provides a deep, documentary style for detailed medical histories. Felix adds energy for promotional health content.
- Atlas: neutral, news
- Milo: friendly, conversational
- Orion: deep, documentary
- Felix: energetic, promo
23 languages for global reach
All eight voices support 23 languages, allowing consistent character across your app’s international versions. Supported languages include English, Spanish, German, French, Japanese, Chinese, Arabic, and more. If the language isn't set, the system guesses from the script, but explicit settings are recommended 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
Technical simplicity
Integration is straightforward: send a POST request to the standard JSON endpoint and receive an audio file. The request shape matches the OpenAI speech endpoint, allowing you to use existing OpenAI SDKs by simply updating the base URL to https://api.p3pet.info/v1. This eliminates the need for custom clients or complex middleware.
The API handles the heavy lifting of synthesis. You provide the text, model, and voice parameters, and the system returns the audio file directly. This simplicity reduces development time, letting you focus on building your health app features rather than managing TTS infrastructure nuances.
Standard JSON endpoints
Use a simple POST request with a JSON body. Fields include model, input, voice, response_format, speed, and optional language. Authentication is handled via a Bearer token in the header.
The endpoint is POST https://api.p3pet.info/v1/audio/speech. This consistency means you can swap providers easily if needed, but the simplicity keeps your code clean.
- JSON body with standard fields
- Bearer token authentication
- Compatible with OpenAI SDKs
Fast synthesis times
Long texts are processed at roughly real-time speed (about 25 characters per second). Short phrases may take a few seconds. Requests are processed sequentially, so heavy load might introduce a queue delay.
Split texts into parts of up to 4096 characters if needed, then join the resulting audio files for a seamless patient guide experience.
No complex SSML needed
You do not need SSML tags to get clear, medically appropriate speech. The eight preset voices (like Luna or Atlas) handle tone naturally without extra markup. Just send plain text and let the engine handle the rest.
Pricing that scales with you
MedTTS Switch uses a straightforward character-based rate of $10 per million characters, ensuring predictable costs for your health app. Spaces and punctuation count, so you know exactly what you pay for. Failed requests are free, so you only cover successful synthesis.
There are no monthly subscriptions, seats, or minimum spends. Your balance never expires, and you can top up whenever needed. This model scales naturally with your user base, avoiding the waste of unused monthly credits common in competitor plans.
$10 per million characters
The standard rate is $10 per 1 million characters, which equals $0.01 per 1,000 characters. Since spaces and punctuation count as characters, your costs are directly tied to the actual content length you generate.
- Transparent character counting
- No hidden fees
- Pay only for success
Free trial credit included
New accounts created with Google sign-in receive $0.50 of free trial credit, enough for about 50,000 characters. This credit is valid for 7 days, giving you time to test the API without immediate payment. Email-based accounts start without trial credit.
- $0.50 trial credit
- 50,000 characters included
- Valid for 7 days
USDT payments only
We accept USDT on the TRON network (TRC-20) for top-ups, with a minimum of $5. Payments are credited automatically within minutes, keeping your integration running smoothly. We do not accept credit cards, PayPal, or subscriptions.
- USDT (TRC-20) only
- $5 minimum top-up
- Automatic crediting
Data privacy for health apps
For indie developers building health apps, understanding how patient data flows through your TTS integration is critical. Our API treats input text as a transient resource, used exclusively to generate the audio file you receive in the response.
We do not store the generated audio files, ensuring that patient narratives or medical instructions do not linger in our cloud infrastructure longer than necessary for delivery. This approach minimizes your data retention risk.
Input text not used for training
Unlike many free TTS providers, we do not use your input text to train or improve our neural models. Your medical content remains yours, ensuring that specific patient guide wording isn’t absorbed into our general training data.
No storage of generated audio
Once the audio file is delivered to your client via the API response, we do not retain a copy. This means you control the distribution of the final audio asset, reducing your own storage obligations and simplifying compliance audits for health apps.
Metadata kept for billing only
We keep request metadata—such as timestamp, character count, and status—strictly for billing accuracy and troubleshooting. This minimal data set does not include the actual text or audio content, keeping your usage records lean and privacy-focused.

Supported formats
We support four standard audio formats to fit your app’s needs. Choose MP3, WAV, OPUS, FLAC, or PCM.
All formats include an inaudible watermark to mark the audio as synthetic speech, ensuring transparency for your users.
MP3 for web players
It offers a good balance between file size and audio quality, making it ideal for patient guides played in browsers or mobile apps.
WAV for high quality
It preserves every detail of the synthesized voice without any lossy compression.
OPUS and FLAC options
OPUS provides efficient compression for modern web applications, while Both formats give you flexibility in managing storage and playback performance.
Select the one that best fits your technical infrastructure and user experience goals.
- OPUS for modern web efficiency
- FLAC for lossless archival storage
Language support
Every voice in our API supports all 23 available languages, allowing you to mix and match without needing different voice models. This ensures consistent audio quality whether you are generating a patient guide in English or a medication instruction in Arabic.
English and Spanish presets
Default English and Spanish support works out of the box. Set the language code explicitly to ensure correct pronunciation for Latin-script text that might otherwise default to English.
Arabic and Chinese support
We support complex scripts like Arabic and Chinese with native-sounding presets. This allows indie developers to reach diverse patient demographics without hiring multiple voice actors.
European language coverage
Cover major European markets with support for German, French, Italian, Portuguese, and more. All 23 languages are available across all 8 voice presets, including calm options like Luna or clear options like Atlas.
- Arabic, Chinese, Danish, Dutch, Finnish, Greek, Hebrew, Hindi, Japanese, Korean, Malay, Norwegian, Polish, Russian, Swahili, Swedish, Turkish
Performance expectations
Synthesis speed typically matches real-time, processing roughly 25 characters per second. Short phrases may take a few seconds, while longer texts generate at a steady pace.
Real-time generation speed
Long texts are split into manageable parts and joined seamlessly. This ensures consistent output without manual intervention, keeping your app responsive.
Queue handling under load
Requests are processed sequentially. Under heavy load, a request may wait in a queue before synthesis begins. This guarantees orderly processing but may increase latency during peak times.
- Rate limit: 60 requests per minute per key
- 10 requests per minute before first top-up
4096 character limit per request
Each API call accepts up to 4096 characters. Spaces and punctuation count toward this limit. You must split longer texts into multiple requests and join the resulting audio files.
Getting started
Start by visiting the /get-api-key/ page and signing in with your Google account. This instant method grants you a $0.50 free trial credit, valid for 7 days, letting you test the API without immediate payment setup.
Once authenticated, your dashboard displays your unique API key, current balance, and a ready-to-use cURL example. You can begin sending requests immediately or switch to email/password registration later if needed.
Sign up with Google
Click the Google sign-in button on the /get-api-key/ page. This method automatically activates a $0.50 trial credit, giving you about 50,000 characters to test the service within 7 days.
Get your API key instantly
After signing in, your dashboard displays your active API key and current balance. The page also shows a ready-to-use cURL example, making it easy to start generating audio immediately.
Copy the curl example
Use the provided cURL command as a template. Replace the placeholder key with your actual key, set the desired voice (e.g., 'luna' or 'atlas'), and send your medical text to the endpoint.
- Replace
YOUR_API_KEYin the header - Set
voiceto 'luna' for calm narration - Adjust
inputwith your patient guide text
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.
23 languages
Any voice speaks any of these languages.
