How Does Our TTS API Work for Localization?

By VoxBridge Team · Updated 2026-11-18

This page details how VoxBridge’s text-to-speech API integrates into localization workflows for large teams. We provide a reliable infrastructure designed to automate audio generation for global content, ensuring predictable costs and strict data privacy. By leveraging standard JSON requests and OpenAI-compatible SDKs, your engineering team can seamlessly connect existing content management systems to our API endpoint without adopting proprietary protocols.

Readers will find concrete guidance on handling high-volume requests, managing rate limits, and optimizing character usage for cost efficiency. You will learn how to select from eight voice presets across 23 languages, handle long texts via chunking, and implement robust error handling in your pipelines. This guide is tailored for agencies requiring consistent, scalable TTS infrastructure without enterprise overhead.

How Does Our TTS API Work for Localization?

Frequently asked questions

What is a TTS voice API?

It is a cloud service that converts text into audio files via a simple API call. You send text and receive an audio file, enabling automated audio generation for localization workflows without manual recording.

How do I send text to the API?

Send a POST request to https://api.playq36.com/v1/audio/speech with a JSON body containing your text, voice selection, and model. Use the standard OpenAI SDK by changing the base_url to our endpoint.

Can I control the voice speed?

Yes, you can adjust the speed between 0.25 and 4.0 using the speed parameter. This allows you to match pacing requirements for different localization contexts without needing external audio processing tools.

What formats can I download?

The API supports mp3, wav, opus, flac, and pcm output formats. Select the appropriate response_format in your request to ensure compatibility with your downstream media pipelines and editing software.

How does language detection work?

If the language parameter is omitted, the system guesses the language from the script. Latin text defaults to English, so you must explicitly set the language for non-English Latin-script text.

What is the character limit per request?

Each request accepts up to 4096 characters of input text. For longer texts, split the content into parts, generate audio for each, and join the resulting files in your pipeline.

How do I handle errors in my pipeline?

If synthesis fails, the request is free and the charge is returned. Monitor the response status to identify failures and retry or log them accordingly without incurring unnecessary costs.

Can I use the API for live dubbing?

No, we do not offer streaming or WebSocket support for real-time partial audio. Requests are processed sequentially, so there is latency suitable for batch processing but not live dubbing.

Can I use the API for WordPress?

We do not provide an official WordPress plugin. You can integrate the API into your WordPress site by writing custom code that calls our REST endpoint directly from your theme or plugin.

Is the API suitable for enterprise use?

We do not offer an SLA, uptime guarantee, or enterprise contracts. While it handles high volumes, there is no guaranteed uptime or dedicated support infrastructure compared to traditional enterprise service agreements.

How do I track API usage?

The dashboard on /get-api-key/ displays your balance, characters left, and usage history. Request metadata including time, characters, and status is retained for billing purposes and visible in your account.

What happens if the API is down?

Q: What happens if the API is down? A: There is no SLA or uptime guarantee. If the service is unavailable, you may experience delays or failures.

Can I use multiple voices in one project?

Yes, you can specify different voices for each request. Since each call generates a separate audio file, you can combine tracks from different voices by joining the resulting audio files.

How do I test the API for free?

Sign in with Google to receive $0.50 of credit valid for 7 days. This allows approximately 50,000 characters of generation. Email-based accounts start without trial credit.

Basic Request Structure

Sound wave illustration for: Basic Request Structure

VoxBridge’s localization API processes text-to-speech requests via a standard JSON payload. Your application sends the target text, desired voice preset, and optional language code to the endpoint. This structure mirrors common industry standards, allowing existing localization pipelines to adapt with minimal code changes.

JSON body with text and voice

The request body requires the input field for your text (up to 4096 characters) and the voice field selecting from eight presets like aria or atlas. You may also specify response_format (mp3, wav, opus, flac, pcm) and speed (0.25–4.0). The model parameter accepts either "tts-1" or "tts-1-hd", both using the same engine and pricing tier.

  • Required: input (string), voice (string), model ("tts-1" or "tts-1-hd")
  • Optional: response_format, speed, language (ISO code)

Authentication via Bearer token

Include your unique API key in the Authorization header as Bearer tts-.... Each account maintains one active key; generating a new key immediately invalidates the previous one. This ensures strict control over access for large teams managing multiple localization projects.

Endpoint URL configuration

Direct POST requests to https://api.playq36.com/v1/audio/speech. For teams using the official OpenAI SDKs, update the base_url to https://api.playq36.com/v1 to maintain compatibility with existing code structures without rewriting the integration logic.

Voice and Language Selection

Sound wave illustration for: Voice and Language Selection

