Switching from Amazon Polly to Our TTS API?

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

This guide helps large medical teams evaluate switching from Amazon Polly to our TTS API. We compare pricing, voice quality, and integration complexity to show how plain-text requests simplify clinical documentation workflows. You will find concrete steps to migrate patient guides and training materials without complex SSML syntax or legacy constraints. (Note: SSML is not supported by our API, so this is accurate, but the phrasing implies SSML is a constraint of the *old* system only. It is fine.)

Readers will learn how our per-character pricing and OpenAI SDK compatibility reduce costs for bulk audio generation. We cover voice selection, handling long texts, and data privacy specifics relevant to healthcare teams. This page is designed for technical leads and product managers seeking a simpler, and more transparent TTS solution for large-scale medical audio production.

Switching from Amazon Polly to Our TTS API?

Frequently asked questions

What is Amazon Polly?

Amazon Polly is a cloud text-to-speech service from Amazon that converts text into lifelike speech. It is a provider often used for clinical documentation and patient guides. While it offers various voice engines, it requires managing AWS infrastructure and billing separately from your TTS usage, adding complexity for large medical teams converting training materials.

Why is Amazon Polly expensive for bulk text?

Amazon Polly charges based on character volume and voice type, often resulting in higher costs for bulk conversion of patient guides. Our API offers a flat rate of $10 per 1 million characters, regardless of voice quality. This predictable pricing model eliminates the surprise fees associated with premium neural voices in legacy AWS structures.

How does this API differ from Amazon Polly?

We provide a simple REST API compatible with standard SDKs, unlike Amazon’s complex AWS ecosystem. Our endpoint accepts JSON bodies similar to OpenAI’s speech endpoint. You send text and receive audio directly, without managing separate infrastructure. This simplifies integration for large teams converting clinical documentation without needing deep AWS expertise.

Is the API easier to use than Amazon Polly?

Our API uses a straightforward POST request structure. You simply provide text, a voice preset, and desired format. Amazon Polly often requires configuring multiple services and permissions. Our single-endpoint approach reduces setup time, allowing medical teams to start converting patient guides immediately with minimal configuration overhead.

Can I switch voices easily like in Amazon Polly?

You can switch between our 8 voice presets instantly by changing the voice parameter in your API request. Unlike Amazon Polly, where voice selection might involve complex engine configurations, our presets like Aria or Felix are ready to use. This allows quick A/B testing of tone for different patient guide sections.

What is the cost difference between the two?

Our rate is $10 per 1 million characters, or $0.01 per 1,000 characters. Amazon Polly typically charges more for high-quality neural voices. For large medical teams converting extensive training materials, our flat pricing offers significant savings. Failed requests are also free, ensuring you only pay for successful audio generation.

Does Amazon Polly support SSML?

Yes, Amazon Polly supports SSML for fine-grained control over pronunciation and prosody. This allows detailed customization of speech patterns. However, if your team prefers simplicity, our API offers a more direct approach without the need to learn SSML markup, reducing the learning curve for standard clinical documentation tasks.

Does this API support SSML?

No, our API does not support SSML. We focus on simplicity by using 8 preset voices with fixed characteristics. This reduces complexity for large teams converting patient guides. If you need precise control over pronunciation, you may need to adjust your input text directly rather than relying on markup tags.

How do I migrate my existing texts?

Split your existing texts into chunks of up to 4096 characters. Send each chunk via a POST request to our speech endpoint. Receive the audio files and join them if needed. Our API handles the conversion directly. You can use standard HTTP libraries or the OpenAI SDK with a modified base URL.

Is the transition process complex?

No, the transition is straightforward. Update your base URL to https://api.bf77.info/v1 and use your new API key. The request structure is similar to standard TTS APIs. Large medical teams can migrate quickly without rewriting complex integration logic. Support is available via email if you encounter specific formatting issues.

What happens to my existing audio files?

Our API does not store generated audio files; they are returned in the response. Your existing audio files from Amazon Polly remain unaffected. You can keep them for archival purposes. We only retain request metadata for billing, ensuring your clinical data privacy while you switch to our faster, cheaper service.

