Frequently asked questions
Is it hard to migrate from Amazon Polly?
Migration is straightforward. Our API uses the same request shape as OpenAI, allowing you to switch by changing the base_url to https://api.odin678.info/v1. The official OpenAI SDKs work directly with our endpoint. You only need to update your authentication header to use our Bearer token, making the transition minimal for existing integrations.
Do I need to change my code significantly?
No significant changes are required. The API accepts JSON bodies with model, input, voice, response_format, and speed fields. Since the request structure mirrors OpenAI’s speech endpoint, you can often swap the base URL and API key in your existing OpenAI SDK code without rewriting the core synthesis logic.
Can I use the same voices as Amazon Polly?
No, you will use our eight specific presets: aria, nova, luna, sage, felix, milo, atlas, and orion. These are based on licensed LibriTTS-R recordings. Unlike Polly’s extensive library, we offer a curated set of distinct styles, from warm narrators to deep documentary tones, covering 23 languages.
Will my existing audio files work with the new API?
Your existing files are independent of our API. However, generated audio files from our service include an inaudible watermark marking them as synthetic. These files are returned in the response and not stored by us, so you must handle storage and playback integration yourself after generation.
How do I calculate the cost difference?
Our pricing is $10 per 1 million characters, or $0.01 per 1,000 characters. Compare this directly against Amazon Polly’s per-character rates. Failed requests are free, and you can top up via USDT on TRON. There are no monthly fees or minimum spend requirements to consider.
Does the new API support streaming?
No, we do not support streaming, WebSocket, or real-time partial audio. You send text and receive the complete audio file. For long texts, split them into parts of up to 4096 characters and join the resulting audio files manually in your workflow.
Can I keep my old API key while testing?
Yes, you can maintain your old Amazon Polly key while testing our API. Our system issues one active key per account. You can issue a new key at any time, which stops the old one immediately.
What if the new API is slower?
Typical speed is roughly real-time (25 characters per second). Short phrases take a few seconds. Requests are processed sequentially, so under load, a request may wait in a queue. Plan your integration accordingly, as there is no guaranteed sub-second latency like streaming services.
Do I need to retrain any models?
No retraining is needed. Our voices are based on licensed recordings from LibriVox and LibriTTS-R. The model is fixed; you simply select one of the eight presets. There is no custom voice cloning or training process, ensuring consistent output without additional setup time.
Is the migration process documented?
Yes, detailed documentation is available at /docs/. It includes the API endpoint, request fields, and code examples. You can also generate a ready curl example on the /get-api-key/ page. The documentation covers all necessary parameters for integrating with your news automation pipeline.
Can I roll back to Amazon Polly easily?
Yes, since our API uses standard JSON requests similar to OpenAI, you can easily switch back by updating your base URL and credentials. There is no vendor lock-in on the data format. Your generated audio files are standard formats like MP3 or WAV, fully portable.
Are there any data loss risks during migration?
Input text is used only to produce audio and is not used for training. Generated audio is returned in the response and not stored by us. Request metadata is kept for billing. You retain full control over your input text and output files, minimizing data loss risks.
How long does the migration take?
Migration is fast. Updating the base URL and API key in your SDK takes minutes. If you are splitting long texts, ensure your code handles the 4096-character limit and joins audio files. Testing with the free trial credit ($0.50) validates the integration quickly.
Do I need developer time for the switch?
Minimal developer time is needed. The API is designed for easy integration with existing OpenAI SDKs. You mainly need to update the base URL, handle the 4096-character limit for long texts, and manage the USDT top-up process. No complex model training or infrastructure changes are required.
Assessing your current usage
Before migrating your TTS infrastructure, quantify your current text volume and associated costs to establish a baseline. This section covers character estimation, cost analysis, and latency requirements to help indie developers evaluate if our API meets their news automation needs.
Character volume estimation
Track your monthly character count, including spaces and punctuation. Our API processes up to 4096 characters per request, requiring text splitting for longer scripts. Accurate estimation helps predict generation time and API call volume.
Current cost analysis
Compare your Amazon Polly expenses against our flat rate of $10 per 1 million characters. Unlike tiered pricing, our model charges only for actual usage with no monthly fees or minimum spend. Failed requests incur no charge.
Latency requirements
Assess if your workflow can tolerate processing delays. Our API processes requests sequentially, so under load, queuing may occur. Typical speed is roughly real-time, but short phrases may take a few seconds to generate.
SDK migration steps
Migrating from Amazon Polly requires updating your SDK configuration. Change the base URL to https://api.odin678.info/v1. This allows existing OpenAI-compatible SDKs to work immediately. Keep your authentication header as Bearer tts-<your_key>.
Updating base URLs
Point your client to the new endpoint. The OpenAI SDK works by simply changing the base_url parameter. This eliminates the need for a custom wrapper library.
Adjusting request bodies
Map your input text to the input field. Use tts-1 or tts-1-hd for the model. Specify the voice, format, and speed within the JSON payload. Ensure text length stays under 4096 characters per request.
- Set
modelto 'tts-1' or 'tts-1-hd' - Use
inputfor text data - Define
response_format(mp3, wav, opus, flac, pcm)
Handling responses
The API returns audio data directly in the response body. No polling or job IDs are required. Handle the binary stream or saved file immediately after the POST request completes.
Voice selection comparison
Switching from Amazon Polly’s extensive voice library to our eight presets simplifies decision-making for news automation. Polly offers dozens of variants, but our curated set—ranging from the warm narrator Aria to the neutral news reader Atlas—covers the core tonal needs of content delivery without configuration overhead.
Each voice is built on licensed LibriTTS-R recordings, ensuring consistent quality. Unlike Polly’s granular control over pitch and speed, our API uses a simple speed multiplier (0.25–4.0) and fixed voice selection, reducing integration complexity while maintaining professional audio standards for automated feeds.
Amazon Polly voices vs our presets
Amazon Polly provides a wide array of neural voices with varying accents and styles, requiring significant mapping logic. Our eight presets—Aria, Nova, Luna, Sage, Felix, Milo, Atlas, and Orion—offer distinct, consistent tones. For news, Atlas (neutral) or Sage (instructional) provide reliable clarity, eliminating the need to test dozens of variants.
This reduction in choice accelerates integration. Developers no longer need to maintain complex voice-mapping tables for different regions. Instead, a single API call with a voice ID delivers consistent results, streamlining the transition from Polly’s fragmented voice selection process.
- Atlas: Neutral, ideal for breaking news
- Sage: Calm, suitable for instructional content
- Aria: Warm, clear narrator for features
- Felix: Energetic, good for promos
Tone matching for news
News content requires clarity and neutrality. Atlas provides a steady, unbiased delivery suitable for headlines, while Sage offers a softer tone for longer reads. Unlike Polly’s ability to adjust SSML tags for emphasis, our voices rely on natural intonation, which often reduces post-processing needs for standard news scripts.
The lack of custom pronunciation lexicons means you must ensure correct spelling in the input text. For proper nouns or specific terms, standard spelling usually suffices, but complex acronyms may require phonetic spelling adjustments in the input string to ensure accurate pronunciation.
Multi-language needs
Amazon Polly supports multiple languages with specific voices per language. Our API allows any of the eight voices to speak any of the 23 supported languages, including English, Spanish, German, French, and Japanese. This flexibility simplifies multi-region content automation, as you can use a single voice model across different language outputs.
Note that voice selection does not change based on language; Aria speaks English, Spanish, and Japanese with the same timbre. You must specify the ISO language code in the request to ensure correct pronunciation, as the API guesses the language from the script otherwise. Unsupported languages like Vietnamese or Thai require separate handling if needed.
Cost optimization strategies
Amazon Polly often requires provisioned concurrency or long-term commitments for high-volume news automation. Our model eliminates those monthly fees entirely, replacing fixed overhead with a straightforward per-character rate. You pay exactly for what you process, ensuring costs scale linearly with your content output rather than your infrastructure capacity.
Eliminating monthly fees
Switching removes the need for reserved instances or minimum spend commitments. Your billing is strictly tied to actual character consumption, simplifying budget forecasting for variable news cycles.
- Zero monthly base fees
- No reserved instance requirements
- Predictable per-character pricing at $10 per 1 million characters
Paying only for usage
Each request is charged only upon successful synthesis. Failed requests result in a full refund, ensuring you never pay for wasted compute cycles during peak load or queue delays.
- Charge per 1,000 characters ($0.01)
- Failed requests are free
- Balance does not expire
Trial credit utilization
Sign up with Google to receive $0.50 in credit, covering approximately 50,000 characters. Accounts created with email and password start without trial credit.
- $0.50 trial credit
- Valid for 7 days
- No credit card required
Testing the new API
To validate the switch, run parallel synthesis jobs using identical input texts against both Amazon Polly and our API. Compare the resulting audio files side-by-side to verify that voice characteristics match your news automation requirements without degradation.
Side-by-side generation
Use the same text payload for both services. Generate audio via the OpenAI-compatible SDK by pointing base_url to https://api.odin678.info/v1. This ensures you are testing the actual response shape and latency you will experience in production.
- Use identical input text for both services
- Point SDK
base_urltohttps://api.odin678.info/v1 - Compare latency and output consistency
Audio quality checks
Listen to the generated clips for clarity and natural intonation. Our voices (e.g., atlas for news) are designed for clear narration. Verify that the synthetic watermark is present but inaudible, confirming the file is correctly tagged as synthetic speech.
- Verify clarity and natural intonation
- Confirm synthetic watermark presence
- Check voice presets match news tone
Format compatibility
Test all supported formats: mp3, wav, opus, flac, and pcm. Ensure your downstream automation pipelines can ingest the specific format you choose. MP3 is typically sufficient for most news feeds, while WAV may be needed for broadcast workflows.
- Test mp3, wav, opus, flac, and pcm
- Verify downstream pipeline compatibility
- Select optimal format for use case
Handling legacy data
When migrating legacy data, you must reconcile historical text scripts with the new 4096-character request limit. Since our API processes text sequentially, large archives of news briefs or serialized content should be split into chunks that respect the per-request constraint while preserving narrative continuity. This ensures that previously generated audio segments can be re-generated or indexed correctly without exceeding the character ceiling during batch operations.
Migrating existing scripts
Review your existing text files and divide them into segments under 4096 characters. Use simple delimiter logic to preserve paragraph breaks, as our engine does not support SSML tags for structural control. This approach maintains the integrity of your content while adapting to the specific request shape of the TTS endpoint.
Ensure that any custom pronunciation guides or lexicons used in Polly are manually adjusted, as our voices rely on standard phoneme processing without a custom pronunciation dictionary.
- Split long texts into 4096-character chunks
- Preserve paragraph breaks using plain text
- Manually adjust custom pronunciations
Updating voice mappings
Map your legacy voice IDs to our eight presets based on tone and language. For example, map 'Salli' to 'aria' or 'nova' for clear, warm narration, and map 'Joey' to 'atlas' or 'milo' for neutral or conversational news delivery. This mapping should be stored in a configuration file for easy reference during future updates.
Verify that the language codes in your legacy data align with our supported ISO codes. If your scripts were language-agnostic, explicitly set the language field to avoid defaulting to English for non-English Latin text.
- Map 'Salli' to 'aria' or 'nova'
- Map 'Joey' to 'atlas' or 'milo'
- Store mappings in a config file
- Explicitly set
languagefor non-English text
Archive management
Decide whether to re-generate audio for all legacy content or archive the existing files. Since our API does not store generated audio indefinitely, you must download and store the new audio files yourself. Maintain a database linking each text segment to its corresponding audio URL and the voice preset used.
Keep a log of the generation timestamps and character counts for billing reconciliation. This helps in auditing costs and understanding the volume of data processed during the migration phase.
- Download and store audio files locally
- Link text segments to audio URLs
- Log generation timestamps and character counts
Deployment considerations
Switching from Amazon Polly requires adjusting your client-side logic to handle our stricter rate limits of 60 requests per minute per key. Since requests are processed sequentially, long texts split into parts may queue, increasing total generation time. Plan your batch sizes accordingly to avoid 429 errors during peak usage.
Error handling must account for our specific failure modes. Unlike Polly’s granular error codes, our API returns standard HTTP status codes. Ensure your integration retries on transient errors but respects the 60 RPM limit. Failed synthesis requests are refunded, so idempotency checks should verify balance adjustments rather than just audio file existence.
Rate limit adjustments
Our limit is 60 requests per minute per key, with a lower 10 RPM threshold for accounts without recent top-ups. Implement exponential backoff in your client libraries to handle throttling gracefully. For high-volume news feeds, consider splitting large articles into smaller segments that respect the 4096-character input limit, ensuring each segment generates within the queue window.
- Limit: 60 requests/minute/key (10 RPM pre-top-up)
- Sequential processing may introduce queue delays
- Split long texts to stay within the 4096-character limit
Error handling updates
Replace Polly’s specific error codes with generic HTTP status handling. Our API returns standard codes (200, 400, 401, 429, 500). Ensure your error handler distinguishes between authentication failures (401) and rate limits (429). Since failed requests are fully refunded, log the request ID to reconcile billing discrepancies if needed.
- Use standard HTTP status codes
- Retry on 429 with exponential backoff
- Log request IDs for billing reconciliation
Monitoring changes
Shift from monitoring Polly’s CloudWatch metrics to tracking our API’s response times and character counts. Monitor the request endpoint’s latency, as queueing can affect perceived speed. Track the ratio of successful vs. failed requests to optimize voice selection and text splitting strategies. Set up alerts for 429 errors to adjust batch sizes dynamically.
- Track response latency and queueing delays
- Monitor character count vs. request volume
- Alert on 429 errors to adjust batch size

