How Does Our Documentary TTS API Work for Narration?

By Sonix editorial team · Updated 2026-11-19

This page explains how our cloud-based TTS API automates narration for documentary-style video production. We provide a reliable, high-volume endpoint that handles character limits and language nuances, allowing your agency to keep production pipelines consistent and efficient without manual intervention.

Readers will find concrete details on input submission, audio synthesis, and delivery workflows. You will also learn how to select from eight voice presets, integrate via standard REST APIs, and understand the technical constraints like queue times and character caps that affect your final deliverables.

How Does Our Documentary TTS API Work for Narration?

Frequently asked questions

What is a TTS API?

A TTS API is a cloud service that converts text into audio files via HTTP requests. You send a JSON payload to our endpoint, and we return the synthesized audio. This allows you to integrate narration directly into your production software without manual file handling or waiting for human voice actors.

How is a TTS API different from a TTS app?

Unlike a standalone app, our API is designed for automation and high-volume processing. You control the input text, voice selection, and output format programmatically. This ensures consistent quality and speed for documentary pipelines, whereas apps are typically manual and limited to single-user interfaces.

Can a TTS API produce documentary quality audio?

Yes. Our voices like Orion (deep, documentary) and Atlas (neutral, news) are optimized for narration. They are based on licensed recordings from LibriVox. The audio is clear, professional, and suitable for long-form content, provided you select the appropriate voice preset for your narrative style.

What are the technical requirements for using a TTS API?

You need an API key and the ability to send HTTP POST requests. We support the OpenAI SDK format, so existing libraries work by changing the base URL. You must handle text splitting for inputs over 4096 characters and manage the JSON response containing your audio file.

How do I choose the right voice for my documentary?

Select from eight presets based on tone. Use Orion for deep, documentary narration or Atlas for neutral news. Felix offers energetic promo styles, while Luna provides soft storytelling. Match the voice to your script’s mood to maintain audience engagement and narrative consistency throughout your video project.

Is the audio generated by the API royalty-free?

The underlying voice models are based on LibriTTS-R (CC BY 4.0) and LibriVox public-domain readings. You pay for the synthesis service, not licensing fees. The generated audio files are yours to use in your projects.

Can I use the API for commercial projects?

Yes. Our API is designed for agencies and commercial production pipelines. You pay per character used, with no minimum spend or subscription required. Generated audio can be used in commercial videos, podcasts, or online stores, provided you adhere to our terms of service and rate limits.

How does the API handle punctuation in text?

Punctuation affects pacing and intonation. Spaces and punctuation count as characters in your billing. The engine interprets standard punctuation for natural pauses. For precise control, structure your input text clearly, as the API does not support SSML tags for advanced prosody adjustments.

What is the latency of the API?

Generation takes roughly real time, about 25 characters per second. Short phrases may take a few seconds. Under load, requests queue, potentially increasing wait times. Plan your pipeline accordingly, as processing is sequential, and longer texts require splitting and joining audio segments.

Do I need programming skills to use the API?

Basic programming knowledge is helpful for automation. You can use the OpenAI SDK or plain HTTP requests. However, you can also use tools like Postman or cURL to test endpoints. For full integration into video editing workflows, some scripting is typically required to handle file I/O.

Can I integrate the API with video editing software?

Yes, via automation. Generate audio files using the API, then import them into your editing software. You can script the generation process to match video timelines. While we do not offer a direct plugin, the file-based output integrates seamlessly with most NLEs.

How does the API handle multi-language content?

We support 23 languages. Any voice can speak any supported language. If the language is not specified, it guesses from the script. For non-English Latin text, explicitly set the language parameter to ensure accurate pronunciation and avoid incorrect language detection errors.

What is the difference between tts-1 and tts-1-hd?

Both models use the same engine and have identical pricing. The distinction is purely for compatibility with the OpenAI SDK format. You can use either model ID in your requests without any difference in quality, speed, or cost, ensuring easy migration if needed.

Are there limits on the number of requests?

Yes, you are limited to 60 requests per minute per API key. New accounts start with 10 requests per minute. If you exceed this, requests may queue. Top-ups increase your balance, but the per-minute limit remains a hard constraint to ensure system stability.

How do I handle errors during generation?

Failed requests are free, and the charge is returned in full. Check the HTTP status code in the response. Common errors include invalid input or rate limits. Implement retry logic in your script to handle transient network issues or temporary server congestion during peak hours.