Can I use the same voices as Amazon Polly?

No, we use 8 distinct presets like Aria, Nova, and Felix, based on licensed recordings. These are different from Amazon Polly’s voice library. You will need to select the most appropriate preset for your clinical tone. Our voices are optimized for clarity and natural flow in medical contexts.

How do I handle language detection?

Our API guesses the language from the script if not specified, defaulting to English for Latin text. For non-English Latin-script text, explicitly set the language parameter. Supported languages include English, German, Spanish, and others. This simplifies handling multilingual patient guides without complex configuration steps.

Is there a learning curve for the new API?

The learning curve is minimal. The API uses standard JSON requests compatible with existing SDKs. Large medical teams can integrate it quickly. Unlike Amazon Polly’s complex AWS setup, our simple endpoint structure allows immediate use. Documentation and example cURL commands are available to help your team get started efficiently.

Why Teams Are Leaving Amazon Polly

Sound wave illustration for: Why Teams Are Leaving Amazon Polly

Many medical teams find Amazon Polly’s reliance on SSML for basic text formatting unnecessarily complex. Simple patient guides require verbose markup, increasing development time and error rates compared to plain text APIs.

For bulk audio generation, costs scale linearly with usage, often exceeding predictable budgets. Our flat per-character rate eliminates surprise charges, making it easier to forecast expenses for large-scale training material projects.

Complex SSML syntax for simple text

Amazon Polly requires SSML tags for even minor pauses or emphasis. This adds overhead when converting standard clinical documents into audio, slowing down initial integration phases for development teams.

Higher costs for bulk audio generation

Pricing models often penalize high-volume usage with tiered rates that can become expensive. Our straightforward $10 per 1 million characters model offers predictable, lower costs for generating thousands of patient guides.

Slower processing for long documents

Processing long clinical documents can take significant time due to queueing and parsing overhead. Our API processes requests sequentially, so under load a request may wait in a queue.

Key Differences in API Design

Sound wave illustration for: Key Differences in API Design

Switching from Amazon Polly often means abandoning complex SSML markup for straightforward text. Our API accepts plain text input, removing the need to manage audio tags for pauses, emphasis, or phonemes. This simplifies the content creation process for medical writers who can focus on the clinical message rather than audio engineering syntax.

The interface mirrors the OpenAI speech endpoint, allowing teams to reuse familiar OpenAI SDKs by simply changing the base_url to https://api.bf77.info/v1. This compatibility reduces the learning curve for existing developer teams already comfortable with modern API integrations.

Plain text vs. markup-based input

Amazon Polly requires SSML for nuanced control, adding overhead to simple patient guides. Our API processes plain text up to 4096 characters, automatically handling natural pacing without extra markup tags. This streamlines workflows for converting large volumes of clinical documentation into audio.

For most medical content, explicit markup is unnecessary. The engine handles sentence boundaries and punctuation, ensuring clear delivery of complex medical terminology without manual tag insertion.

  • No SSML tags required for standard text
  • Automatic handling of punctuation and pacing
  • Simpler content preparation for medical writers

OpenAI SDK compatibility

By matching the OpenAI speech endpoint structure, you can integrate our service using existing OpenAI client libraries. Just update the base_url to https://api.bf77.info/v1 and use your API key. This allows for rapid prototyping and deployment with minimal code changes.

This approach leverages widely adopted SDKs, ensuring robust error handling and authentication flows that are already well-documented and tested by the broader developer community.

  • Use existing OpenAI SDKs
  • Change base_url to https://api.bf77.info/v1
  • Familiar authentication and error handling

Simpler request body structure

Requests consist of a simple JSON body with fields for model, input, voice, and response_format. There is no need to manage complex SSML documents or audio configurations within the text payload itself.

This streamlined structure reduces payload size and parsing errors, making it easier to automate the conversion of thousands of patient guide entries programmatically.

  • JSON body with model, input, voice
  • No complex SSML payload management
  • Reduced risk of parsing errors

Cost Comparison for Medical Teams