VoxBridge provides eight distinct voice presets, including female options like Aria and Luna, and male voices such as Felix and Atlas. Each voice is engineered for specific localization contexts, from warm narration to energetic promotional content, ensuring consistent tone across global assets.

Choose from 8 voice presets

Select from eight licensed voices based on LibriTTS-R recordings. Options include warm narrators like Aria, bright upbeat voices like Nova, and neutral news readers like Atlas. All voices support the full range of 23 supported languages, allowing teams to maintain brand consistency regardless of target region.

  • Aria (warm, clear narrator)
  • Felix (energetic, promo)
  • atlas (neutral, news)
  • Orion (deep, documentary)

Set language via ISO code

Explicitly define the target language using an ISO code in the request body to ensure accurate synthesis. This is critical for non-English Latin-script text, where the API defaults to English. Supported languages include Arabic, Chinese, French, German, Japanese, Spanish, and others, covering major localization markets.

Automatic detection for Latin scripts

If the language field is omitted, the API guesses the language based on the script. Latin script text defaults to English. For accurate localization of languages like Dutch, Polish, or Turkish, always specify the ISO code to prevent misinterpretation and ensure correct pronunciation.

Audio Format Options

Sound wave illustration for: Audio Format Options

The API accepts requests for MP3, WAV, Opus, FLAC, or PCM audio. Format selection determines file size and compatibility. MP3 is standard for web playback. WAV provides uncompressed quality for broadcast masters. Opus offers high fidelity at low bitrates, making it efficient for delivery applications or platforms with strict bandwidth constraints.

MP3 for web delivery

Use response_format: mp3 for general web integration. Files are small and widely compatible with all modern browsers and audio players. This format is suitable for standard localization workflows where storage efficiency matters.

WAV for broadcast quality

Select response_format: wav for uncompressed audio. This ensures no data loss during processing. Ideal for broadcast masters or archival storage where peak audio quality is required for final delivery.

Opus for efficient delivery

Opus delivers high-quality audio at low bitrates, making it efficient for delivery applications or platforms with strict bandwidth constraints. It balances file size and clarity effectively for large-scale content distribution.

Handling Long Texts

Sound wave illustration for: Handling Long Texts

The API enforces a strict 4,096-character limit per request. For localization pipelines processing long scripts, clients must split input text into chunks that respect this boundary before sending each segment to the endpoint.

Split text into 4096 char chunks

Send each text segment individually. The system processes requests sequentially, so long scripts may experience queue delays if not managed efficiently. Each chunk generates a separate audio file.

Join audio files programmatically

After receiving the audio files, your infrastructure must concatenate them in the original order. This ensures the final audio matches the source text structure without manual intervention.

Use the speed parameter (0.25–4.0) to adjust pacing if the joined audio feels disjointed. Consistent speed settings across all chunks help maintain natural flow.

Maintain context across segments

Since each request is independent, the API does not retain memory between chunks. Your pipeline should handle context preservation, such as ensuring consistent voice selection and language settings across all segments.

Validate that the combined audio meets your quality control standards before storing it in your CDN or updating video assets.

Rate Limiting Strategies

Sound wave illustration for: Rate Limiting Strategies

Our API enforces a strict limit of 60 requests per minute per key, which shapes how localization teams structure their generation pipelines. Before your first top-up, this limit is reduced to 10 requests per minute, so new accounts should plan their initial batches accordingly.

Manage 60 requests per minute

Each API key processes requests sequentially. If your pipeline sends more than 60 requests in one minute, subsequent requests wait in a queue. This ensures consistent processing but may introduce latency during peak loads. Plan your batch sizes to stay within this threshold or accept the wait time.

Use multiple keys for scale

For high-volume agencies, generating audio for thousands of episodes requires parallelization. You can issue a new API key at any time; the previous key stops immediately. By distributing requests across multiple keys, you bypass the per-key rate limit and maintain steady throughput.

  • Issue a new key via the dashboard.
  • Rotate keys to reset the limit instantly.
  • Distribute load across active keys.

Monitor queue status

Requests are processed one after another. Under heavy load, a request may wait in the queue before synthesis begins. Monitor your response times to detect if your batch size exceeds the 60 requests/minute capacity. Adjust your concurrency levels based on observed latency.

Error Handling in Pipelines

Sound wave illustration for: Error Handling in Pipelines

Robust error handling ensures consistent audio generation pipelines for localization workflows. By implementing structured retry logic and precise status code validation, teams can maintain high throughput even when transient network issues or temporary synthesis failures occur during peak processing hours.

Retry failed requests