Is the API secure for sensitive content?

Input text is used only for synthesis and not stored for training. Generated audio is returned in the response and not stored on our servers. Request metadata is kept for billing. Your content remains private, as we do not retain the audio files after delivery.

Can I customize the voice tone?

You cannot adjust fine-grained tone parameters like emotion or pitch. You can only select from eight preset voices and adjust the speed between 0.25 and 4.0. Each voice has a fixed character, such as calm for Sage or energetic for Felix, which you cannot modify further.

Does the API support streaming audio?

No. The API returns complete audio files in the response. There is no WebSocket or streaming endpoint for real-time partial audio. You must wait for the full file to be generated before you can process or play it in your production pipeline.

What happens if the server is down?

We do not offer an SLA or uptime guarantee. If the server is down, requests will fail. You will not be charged for failed requests. You can monitor our status or retry after a short delay, but there is no guaranteed recovery time.

How do I track my API usage?

Log in to your account dashboard to view your balance, characters used, and request history. The dashboard displays your current key and usage statistics. You can also track billing details, as request metadata including time, characters, and status are retained for your records.

Definition of TTS API

Sound wave illustration for: Definition of TTS API

Our TTS API converts written text into spoken audio through cloud-based synthesis. You submit text via a standard HTTP request, and the service returns an audio file without requiring manual intervention or complex infrastructure setup.

Access is entirely programmatic, designed for automated workflows. Agencies integrate the API directly into their production pipelines to generate narration at scale, ensuring consistent delivery without human bottlenecks.

Text to Speech Technology

The core technology maps input characters to audio waveforms. We support two model versions, "tts-1" and "tts-1-hd," which use the same underlying engine and pricing structure. This allows you to generate speech programmatically without managing separate model deployments.

  • Supports 23 languages including English, German, and Japanese
  • Handles up to 4096 characters per request
  • Outputs in MP3, WAV, OPUS, FLAC, or PCM

Cloud-Based Processing

All synthesis happens on our servers. Your system sends a JSON payload to the endpoint, and we handle the computation. This keeps your local resources free for editing and rendering while we manage the audio generation load.

  • No local GPU or CPU requirements
  • Automatic handling of long texts via splitting
  • Real-time availability for immediate generation

Programmatic Access

The API uses a standard REST structure compatible with OpenAI SDKs. You simply adjust the base URL to https://api.playtha555.cc/v1 and use your API key. This enables seamless integration into existing scripts used for other TTS services.

  • Standard JSON request body
  • Bearer token authentication
  • Compatible with official OpenAI SDKs

How It Works

Sound wave illustration for: How It Works

The API accepts raw text via a simple POST request, with a strict limit of 4096 characters per input. This constraint ensures consistent processing times and allows agencies to manage large scripts by splitting them into manageable segments before submission.

Input Text Submission

Submit your narration script as a JSON body to the speech endpoint. You specify the model, voice preset, and desired audio format. The system validates the input immediately, rejecting requests that exceed character limits or contain unsupported parameters.

Audio Synthesis Process

Once submitted, the request enters a queue. Under load, requests are processed sequentially, which may introduce delays for high-volume batches. The engine synthesizes the audio using licensed recordings, applying the selected voice and speed settings.

Audio File Delivery

The completed audio file is returned directly in the response. Formats include MP3, WAV, OPUS, FLAC, or PCM. If synthesis fails, the charge is reversed, ensuring you only pay for successful deliveries without storage overhead for generated files.

Benefits for Agencies

Sound wave illustration for: Benefits for Agencies

Agencies generating documentary content face fluctuating production volumes. Our API handles bulk requests without manual intervention, allowing your pipeline to scale from a single short film to series-length output seamlessly.

The cloud-based infrastructure processes requests sequentially, which may introduce delays under load. This reliability means your narration workflow remains automated and predictable, regardless of project size.

Scalability

The API accepts standard JSON payloads, making it easy to integrate into existing automation tools. You can submit texts up to 4,096 characters per request; you must split and join longer scripts yourself.

With a rate limit of 60 requests per minute per key, you can process substantial volumes quickly. For larger projects, splitting text into segments allows parallel processing where needed.

  • Supports up to 4,000 characters per request
  • Automatic splitting and joining for longer texts
  • 60 requests per minute per key

Consistency

Voice presets like 'atlas' for news or 'orion' for documentaries ensure a uniform tone across all episodes. This consistency is critical for brand identity in long-form content.