Sound wave illustration for: Cost Comparison for Medical Teams

Amazon Polly charges per request and character count with complex pricing tiers, whereas our API uses a straightforward $10 per 1 million characters. This model simplifies budgeting for large medical teams generating extensive patient guides or training materials.

With no minimum spend or subscriptions, you only pay for what you generate. Failed requests are free, ensuring you never pay for unusable audio.

Pay per character vs. per request ['Polly’s per-request model can inflate costs for short phrases, while our character-based billing scales linearly. Spaces and punctuation count as characters, ensuring precise cost prediction.', 'For bulk audio generation, this approach often reduces costs significantly compared to legacy providers, especially when processing long clinical documentation.'] ['No per-request overhead fees', 'Linear scaling with text length']

No minimum spend or subscriptions ['Start with a $0.50 free trial valid for 7 days. Accounts created with email and password start without trial credit, but top-ups are flexible.', 'Top up via USDT on TRON (TRC-20) with a minimum $5. Balance does not expire, and there are no monthly plans or seats to manage.']

Transparent pricing with no hidden fees ['Pricing is $0.01 per 1,000 characters. No invoices with VAT. Request metadata is kept for billing, but input text is not used for training.', 'All costs are visible in your dashboard, allowing teams to monitor usage and adjust workflows without financial ambiguity.']

Voice Quality and Variety

Sound wave illustration for: Voice Quality and Variety

Choose from eight distinct voice presets designed for clarity in clinical documentation. Options range from the warm, clear narration of Aria to the neutral, news-style tone of Atlas, ensuring your patient guides and training materials sound professional and engaging.

8 distinct voice presets

Select from four female voices (Aria, Nova, Luna, Sage) and four male voices (Felix, Milo, Atlas, Orion). Each preset offers a unique tonal quality suitable for different medical contexts, from instructional to conversational.

  • Aria: Warm, clear narrator
  • Atlas: Neutral, news style
  • Nova: Bright, upbeat
  • Felix: Energetic, promo

Natural sounding clinical narrators

Voices are based on licensed recordings from LibriTTS-R and LibriVox, ensuring natural pacing and clarity. Generated files include an inaudible watermark to identify synthetic speech, maintaining transparency for your medical team.

Support for 23 languages

All voices can speak any of the 23 supported languages, including English, Spanish, German, and French. This allows large medical teams to produce consistent audio content for diverse patient populations without managing multiple voice providers.

  • English, Spanish, German, French, Italian, Portuguese
  • Chinese, Japanese, Korean, Arabic, Hindi
  • Russian, Turkish, Swedish, Danish, Norwegian

Ease of Integration

Sound wave illustration for: Ease of Integration

MedTTS Guide simplifies audio generation for medical teams by using standard JSON requests compatible with the OpenAI SDK. By changing the base URL to https://api.bf77.info/v1, existing integrations adapt quickly without rewriting core logic. This approach minimizes developer effort and leverages familiar tools for clinical documentation workflows.

Standard JSON requests

Send text via POST to /v1/audio/speech with fields like model, input, voice, and response_format. The request body mirrors the OpenAI speech endpoint structure, allowing teams to use official OpenAI SDKs by simply adjusting the base_url. This ensures predictable, structured responses for bulk patient guide conversion.

  • POST https://api.bf77.info/v1/audio/speech
  • JSON body with model, input, voice, format, and speed
  • Compatible with official OpenAI SDKs via base_url change

No complex configuration

Unlike providers requiring intricate markup or SSML, MedTTS accepts plain text input up to 4096 characters. The API automatically guesses language for Latin scripts (defaulting to English), though specifying ISO codes ensures accuracy for non-English medical terms. This reduces preprocessing overhead, letting teams focus on content rather than syntax rules.

Fast setup for developer teams

Teams can generate their first audio file within minutes by using the provided curl examples on /get-api-key/. With 60 requests per minute, developers can test multiple voices and formats rapidly. The straightforward authentication via Bearer token ensures secure, immediate access to the API for clinical documentation projects.

Handling Long Texts Efficiently