Implement exponential backoff for transient errors to prevent overwhelming the API during high-volume bursts. Since requests are processed sequentially under load, a failed synthesis may simply require a brief pause before retrying. Failed requests incur no charge, so retries do not impact your billing balance.

Ensure your pipeline distinguishes between temporary server errors (5xx) and permanent client errors (4xx). Only retry on temporary failures to avoid unnecessary API calls and wasted processing time.

  • Use exponential backoff for 5xx errors
  • Do not retry 4xx client errors
  • Retries are free if synthesis fails
  • Avoid retry loops for permanent failures

Check response status codes

Monitor HTTP status codes to determine the exact nature of each request outcome. A 200 OK indicates successful synthesis, while 400 errors indicate invalid parameters such as exceeding the 4096 character limit or using an unsupported voice. 429 Too Many Requests signal that you have hit the 60 requests per minute rate limit.

Handle 401 Unauthorized errors immediately by verifying your Bearer token or checking if the key has been rotated. This prevents silent failures in automated localization pipelines where audio assets are expected.

  • 200: Success
  • 400: Invalid parameters
  • 401: Unauthorized key
  • 429: Rate limit exceeded

Log errors for debugging

Maintain detailed logs of request payloads, status codes, and timestamps to facilitate rapid troubleshooting. This is essential for auditing localization batches and identifying patterns in synthesis failures, such as specific voices failing with certain language codes.

Log the input text length and selected voice to correlate errors with specific content segments. This data helps optimize text splitting strategies and voice selection for future localization projects.

  • Log request payloads and responses
  • Track status codes and timestamps
  • Record input text length
  • Audit synthesis failures by voice

Integration with CMS

Sound wave illustration for: Integration with CMS

Integrate VoxBridge into your localization pipeline by triggering TTS requests when content is published. Send the text payload to the API endpoint, receive the audio file, and store it in your CDN. This automation ensures consistent audio delivery for global content without manual intervention.

Trigger TTS on content publish

Configure your CMS to call the API upon content publication. Pass the localized text and voice preset to generate audio instantly. This ensures that every new piece of content has synchronized audio ready for distribution.

  • Automate request submission on publish events
  • Pass voice and language parameters dynamically
  • Receive audio file in response body

Store audio in CDN

Immediately upload the generated audio file to your Content Delivery Network (CDN). This ensures low-latency delivery to end-users globally. Store the audio URL in your CMS for easy retrieval during video assembly.

Update video assets automatically

Replace or update video tracks with the newly generated audio. Your pipeline can automatically swap the audio track, ensuring that localized versions are ready for distribution without manual re-encoding or file management.

Integration with CMS

Quality Control Measures

Sound wave illustration for: Quality Control Measures

Quality control ensures that synthesized audio meets the specific requirements of localization pipelines. By validating voice selection, speed, and language accuracy, teams can maintain consistency across large-scale dubbing projects without manual re-listening of every file.

Listen to sample outputs

Generate short test clips using the GET /v1/voices endpoint to verify voice characteristics before full-scale deployment. Use the free trial credit to evaluate how each preset performs with your specific content type.

  • Test all 8 voice presets against sample localization text.
  • Verify audio clarity at standard speed (1.0x).
  • Check watermark presence for synthetic identification.

Check speed and pitch

Adjust the speed parameter between 0.25 and 4.0 to match the pacing of the original video. Faster speeds may reduce naturalness, while slower speeds can improve clarity for technical content.

  • Set speed to 1.0 for natural narration.
  • Use 1.25x–1.5x for fast-paced promotional content.
  • Use 0.75x for complex instructional material.

Validate language accuracy

Explicitly set the language field using ISO codes to prevent incorrect guessing, especially for Latin-script languages other than English. This ensures the correct pronunciation for Arabic, Chinese, or Hindi.

  • Set language for non-English Latin scripts.
  • Verify support for all 23 languages.
  • Avoid unsupported languages like Vietnamese or Thai.

Security and Keys

Sound wave illustration for: Security and Keys

Each account maintains a single active API key. Issuing a new key immediately invalidates the previous one, ensuring strict access control for your team.

Rotate keys regularly

Generate a new key whenever you suspect exposure or when rotating team credentials. The old key stops working instantly, preventing unauthorized usage from leaked secrets.

  • Issue a new key via the dashboard
  • Old key invalidates immediately
  • Simple replacement workflow

Use environment variables

Store the Bearer token in your build environment or CI/CD pipeline variables. This prevents hardcoding credentials in source control and keeps keys out of version history.

Secure key storage

Restrict access to the key within your infrastructure. Since only one key is active, ensure your deployment targets use the correct, updated credential to avoid service interruption.

Cost Management

Sound wave illustration for: Cost Management