Since voices are based on licensed recordings, the audio quality remains stable. The inaudible watermark marks synthetic speech, maintaining transparency without affecting the listening experience.

  • 8 predefined voice presets
  • Uniform tone across episodes
  • Inaudible synthetic watermark

Cost Efficiency

Pricing is straightforward: $10 per million characters. Failed requests are free, so you only pay for successful synthesis. This model eliminates waste and keeps production costs predictable.

Start with a $0.50 trial credit valid for 7 days. Top-ups via USDT (TRC-20) are credited automatically within minutes, with no monthly subscriptions or minimum spends.

  • $10 per million characters
  • Free failed requests
  • No monthly subscriptions

Voice Selection Process

Sound wave illustration for: Voice Selection Process

Selecting the right voice ensures your documentary narration matches the content’s tone. Our API offers eight distinct presets designed for various narrative styles, from warm narration to deep documentary tones.

Each voice is based on licensed recordings, providing a consistent and professional sound. Agencies can choose voices that align with their brand’s audio identity without needing complex customization.

Predefined Voice Presets

We offer eight voice presets tailored for documentary-style content. These include options like Aria, a warm narrator, and Orion, a deep documentary voice. Each preset is a distinct voice style.

The voices are designed to handle long-form content effectively. They maintain consistent tone and pacing, ensuring that your narration remains engaging throughout the video.

  • Aria: Warm, clear narrator
  • Nova: Bright, upbeat
  • Luna: Soft, storytelling
  • Sage: Calm, instructional
  • Felix: Energetic, promo
  • Milo: Friendly, conversational
  • Atlas: Neutral, news
  • Orion: Deep, documentary

Matching Tone to Content

Choose a voice that complements your documentary’s theme. For historical documentaries, a neutral voice like Atlas might be ideal. For contemporary topics, a bright voice like Nova could enhance the content.

Consider the emotional tone of your script. A soft voice like Luna can create a intimate atmosphere, while an energetic voice like Felix might suit fast-paced segments.

Gender and Style Options

Our API provides both male and female voices, allowing you to diversify your narration. Female voices like Aria and Luna offer warmth, while male voices like Orion provide depth.

Each voice has a unique style, from instructional to conversational. This variety helps you match the voice to the specific segment of your documentary, enhancing the overall listening experience.

Technical Integration

Sound wave illustration for: Technical Integration

We provide a standard REST API accessible via POST https://api.playtha555.cc/v1/audio/speech. The endpoint accepts JSON bodies with the same shape as the OpenAI speech format, enabling immediate integration with existing pipelines by changing the base URL.

Developers can utilize official OpenAI SDKs by simply updating the base_url to our API domain. This allows agencies to leverage familiar libraries for authentication and request handling, reducing boilerplate code during implementation.

REST API Structure

The API exposes POST /v1/audio/speech for generation and GET /v1/voices for metadata. Requests require a Bearer token in the Authorization header, ensuring secure programmatic access to the synthesis engine.

SDK Compatibility

Standard OpenAI SDKs work directly after configuring the base URL. This compatibility supports rapid prototyping in Python, Node.js, and other environments without learning a new client library.

Authentication is handled via a single active API key per account, which can be rotated instantly if compromised, maintaining security without service interruption.

Data Format Requirements

Inputs must include model (tts-1 or tts-1-hd), input (text under 4096 characters), voice, and response_format. Optional fields like speed (0.25–4.0) allow fine-tuning of narration pace for documentary timing.

Supported output formats include mp3, wav, opus, flac, and pcm, ensuring compatibility with various video editing software and archiving standards used in production.

Use Cases in Documentary

Sound wave illustration for: Use Cases in Documentary

The API enables agencies to generate consistent narration for documentary scripts by sending text via POST requests. Each segment under 4,096 characters is synthesized into high-quality audio, allowing for seamless pipeline integration. This method ensures that voice tones remain uniform across long-form content without manual editing.

Multi-language dubbing is achieved by specifying the optional ISO language code alongside the desired voice preset. The system supports 23 languages, enabling agencies to produce localized versions of their documentaries efficiently. This capability removes the need for separate recording sessions for different regional markets.

Narration Generation

Agencies submit documentary scripts through the API, receiving synthesized audio files that match the specified voice preset. The process handles character limits automatically, splitting longer texts into manageable segments. This ensures consistent pacing and tone throughout the final video.