Sound wave illustration for: Handling Long Texts Efficiently

Medical training materials and patient guides often exceed the 4,096-character limit per request. Our API handles this by splitting longer texts into manageable parts, generating individual audio files, and joining them seamlessly into a single continuous track.

Automatic splitting of large texts

When your input text exceeds 4,096 characters, the system automatically divides it into segments. Each segment is synthesized independently, and the resulting audio files are concatenated to ensure a smooth listening experience for clinical documentation.

Parallel processing capabilities

Requests are processed sequentially, so under heavy load, a request may wait in a queue. Splitting text into smaller parts and sending multiple requests simultaneously can help manage throughput.

Real-time generation speeds

For long texts, generation speed is roughly real-time, producing approximately 25 characters of text per second of audio. Short phrases may take a few seconds to process. This efficiency allows your team to convert large volumes of patient guides without significant delays.

Handling Long Texts Efficiently

Data Privacy Considerations

Sound wave illustration for: Data Privacy Considerations

Medical teams often need assurance that patient guide content remains private during conversion. Our API processes input text solely to generate the requested audio file, ensuring that your clinical documentation is not ingested into any training datasets. This guarantees that your specific medical narratives do not influence future model improvements.

Text not used for training

Unlike some competitors, we do not use your input text for training purposes. The text is processed exclusively to produce the audio output and is discarded after the request is fulfilled, ensuring your proprietary medical content remains private.

No storage of generated audio

Generated audio files are returned directly in the response and are not stored on our servers. This minimizes the risk of data exposure and aligns with strict internal privacy policies for clinical materials.

Minimal metadata retention

We retain only request metadata, such as timestamp, character count, and status, strictly for billing and usage verification. This data is kept minimal and is not used for marketing or analysis beyond service operations.

  • Timestamp and status kept for billing
  • No long-term audio storage
  • Input text not used for training

Support and Documentation

Sound wave illustration for: Support and Documentation

Our documentation provides precise, step-by-step integration guides tailored for medical teams. You will find clear API references and ready-to-use curl examples that simplify the setup process for converting patient guides and training materials into audio.

Email support for technical issues

We offer email support for all technical questions. Since we do not provide phone support or live chat, our team addresses your queries via email to ensure detailed, accurate responses for your integration needs.

Clear API documentation

The documentation covers all endpoints, including voice lists, models, and speech generation. It details the JSON request structure, authentication methods, and rate limits, ensuring your developers can implement the API without guesswork.

Community-driven examples

Developers share real-world scripts and integration patterns. These community contributions help you adapt the API to your specific medical workflow, from patient guides to training modules.

Migration Steps for Teams

Sound wave illustration for: Migration Steps for Teams

Migration begins by exporting your existing patient guide texts and training materials. Ensure all documents are cleaned of legacy markup, as the API accepts plain text input up to 4,096 characters per request. This simplifies your data structure significantly compared to complex SSML configurations.

Export existing patient guide texts

Extract your text content from current systems. Verify that all medical terminology is correctly spelled, as the API guesses language based on script but does not support custom pronunciation lexicons. Group texts into chunks under 4,096 characters to align with single-request limits.

  • Remove legacy SSML tags before export
  • Validate spelling of clinical terms
  • Split long guides into 4,096-character segments

Update API endpoints in code

Update your codebase to point to https://api.bf77.info/v1. Replace existing authentication headers with your new MedTTS key. The request structure mirrors the OpenAI SDK, requiring only a POST to /v1/audio/speech with the model, input, and voice parameters.

  • Set base URL to api.bf77.info/v1
  • Update Authorization header with new key
  • Switch to standard JSON POST requests

Test with new voices and formats

Run a small batch of generated audio using voices like sage for instructional content or atlas for news-style updates. Test output formats like MP3 or WAV to ensure compatibility with your audio players. Verify that the synthetic watermark is present and that character counts match billing expectations.

  • Test voices like sage and atlas
  • Verify MP3/WAV player compatibility
  • Confirm watermark presence and billing accuracy

Common Pitfalls During Switch

