Frequently asked questions
Is this API compatible with Amazon Polly?
Yes. The API accepts the same JSON request shape as the OpenAI speech endpoint. You can use existing OpenAI SDKs by simply changing the base_url to https://api.bf77.info/v1. This allows medical teams to switch from legacy providers like Amazon Polly.
What is the character limit per request?
Each request supports up to 4096 characters of input text. Spaces and punctuation count toward this limit. For longer documents, split the text into parts of this size and join the resulting audio files. This ensures consistent processing and predictable billing for large clinical datasets.
Does the API support SSML for medical terms?
No. The API does not support SSML, phoneme dictionaries, or custom pronunciation lexicons. You cannot define custom pronunciation rules for specific medical jargon within the request. For precise control, ensure the input text uses standard spelling that matches the desired pronunciation.
How much does it cost per 1,000 characters?
The cost is $0.01 per 1,000 characters. The standard rate is $10 per 1 million characters. Spaces and punctuation count as characters. Failed requests are free, with the charge returned in full if synthesis fails, ensuring you only pay for successful audio generation.
Can I use this for patient-facing audio guides?
Yes. The API generates high-quality audio suitable for patient guides and training materials. Every generated file carries an inaudible watermark marking it as synthetic speech. Input text is used only for production and not for training, ensuring privacy for your clinical documentation content.
Are the voices customizable for medical jargon?
No. Custom voice cloning and uploading your own voice are not offered. Voices are eight fixed presets based on licensed recordings. You cannot adjust emotion tags or pronunciation lexicons. Select the voice that best fits your clinical tone, such as Sage for instructional content.
What formats are supported for audio output?
Supported formats include mp3, wav, opus, flac, and pcm. You specify the format in the response_format field of the JSON request body. This allows integration with various medical audio players and compliance systems that may require specific audio encoding standards for archival.
Is there a free trial available for teams?
Yes. Signing in with Google provides $0.50 of credit, valid for 7 days, covering about 50,000 characters. Accounts created with email and password start without trial credit. This allows teams to test the API’s speed and quality before committing to a top-up.
How are failed requests handled in billing?
Failed requests are free. If synthesis fails, the charge is returned in full. Request metadata is kept for billing, but you are not charged for unsuccessful audio generation. This ensures cost efficiency for large medical teams processing high volumes of clinical text data.
Can I generate audio for long patient handbooks?
Yes. Split texts into parts of up to 4096 characters and join the audio files. Typical speed is roughly real time on long texts. Requests are processed sequentially, so under load, a request may wait in a queue before generation begins.
What languages are supported for global clinics?
The API supports 23 languages, including English, Spanish, German, French, and Japanese. Any voice can speak any supported language. If the language field is omitted, it is guessed from the script. Latin text defaults to English, so specify the language for non-English text.
Is there a minimum spend requirement?
No. There are no monthly plans, no seats, and no minimum spend requirements. You can top up with a minimum of $5 via USDT on the TRON network. Balance does not expire, allowing flexible usage for varying clinical documentation volumes without fixed costs.
How long does it take to generate audio?
Typical speed is roughly real time on long texts, about 25 characters per second. Short phrases take a few seconds. Requests are processed one after another, so under load, a request may wait in a queue before synthesis begins, affecting total throughput.
Do I need to install any software to use the API?
No. Use the official OpenAI SDKs or plain HTTP requests. Change the base_url to https://api.bf77.info/v1 and use your API key. No mobile SDK, WordPress plugin, or browser extension is required. The API is cloud-based and accessible via standard web protocols.
First request
curl
curl https://api.bf77.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.mp3The Problem with Legacy TTS in Healthcare
Legacy TTS solutions like Amazon Polly often require intricate SSML markup even for straightforward patient guides. Medical teams spend valuable engineering hours formatting simple text instead of focusing on clinical content accuracy. This complexity slows down the production of training materials and educational audio.
High costs for bulk training materials and sluggish response times further complicate large-scale deployments. Long documents take significant time to generate, and processing queues can delay delivery of critical updates to clinical staff.
Complex SSML for simple patient guides
Legacy TTS solutions like Amazon Polly often require intricate SSML markup even for straightforward patient guides. Medical teams spend valuable engineering hours formatting simple text instead of focusing on clinical content accuracy. This complexity slows down the production of training materials and educational audio.
High costs for bulk training materials and sluggish response times further complicate large-scale deployments. Long documents take significant time to generate, and processing queues can delay delivery of critical updates to clinical staff.
High costs for bulk training materials
Legacy TTS solutions like Amazon Polly often require intricate SSML markup even for straightforward patient guides. Medical teams spend valuable engineering hours formatting simple text instead of focusing on clinical content accuracy. This complexity slows down the production of training materials and educational audio.
High costs for bulk training materials and sluggish response times further complicate large-scale deployments. Long documents take significant time to generate, and processing queues can delay delivery of critical updates to clinical staff.
Sluggish response times for long texts
Legacy TTS solutions like Amazon Polly often require intricate SSML markup even for straightforward patient guides. Medical teams spend valuable engineering hours formatting simple text instead of focusing on clinical content accuracy. This complexity slows down the production of training materials and educational audio.
High costs for bulk training materials and sluggish response times further complicate large-scale deployments. Long documents take significant time to generate, and processing queues can delay delivery of critical updates to clinical staff.
A Simpler API for Clinical Documentation
Convert clinical documentation into audio without managing complex markup. Our API accepts standard text inputs and returns synthesized audio files directly, streamlining the workflow for large medical teams producing patient guides or training materials.
Avoid the overhead of parsing and generating SSML tags. By focusing on plain text, you reduce integration time and let your developers deliver consistent, high-quality audio outputs for diverse educational content with minimal configuration.
Send plain text, receive audio files
Submit your text via a simple JSON payload to the speech endpoint. The system processes the input and returns the audio file in your chosen format, such as MP3 or WAV, ready for immediate playback or distribution.
Each request handles up to 4,096 characters. For longer patient guides, split the text into segments and join the resulting audio files to create a continuous listening experience.
- Standard JSON request body compatible with OpenAI SDKs
- Returns MP3, WAV, OPUS, FLAC, or PCM formats
- Automatic handling of text segmentation for long documents
No need to learn SSML markup
Unlike legacy providers that require intricate SSML tags for basic pacing or emphasis, our engine does not use SSML. This removes the need for specialized markup knowledge, allowing clinical educators to focus on content quality rather than syntax.
You can adjust the speaking speed between 0.25x and 4.0x directly via a simple parameter, without needing to insert pause tags or break elements into your text body.
Support for 23 languages including Spanish and French
Generate audio in 23 languages, ensuring your patient guides reach diverse populations effectively. Primary support includes English, Spanish, and French, with additional options for German, Italian, Portuguese, and other languages critical for global clinics.
Voice selection is independent of language; any voice can speak any supported language. For non-English Latin script texts, explicitly set the language parameter to ensure accurate pronunciation and intonation.
- English, Spanish, French, German, Italian, Portuguese, Arabic, Chinese, Japanese, and more
- Automatic language detection or explicit ISO code setting
- Consistent voice quality across all supported languages
Voices That Sound Professional and Clear
Selecting the right voice ensures clinical information is received clearly. Our eight presets cover diverse narrative needs, from neutral reporting to warm storytelling, without requiring complex markup adjustments.
Neutral voices like Atlas for news-style updates
Atlas provides a neutral, news-style delivery ideal for daily hospital updates or policy changes. Its clear articulation ensures critical information is understood quickly by staff.
Warm narrators like Aria for patient stories
Aria offers a warm, clear narrator tone perfect for patient guides and health education. This preset helps soften technical medical jargon, making instructions easier for patients to follow.
Deep documentary tone from Orion
For in-depth training materials, Orion delivers a deep, documentary-style voice. This adds gravitas to complex clinical documentation, helping maintain focus during long audio sessions.
Speed and Efficiency for Large Teams
Long clinical documents are synthesized at roughly real-time speed, generating approximately 25 characters of text per second of audio. This efficiency ensures that bulk training materials and patient guides are produced without significant delays, keeping your team’s workflow uninterrupted.
Real-time generation for long documents
Standard requests process quickly, though short phrases may take a few seconds to complete. For texts exceeding 4096 characters, you must split the input, synthesize each part, and join the resulting audio files.
Queue processing for high-volume requests
Requests are processed sequentially within a single key’s capacity. Under heavy load, a request may wait in a queue before synthesis begins, ensuring stability without dropping data.
Parallel processing with multiple API keys
To overcome the 60 requests per minute limit, large teams can generate multiple API keys. Each key operates independently, allowing for parallel processing and significantly higher throughput during peak usage periods.
Transparent Pricing Without Hidden Fees
MedTTS Guide offers a straightforward pricing model designed for large medical teams. Costs are calculated at $10 per million characters, meaning you pay $0.01 per 1,000 characters. Spaces and punctuation count toward this total, ensuring predictable billing for bulk training materials and patient guides.
$10 per million characters
Pricing is simple and transparent. You are charged based on the exact character count of your input text. This flat rate applies regardless of voice choice or audio format, making it easy to forecast expenses for high-volume clinical documentation projects.
- $10 per 1,000,000 characters
- $0.01 per 1,000 characters
- Spaces and punctuation count
No monthly subscriptions or seats
There are no recurring monthly fees, no per-seat charges, and no minimum spend requirements. You can scale your usage up or down without worrying about unused licenses. This structure is ideal for teams with fluctuating documentation needs.
Pay only for successful requests
If a synthesis request fails, the charge is returned in full. You only pay for audio files that are successfully generated. This ensures you are not penalized for technical glitches during high-volume processing.