The generated audio files are delivered directly in the response, ready for immediate integration into the editing timeline. With support for formats like MP3 and WAV, production teams can maintain high fidelity while keeping file sizes manageable for efficient storage and transfer.

  • Automated splitting of long scripts
  • Consistent voice tone across episodes
  • Direct integration with editing software

Multi-Language Dubbing

By setting the language parameter, agencies can generate dubs in 23 supported languages. Each voice preset can speak any of these languages, allowing for flexible casting decisions. This feature is ideal for reaching global audiences without hiring multiple voice actors.

The API guesses the language from the script if not specified, but explicit codes ensure accuracy for non-English Latin scripts. This reduces errors in dubbing projects where subtle linguistic nuances are critical for viewer engagement and comprehension.

  • Support for 23 languages
  • Flexible voice casting
  • Accurate language detection

Rapid Prototyping

Agencies can quickly generate audio samples to test narration styles before committing to full production. This rapid feedback loop allows for adjustments in voice selection or pacing without significant time investment. It is particularly useful for pitching concepts to clients or stakeholders.

The ability to instantly receive audio files from text submissions accelerates the pre-production phase. Teams can iterate on script versions and voice choices efficiently, ensuring the final product aligns with the creative vision before final recording or editing begins.

  • Quick audio sampling
  • Iterative script testing
  • Client pitch preparation

Quality Considerations

Sound wave illustration for: Quality Considerations

Quality is defined by reliable synthesis and clear audio output. Our API delivers studio-grade files with an inaudible watermark to mark synthetic speech. You choose the format that fits your editing workflow without compromising the core audio integrity.

We provide multiple fidelity options. Users can select from mp3, wav, opus, flac, or pcm formats. This ensures compatibility with professional non-linear editing systems and archival standards used in documentary production.

Synthetic Watermarking

Every generated audio file carries an inaudible watermark. This marks the content as synthetic speech, providing transparency for editorial standards. It helps distinguish AI-generated narration from human-recorded audio in your final cut.

Audio Fidelity Options

You control the output format. Choose mp3 for web, wav for standard editing, or flac for lossless quality. The tts-1-hd model uses the same engine as tts-1 but incurs the same price.

  • mp3: Standard compression for web delivery
  • wav: Uncompressed standard for editing
  • flac: Lossless compression for archival
  • opus: Efficient streaming format
  • pcm: Raw uncompressed data

Human Listening Experience

Voices are based on licensed recordings from LibriTTS-R and LibriVox. They sound natural and clear, avoiding robotic monotony. The eight presets range from warm narrators to deep documentary tones, allowing you to match the emotional weight of your scripts precisely.

Limitations to Know

Sound wave illustration for: Limitations to Know

Understanding the operational constraints of the API ensures your production pipeline remains predictable. While the system handles high-volume narration efficiently, specific technical boundaries affect how text is processed and delivered.

Character Limits

Each API request accepts up to 4,096 characters of input text. For longer documentary scripts, you must split the text into chunks and join the resulting audio files. This approach maintains consistency but requires your integration to handle concatenation.

No SSML Support

The API does not support Speech Synthesis Markup Language (SSML). You cannot inject custom pauses, emphasis, or pronunciation rules via XML tags. Voice selection relies on the eight predefined presets to establish tone, with no fine-grained control over prosody within a single request.

Queue Times Under Load

Requests are processed sequentially. Under heavy load, a request may wait in a queue before synthesis begins. While typical speed is roughly real-time, short phrases can take a few seconds. Plan your batch processing to avoid latency spikes during peak usage.

Comparison to Human Narrators

Sound wave illustration for: Comparison to Human Narrators

Comparing our TTS API to human narration reveals distinct trade-offs in speed, cost, and consistency for documentary agencies. While humans provide nuanced emotional delivery, our synthetic voices offer immediate scalability and predictable pricing structures that streamline high-volume production pipelines.

The following breakdown highlights how automated synthesis compares to traditional voice casting in terms of turnaround time, per-character expenses, and uniform delivery across long-form content.

Speed Comparison

Human narration requires casting, recording sessions, and editing, often taking days. Our API generates audio in near real-time; typical speed is roughly 25 characters per second of generation. Short phrases take a few seconds, while longer texts are processed sequentially, potentially waiting in a queue under load but still delivering faster than manual production cycles.

  • API: Seconds to minutes per request
  • Human: Days for casting and editing

Cost Comparison