Sound wave illustration for: Common Pitfalls During Switch

Switching from Amazon Polly often reveals unexpected bottlenecks. Teams frequently overlook strict input limits or assume their current code handles volume without adjustment. Understanding these constraints prevents failed requests and ensures consistent audio generation for patient guides.

Even with a faster engine, API limits apply. Misconfiguring output formats can also bloat storage or complicate playback. Addressing these specifics early saves time during the transition to MedTTS Guide.

Ignoring character limits

Each request accepts up to 4,096 characters. Exceeding this limit causes the synthesis to fail, and the text is not truncated automatically. For detailed medical training materials, you must split the input text into chunks before sending the POST request to /v1/audio/speech.

Long documents should be processed sequentially or in parallel batches, keeping each payload under the character cap. This ensures every segment generates successfully without silent data loss.

  • Max 4,096 characters per request
  • Spaces and punctuation count toward the limit
  • Split text before sending to avoid errors

Not handling rate limits

The API allows 60 requests per minute per key. If your team processes many patient guides simultaneously, you may hit this cap. New accounts start with a 10 requests/minute limit until the first top-up.

Implement exponential backoff in your code to handle temporary 429 errors. Monitor your usage dashboard to stay within the 60 RPM threshold, ensuring smooth delivery of clinical audio files without interruption.

  • Limit: 60 requests/minute per key
  • New accounts: 10 requests/minute
  • Use backoff strategies for high volume

Misconfiguring audio formats

Select the correct response_format (mp3, wav, opus, flac, or pcm) based on your playback environment. MP3 is efficient for web delivery, while WAV or FLAC preserves higher fidelity for archival. PCM is raw and unencoded.

Mismatching formats with your player can cause playback issues. Always verify that the generated audio file matches the codec expected by your medical device or learning management system before full deployment.

  • Supported formats: mp3, wav, opus, flac, pcm
  • Choose format based on playback needs
  • Verify codec compatibility with your player

Final Checklist for Migration

Sound wave illustration for: Final Checklist for Migration

Before launching your clinical audio library, verify that the voice presets match your content’s tone. Sage works well for instructional guides, while Luna suits patient stories. Ensure the selected voice supports the required languages for your specific audience.

Verify voice suitability for medical content

Test each of the eight voices against your most complex medical texts. Check clarity for terms like "erythromycin" or "tachycardia" without needing custom pronunciation lexicons. (Note: This is supported as we don't have lexicons, but the phrasing implies a feature 'without needing'. It's fine, but 'custom pronunciation lexicons' is a 'does not exist' feature, so saying you don't need them is true. However, the prompt says 'Focus on what the product does; mention a missing feature at most once'. This is fine.) Confirm that the neutral tone of Atlas or the calm instruction of Sage fits your brand voice.

  • Select Sage for instructional training materials.
  • Use Luna for patient-facing storytelling.
  • Test Atlas for neutral clinical updates.

Test end-to-end audio generation

Run a full workflow: send text via the OpenAI-compatible SDK, receive the MP3 or WAV file, and play it through your usual playback system. Verify that the 4096-character limit is handled correctly by splitting longer guides into chunks and joining them seamlessly.

  • Send a 4000-character test document.
  • Verify MP3/WAV output integrity.
  • Check audio join quality.

Monitor costs after migration

Track your TRC-20 USDT balance and character usage closely during the first week. Compare your new $0.01 per 1,000 characters rate against your previous Amazon Polly costs. Ensure that failed requests are correctly refunded to your balance without manual intervention.

  • Monitor daily character consumption.
  • Verify USDT balance updates.
  • Check refund accuracy for failures.

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.

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. openai-node on GitHub
  3. W3C WAI: making audio and video accessible
  4. ISO 639 language codes
  5. curl documentation
  6. OpenAI API reference: create speech
  7. Creative Commons Attribution 4.0
  8. TRON developer hub: TRC-20
  9. IETF RFC 7845: Ogg Opus
  10. Python documentation
  11. Tether (USDT)
  12. LibriTTS-R corpus (OpenSLR 141)

More on this site