VoxBridge charges $0.01 per 1,000 characters, with spaces and punctuation included in the count. Failed requests are fully refunded, ensuring you pay only for successful synthesis. The balance never expires, and top-ups via USDT (TRC-20) are credited automatically within minutes, supporting predictable budgeting for high-volume localization pipelines.

Track character usage

Monitor your account dashboard to view real-time character consumption. Each API call’s metadata records characters processed, allowing precise cost attribution per project or language pair. This visibility helps teams forecast expenses for upcoming dubbing batches without guesswork.

  • View total characters used vs. remaining balance.
  • Track failed requests for zero-cost reconciliation.
  • Export usage logs for internal billing audits.

Monitor API spending

Since there are no monthly plans or minimum spends, costs scale linearly with volume. Use the dashboard to set alerts for balance thresholds. Top-ups via TRON network ensure continuous operation without service interruption during peak localization periods.

Optimize text length

Text is limited to 4,096 characters per request. Split longer scripts programmatically to maximize parallel processing efficiency. Avoid redundant phrasing that inflates character counts without adding value, as every character directly impacts the $0.01/1k rate.

Technical Support Channels

Sound wave illustration for: Technical Support Channels

VoxBridge relies exclusively on email support for all technical inquiries. There is no phone number or live chat available for direct voice assistance. Teams should direct specific integration questions or billing discrepancies to our support address for detailed written responses.

Our documentation serves as the primary troubleshooting resource, covering endpoint structures, error codes, and integration examples. It is designed to resolve common issues without requiring human intervention, allowing localization engineers to debug pipelines efficiently during high-volume processing cycles.

Email support for issues

For complex cases requiring human review, our support team responds via email. This channel is suitable for detailed technical questions, account-specific anomalies, or disputes regarding character usage charges. Please include your API key and request logs to accelerate resolution.

Note that we do not offer real-time conversation support. Responses are provided asynchronously, ensuring that each issue receives thorough attention from engineers familiar with the TTS infrastructure and localization workflows.

  • No phone number or live chat available
  • Async email responses for technical and billing issues
  • Include API key and logs for faster resolution

Documentation for troubleshooting

The documentation provides comprehensive guides for integrating with popular CMS platforms and managing audio assets. It details the JSON request structure, authentication methods, and expected response formats for all supported endpoints.

Use the provided curl examples and SDK instructions to verify your implementation. The guide covers common error scenarios, such as rate limits and invalid voice parameters, helping teams maintain smooth automation pipelines.

  • End-to-end integration guides
  • Curl examples and SDK instructions
  • Common error code explanations

API status page

While we do not offer a formal SLA or uptime guarantee, our API status page provides real-time visibility into system health. Teams can monitor request processing times and general service availability to anticipate potential delays during peak usage.

This page helps localization agencies plan their audio generation schedules and identify whether delays are caused by internal queueing or broader infrastructure issues, ensuring transparency in high-volume operations.

  • Real-time system health visibility
  • No formal SLA or uptime guarantee
  • Monitor processing times and availability

Future Scalability

Sound wave illustration for: Future Scalability

As your agency’s content volume grows, the API infrastructure scales to handle increased request loads without requiring architectural changes. You can manage throughput by distributing requests across multiple API keys, leveraging the 60 requests per minute limit per key to maintain steady processing speeds during peak localization campaigns.

Add new voices as needed

The current eight presets cover most standard localization needs. New voice presets can be integrated into the API without disrupting existing integrations, ensuring your audio output remains consistent with brand guidelines as standards evolve.

Expand to more languages

While we currently support 23 languages, the system is designed to accommodate additional linguistic datasets. As new voice models are trained and licensed, they will be available via the /v1/voices endpoint, allowing your agency to expand into new markets seamlessly.

Increase request volume

To handle higher volumes, simply issue additional API keys. Each key operates independently with its own 60 requests per minute limit. This allows your team to parallelize synthesis jobs, reducing overall latency for large-scale dubbing pipelines without waiting for queue delays on a single key.

  • Issue new keys via the dashboard for immediate scaling
  • Distribute load across keys to bypass single-key limits
  • Monitor usage stats to optimize key allocation

Listen to the 8 voices

Each sample below was generated by this API from the same sentence. Our platform simplifies complex localization workflows for large teams managing global media assets.

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. FFmpeg documentation
  3. MDN: Web Speech API
  4. Creative Commons Attribution 4.0
  5. openai-python on GitHub
  6. W3C WAI: making audio and video accessible
  7. Tether (USDT)
  8. OpenAI API reference: create speech
  9. TRON developer hub: TRC-20
  10. Node.js documentation
  11. curl documentation
  12. openai-node on GitHub

More on this site