Human narrators charge per hour or per finished minute, with minimum session fees. Our API costs $0.01 per 1,000 characters, making it significantly cheaper for high-volume scripts. Failed requests are free, ensuring you only pay for successful audio generation without hidden studio costs.

  • API: $0.01 per 1,000 characters
  • Human: Hourly or per-minute rates with minimums

Consistency Comparison

Human voices can vary slightly between sessions due to fatigue or environment. Our synthetic voices maintain identical tone, pace, and quality across thousands of requests. This consistency ensures that episodic documentary series sound uniform without requiring re-recording for minor script changes.

Data Privacy Aspects

Sound wave illustration for: Data Privacy Aspects

Our API treats your input text as a transient asset. The text is processed solely to generate the audio file and is not retained for training purposes. This ensures that your script content remains exclusive to your production workflow.

Generated audio files are returned in the response and not stored on our servers. We keep request metadata—such as timestamp, character count, and status—strictly for billing and usage verification. This minimal data retention supports transparent invoicing without compromising your creative assets.

Input Text Storage

Input text is used only to produce the audio and is not used for training. The payload is processed in memory to generate the WAV, MP3, or OPUS file and is not archived in our long-term storage.

This approach ensures that your documentary scripts remain proprietary. Unlike some providers that use input data to refine their models, we guarantee that your specific narration content does not contribute to our training dataset.

Training Data Usage

We do not use your input text to train our TTS models. Your scripts are processed on-demand and then discarded after synthesis.

This distinction is critical for agencies producing unique documentary narratives. It means your voice’s stylistic choices in your scripts are not aggregated into a shared training pool that could influence future generations for other clients.

Generation Retention

Generated audio is returned in the response and not stored. Once you receive the audio file, we do not retain a copy on our servers.

Request metadata (time, characters, status) is kept for billing purposes only. This allows us to verify usage for your account balance without storing the actual creative output.

This minimal retention policy ensures that your generated audio assets remain under your control, with no hidden copies held in our infrastructure.

Future Developments

Sound wave illustration for: Future Developments

Our API roadmap focuses on incremental enhancements rather than disruptive shifts. We prioritize stability and accuracy for documentary workflows over experimental features. Updates are deployed silently to ensure your production pipeline remains uninterrupted. Future models will refine naturalness while maintaining the consistent tone agencies require.

We do not promise specific release dates or major architectural changes. Development is driven by observed usage patterns and infrastructure scaling needs. This approach ensures that any improvements directly benefit high-volume narration tasks without introducing new variables to your integration.

Voice Variety Expansion

We are evaluating additional voice presets to cover niche documentary styles, such as historical narration or scientific explanation. These will remain within our existing eight-voice framework to ensure quality consistency.

New voices will undergo the same licensing and watermarking processes as current presets. We aim to add variety without fragmenting the user experience or increasing complexity for agency integrations.

  • Additional preset evaluation based on agency feedback
  • Maintained licensing standards for new voices
  • No custom voice cloning at this stage

Language Support Growth

Current support covers 23 languages. Vietnamese, Indonesian, and Thai are currently not supported.

Each new language will include all eight voice presets to maintain tonal consistency across regions. We will continue to rely on the same underlying engine for uniformity.

  • Adding Vietnamese, Indonesian, and Thai to the list
  • All voices support new languages equally
  • No change to the 23-language base model

Model Improvements

Upgrades will focus on reducing queue times during peak loads and improving synthesis speed for longer texts. We aim to keep the real-time generation ratio stable.

Audio fidelity options (mp3, wav, opus, flac, pcm) will remain unchanged. Improvements will be internal to the engine, ensuring backward compatibility with existing API requests.

No SSML, streaming, or custom pronunciation dictionaries are planned. We stick to simplicity and reliability for automated pipelines.

  • Optimized queue processing under load
  • Stable generation speed per character
  • No changes to response formats or SDK compatibility

Listen to the 8 voices

Each sample below was generated by this API from the same sentence. 'sage' serves as a calm, instructional guide for educational documentaries.

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. LibriVox public-domain audiobooks
  3. Node.js documentation
  4. MDN: Web Speech API
  5. FFmpeg documentation
  6. Python documentation
  7. IETF RFC 7845: Ogg Opus
  8. LibriTTS-R corpus (OpenSLR 141)
  9. TRON developer hub: TRC-20
  10. OpenAI API reference: create speech
  11. Tether (USDT)
  12. W3C WAI: making audio and video accessible

More on this site