Easy Integration for Developers
Developers can integrate MedTTS Guide into existing workflows using standard tools. By changing the base_url to https://api.bf77.info/v1, the official OpenAI SDKs work immediately with your API key.
Requests follow the same JSON shape as the OpenAI speech endpoint. This means your current code requires minimal adjustment to start generating audio files for clinical documentation.
OpenAI SDK compatible endpoint
Use the standard OpenAI SDKs by setting base_url to https://api.bf77.info/v1. Authenticate with your tts-... key via the Authorization header. This compatibility allows you to leverage existing library features without learning a new client.
Standard JSON request body
Send a JSON object with fields like model, input, voice, and response_format. The endpoint accepts tts-1 or tts-1-hd models. Text input is limited to 4096 characters per request; split longer documents programmatically.
Support for MP3, WAV, and FLAC formats
Specify your preferred audio format in the response_format field. Available options include mp3, wav, opus, flac, and pcm. Choose MP3 for efficient storage, WAV for uncompressed quality, or FLAC for lossless compression.
Data Privacy and Compliance
For large medical teams, patient data privacy is non-negotiable. Our API ensures that the input text you send is used exclusively for the immediate production of the audio file. It is never retained, analyzed, or used to train our underlying models, keeping your clinical documentation secure.
Once the audio is generated and returned to your system, the content is not stored on our servers. This minimizes your data footprint and simplifies compliance efforts for your team.
Text used only for synthesis, not training
Your input text serves a single purpose: generating the audio response. We do not harvest your data for model improvement, ensuring your patient guides and training materials remain proprietary.
No storage of generated audio
The synthesized audio file is delivered directly in the API response and is not persisted in our storage systems. This reduces your liability and keeps your audio assets under your control.
Metadata kept only for billing
We retain only the necessary request metadata—such as timestamp, character count, and status—to accurately calculate charges and support your usage records.
Supported Languages for Global Clinics
Our API supports 23 languages, allowing medical teams to produce patient guides and training materials in their local dialects without needing separate voice providers. This eliminates the complexity of managing multiple SSML configurations or legacy integrations for international clinics.
All voices can speak any supported language, ensuring consistent quality across diverse patient populations. You simply specify the ISO language code in your request to guarantee accurate pronunciation and intonation for non-native speakers.
English, Spanish, and French primary support
English, Spanish, and French are core to our voice presets, providing natural, clear narration for the majority of global clinical documentation. These languages are optimized for high clarity, making them ideal for patient instructions and emergency protocols.
German, Italian, and Portuguese options
German, Italian, and Portuguese options are fully supported with the same voice presets. Whether you need the calm instructional tone of Sage or the warm narration of Aria, these languages are handled with the same precision as primary languages.
Arabic, Chinese, and Japanese available
Arabic, Chinese, and Japanese are available for teams serving diverse communities. The API automatically detects the script to set the language, but you can also explicitly define it to ensure accuracy. Note that Vietnamese and Indonesian are not yet supported.
- Arabic: Full support with clear pronunciation
- Chinese: Mandarin support with natural intonation
- Japanese: High-quality synthetic speech
- Not supported: Vietnamese, Indonesian, Thai, Ukrainian
Getting Started with the API
To begin, visit /get-api-key/ and create an account using your Google credentials or an email and password. This process establishes your team’s workspace on the platform, allowing you to manage access for your clinical documentation staff immediately.
Once registered, your unique API key is generated instantly. You can view your key, available balance, and usage statistics directly on the dashboard. This key authenticates all subsequent requests to the API endpoint, ensuring secure access for your development team.
Sign up with Google or email
Access the registration page at /get-api-key/. Choose Google for quick onboarding or standard email registration. Google sign-ups include a $0.50 free trial credit valid for 7 days, providing immediate capacity for testing patient guide conversions.
Email-based accounts start without trial credit but offer full functionality. Your account is specific to this site, ensuring dedicated management of your medical TTS workflows without shared resource constraints.
- Google or email registration options
- Instant dashboard access
- Trial credit for Google users
Receive an API key instantly
Upon successful registration, your API key is available immediately. You can copy it from the dashboard or view it in your account settings. This key begins with 'tts-' and is used for Bearer authentication in your HTTP headers.
Only one active key exists per account. If needed, you can issue a new key at any time; the previous key stops working immediately. This ensures tight control over which devices or developers are accessing your medical data.
- Immediate key generation
- Single active key per account
- Instant revocation capability
Make your first request in minutes
Use the provided curl example on your dashboard to test the endpoint. Send a POST request to https://api.bf77.info/v1/audio/speech with your text and chosen voice. The system returns an audio file directly in the response.
For bulk clinical materials, split texts over 4096 characters. Use the standard JSON body format compatible with OpenAI SDKs. Adjust parameters like voice (e.g., 'atlas' for neutral updates) and format (mp3, wav) to suit your team’s needs.
- Use dashboard curl example
- POST to /v1/audio/speech
- Split texts over 4096 chars
Listen to the 8 voices
Each sample below was generated by this API from the same sentence. Generate personalized audio reminders for upcoming appointments or medication schedules.
23 languages
Any voice speaks any of these languages.