Final validation steps
Before going live, verify that the API handles your expected peak load without hitting the 60 requests per minute rate limit. Short phrases may take a few seconds to generate, so monitor queue times to ensure your automation pipeline remains responsive under pressure.
Load testing
Simulate typical usage patterns by sending multiple requests concurrently. Monitor the response times to ensure they stay within acceptable bounds, especially for longer texts where splitting into 4096-character chunks might introduce slight delays.
- Send 50+ requests per minute to test limits.
- Measure generation time for 100+ character texts.
- Verify queue behavior during high concurrency.
User feedback collection
Gather feedback from a small group of users or internal testers regarding voice clarity and tone. Since our voices are based on licensed recordings, ensure the emotional tone matches your news content expectations before full deployment.
- Collect notes on voice suitability for news scripts.
- Check audio clarity across different languages.
Rollback plan
Keep your Amazon Polly configuration ready for immediate reversal if latency or quality issues arise. Ensure you have a quick way to switch back by maintaining your previous integration logic in parallel until stability is confirmed.
- Maintain old Polly credentials and endpoint configs.
- Document quick-switch steps for the dev team.
Support during migration
Migration support is strictly email-based, with no phone lines or live chat to distract from engineering workflows. Expect concise, technical responses to queries about API integration, voice selection, or billing discrepancies.
Email support access
All inquiries go through the contact page. We prioritize technical accuracy over speed, ensuring you get precise answers for complex migration scenarios.
- Email-only support channel
- No live chat or phone numbers
- Responses focus on API specifics
Documentation references
The /docs/ endpoint provides complete JSON schemas, curl examples, and rate limit details. Use these to verify your request bodies match our expected structure before going live.
- Complete API reference
- Ready-to-use curl examples
- Clear rate limit guidelines
Community resources
While we do not host forums, developers often share integration tips for the OpenAI-compatible SDK. Refer to the /about/ page for context on our indie positioning.
Common migration pitfalls
Migrating from Amazon Polly requires careful attention to specific technical details that often trip up indie developers. Avoiding common pitfalls ensures a smooth transition without unexpected audio artifacts or billing surprises.
This section highlights three frequent issues: language code mismatches, character counting errors, and format conversion problems, along with practical solutions for each.
Language code mismatches
Amazon Polly often infers language from voice selection, whereas our API requires explicit language ISO codes for non-English Latin text. Failing to set this can cause incorrect pronunciation or fallback to English defaults.
Ensure all voice presets support the target language. Our 8 voices speak all 23 supported languages, but explicit tagging prevents guessing errors.
- Explicitly set
languagefor non-English Latin scripts. - Verify voice support for your target language before migration.
Character counting errors
Our pricing counts spaces and punctuation as characters, just like Amazon. However, the 4096-character limit per request is strict. Unlike Polly’s chunking, you must split and join audio manually.
Use a pre-processing step to split long texts into 4096-character blocks before sending requests to avoid truncation or errors.
- Split text into 4096-character chunks.
- Count spaces and punctuation in your character limits.
Format conversion issues
Amazon Polly outputs MP3 or WAV, while our API supports MP3, WAV, OPUS, FLAC, and PCM. Ensure your downstream systems accept these formats.
Test audio playback compatibility across your stack. Generated files include an inaudible watermark, which is normal and does not affect playback.
- Verify downstream system compatibility with OPUS/FLAC.
- Accept inaudible synthetic watermarks as standard.
Post-migration optimization
Post-migration optimization focuses on maximizing efficiency and reliability once your integration is live. By refining how you handle text chunks and manage request queues, you can ensure consistent audio generation speeds and minimize wasted compute time during peak loads.
Leveraging the API’s straightforward character limits and speed controls allows for smoother scaling. Properly tuning your client-side logic to handle the 4096-character limit and rate limits prevents bottlenecks, ensuring your news automation pipelines run without interruption.
Caching strategies
Cache synthesized audio files for static content like article intros or recurring news tickers. Since generated audio is not stored server-side, local caching reduces repeated API calls for identical text, lowering costs and latency.
Use the response_format parameter to choose smaller file sizes (e.g., mp3 or opus) for cached versions, balancing quality and storage efficiency.
- Cache results for identical input text and voice combinations.
- Set expiration policies for time-sensitive news content.
- Store cached files locally or in object storage.
Batch processing
Split long scripts into parts of up to 4096 characters before sending requests. This ensures each request stays within limits and allows your application to process multiple segments concurrently.
Join the resulting audio files on the client side to create a single coherent output, maintaining synchronization and narrative flow.
- Split text at logical boundaries (sentences or paragraphs).
- Process segments in parallel where possible.
- Concatenate audio files client-side.
Queue management
Monitor the 60 requests-per-minute rate limit closely. Under load, requests may queue, so implement exponential backoff in your client to handle delays gracefully.
Adjust your speed parameter (0.25–4.0) to manage generation time if throughput becomes a bottleneck, keeping in mind that longer texts generate at roughly real-time speed.
- Implement retry logic with exponential backoff.
- Monitor rate limit headers if available.
- Adjust speed settings to balance throughput and latency.
Long-term benefits
The API’s usage-based model eliminates fixed monthly commitments, aligning costs directly with character volume. You pay $0.01 per 1,000 characters, with no minimum spend or seats to manage. Failed requests are refunded, ensuring you only cover successful synthesis.
Simplified billing
USDT (TRC-20) top-ups are processed automatically, removing invoice delays and VAT complexities. Balance never expires, allowing you to scale usage without re-negotiating contracts or tracking subscription renewals.
Faster iteration
Without long-term contracts, you can swap voices or models instantly. The identical request shape to OpenAI’s SDK allows quick integration tests, enabling rapid A/B testing of tones for news scripts without administrative overhead.
Lower overhead
Single key management and straightforward rate limits (60 req/min) reduce operational friction. No enterprise SLAs or data-center choices mean less infrastructure maintenance, letting your team focus on content automation rather than vendor management.
Listen to the 8 voices
Each sample below was generated by this API from the same sentence. The guide includes ready-to-use curl examples for immediate integration testing.
23 languages
Any voice speaks any of these languages.
