How Does Our Cloud Text-to-Speech API Convert Text to Audio?

By Narrative Metrics editorial team · Updated 2026-11-19

This page explains how Narrative Metrics converts text into audio via our cloud API, tailored for indie authors and small production studios. You will learn the technical workflow from character encoding to final audio delivery, understanding exactly how our neural models process your input.

We cover practical use cases in publishing, such as audiobook generation and video narration, alongside key benefits like reduced production costs and scalable content creation. Read on to see how transparent character-based pricing and technical precision fit into your self-publishing workflow.

How Does Our Cloud Text-to-Speech API Convert Text to Audio?

Frequently asked questions

What is text-to-speech technology?

Text-to-speech (TTS) is a cloud API that converts written text into audio files. You send a POST request with your text, and the service returns synthesized speech. It supports formats like mp3, wav, opus, flac, and pcm, allowing seamless integration into your publishing or video production workflows without manual recording.

How does TTS differ from human voice-overs?

TTS generates audio instantly via software rather than recording human actors. Our voices are based on licensed recordings from LibriVox, carrying an inaudible synthetic watermark. Unlike human voice-overs, TTS offers consistent quality, immediate delivery, and scalable character-based pricing without the need for studio booking or editing sessions.

Is TTS suitable for audiobooks?

Yes, our API is designed for audiobooks and long-form content. You can split texts into 4096-character chunks and join the resulting audio files. With speeds up to 4.0x and clear voices like Aria or Luna, it supports efficient production for indie authors and small studios needing scalable narration.

Can I use TTS for commercial videos?

Yes, the generated audio is ready for commercial use in videos. Each file carries an inaudible watermark marking it as synthetic speech. You pay only for characters used, with no monthly fees or seat limits, making it cost-effective for high-volume video production and content creation workflows.

How realistic is the generated voice?

Voices like Aria and Nova offer warm, clear narration based on licensed LibriTTS-R recordings. While synthetic, they provide natural intonation and clarity. The audio is generated via cloud API, ensuring consistent quality across all outputs without the variability of human performance or studio acoustics.

What languages are supported?

We support 23 languages including English, Spanish, French, German, Japanese, and Chinese. Any voice can speak any supported language. If the language is not specified, it is guessed from the script, though setting it explicitly ensures accuracy for non-English Latin-script texts like French or German.

Do I need technical skills to use it?

Basic technical skills are helpful but not required. You can use the OpenAI SDK by changing the base URL or send simple HTTP requests. Our documentation provides ready curl examples, and the /get-api-key/ page shows your key and balance, making integration straightforward for developers and non-developers alike.

How is the audio quality?

Audio quality is high, with options for mp3, wav, opus, flac, and pcm. The tts-1-hd model uses the same engine as tts-1. Voices are based on licensed recordings, ensuring professional-grade narration suitable for audiobooks, videos, and presentations without the need for additional post-production sound engineering.

Can I edit the generated audio?

Yes, you receive standard audio files (mp3, wav, etc.) that can be edited in any audio software. Since the API returns complete audio segments, you can trim, mix, or adjust them in your preferred editor. This flexibility allows you to refine pacing and integrate audio into larger projects.

Is the voice robotic?

The voices are natural and expressive, based on licensed recordings from LibriVox. They avoid the stiff, monotone quality of older TTS systems. While synthetic, they offer warm, clear narration with appropriate intonation, making them suitable for professional audiobooks and video voice-overs without sounding distinctly mechanical or artificial.

How long does it take to generate audio?

Generation takes roughly real time on long texts, about 25 characters per second. Short phrases may take a few seconds. Requests are processed sequentially, so under load, a request may wait in a queue. This ensures consistent quality and accurate pacing for your audio outputs.

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

Both models use the same engine and price ($0.01 per 1,000 characters). The tts-1-hd model uses the same engine as tts-1. Choose tts-1 for standard narration or tts-1-hd for projects requiring superior audio fidelity, such as high-end audiobooks or professional video voice-overs.

Can I change the voice mid-sentence?

No, each API request generates audio for a single voice preset. To change voices, you must send separate requests for each segment and join the audio files. This allows precise control over narration styles, though it requires managing multiple requests for complex multi-voice productions.

Is the service available worldwide?

Yes, the API is accessible globally via HTTPS. You can generate audio from anywhere with internet access. Support is available in 23 languages, and billing is handled via USDT on the TRON network, ensuring wide accessibility for international indie authors and production studios without regional restrictions.

What Is a Text-to-Speech API?

Sound wave illustration for: What Is a Text-to-Speech API?

A Text-to-Speech API is a cloud-based service that converts written text into audible speech files. Instead of hiring voice actors for every project, indie authors and small studios send text to our servers and receive an audio file, such as MP3 or WAV, ready for immediate use in their workflows.

Cloud-based voice generation service

Our engine processes your input on remote servers, eliminating the need for local hardware or software installations. You simply connect via the internet, and the service handles the complex neural network processing required to generate high-quality audio from your script.

Text input to audio output conversion

The system takes your raw text, up to 4096 characters per request, and synthesizes it into natural-sounding speech. It supports 23 languages, automatically detecting the language from the script or allowing you to specify it explicitly, ensuring accurate pronunciation for global audiences.

Programmatic access via HTTP requests

Integration is straightforward using standard HTTP POST requests. You send a JSON body containing your text, chosen voice, and desired format to our endpoint. The service returns the audio file directly, making it easy to automate audiobook production or video narration pipelines.

How Synthesis Works

Sound wave illustration for: How Synthesis Works

The API converts text into synthetic speech using neural network voice modeling trained on licensed recordings. Each of the eight preset voices captures specific tonal qualities, from warm narration to energetic promo styles.

Text is processed character by character, with spaces and punctuation counting toward the total. The system encodes up to 4,096 characters per request, handling language detection automatically or via explicit ISO codes.

Neural network voice modeling

Voice synthesis relies on deep learning models trained on licensed LibriTTS-R data. This ensures authentic human-like intonation across all eight presets, from Aria’s clear narration to Orion’s documentary depth, without requiring custom training.

Character processing and encoding

Input text is segmented into chunks of 4,096 characters or fewer. Longer texts are split automatically, processed individually, and joined into a single audio file. Each character, including spaces, contributes to the usage count.

Audio file generation and delivery

Generated audio is returned immediately in formats like MP3, WAV, Opus, FLAC, or PCM. Files include an inaudible watermark identifying them as synthetic speech. Delivery is standard HTTP, with no streaming or WebSocket support.

Use Cases in Publishing

Sound wave illustration for: Use Cases in Publishing

The API enables indie authors to produce professional audiobooks by handling large texts through character-based splitting. With a 4096-character limit per request, the system processes longer manuscripts by dividing them into manageable segments, generating individual audio files that are then joined seamlessly. This workflow supports efficient self-publishing pipelines without requiring manual audio editing.

For video creators, the service provides consistent voice-overs for YouTube content. By selecting from eight preset voices like 'nova' or 'atlas', users can match tone to video style. The ability to adjust speech speed from 0.25x to 4.0x allows precise timing alignment with visual media, ensuring professional audio output directly from the API response.

Audiobook production for indie authors

Indie authors can generate complete audiobooks by sending text segments to the endpoint. The API handles the heavy lifting of synthesis, returning audio files in formats like mp3 or wav. This eliminates the need for expensive studio time, allowing authors to publish directly to platforms using their own scripts.

Character-based pricing at $0.01 per 1,000 characters makes budgeting predictable. Since input text is not used for training, authors retain full rights to their generated audio files, which are returned in the response and not stored.

  • Supports splitting texts longer than 4096 characters
  • Returns audio in mp3, wav, opus, flac, or pcm
  • Transparent character-based billing

Video narration for YouTube creators

Content creators can automate narration for tutorials, reviews, or documentaries. By integrating the API into their production workflow, they can rapidly prototype audio content. The availability of distinct voices like 'felix' for energetic promos or 'orion' for documentaries ensures appropriate tone for various video genres.

The process is straightforward: send the script via JSON, receive the audio file, and integrate it into the video editor. With a typical generation speed of roughly real-time, long-form videos can be narrated efficiently without significant delays.

  • Eight distinct voice presets
  • Adjustable speed from 0.25x to 4.0x
  • Instant audio file delivery

E-learning course voice-overs

Educational platforms can generate clear, consistent voice-overs for courses. The 'sage' voice offers a calm, instructional tone ideal for teaching, while 'luna' provides a soft, storytelling approach for narrative lessons. Supports 23 languages, enabling global reach without hiring multilingual voice actors.

Each request is processed individually, ensuring consistent quality across course modules. The inaudible watermark marks the synthetic speech, providing transparency for educational institutions requiring disclosure of AI-generated content.

  • 23 languages supported
  • Consistent voice tone across modules
  • Inaudible synthetic watermark

Benefits for Startups

Sound wave illustration for: Benefits for Startups

Narrative Metrics enables startups to generate professional audio assets without hiring voice actors or renting studios. By paying only $0.01 per 1,000 characters, you eliminate fixed overhead and retain full control over your production budget.

Reduced production costs

Startups avoid the high upfront fees of studio sessions. With a free trial credit of $0.50, you can test the service immediately. Failed requests are free, ensuring you only pay for successful synthesis.

Scalable content creation

Generate audiobook chapters or video voice-overs. The API handles large volumes efficiently, processing requests sequentially while maintaining consistent quality across all generated files.

Rapid prototyping of audio content

Test multiple voice options quickly. Adjust speed from 0.25x to 4.0x to find the perfect pacing for your narrative. Iterate on scripts and regenerate audio in minutes, not days.

Technical Requirements

Sound wave illustration for: Technical Requirements

Your infrastructure needs a stable internet connection to send text payloads and receive audio files. Requests are processed sequentially, so network latency directly impacts generation time for long texts.

Authentication ensures access to your account balance and usage limits. You must include your unique key in every request header.

Internet connection required

A reliable connection is necessary to submit text and receive the resulting audio file. Since requests are processed one after another, network stability affects wait times, especially under load.

API key authentication

Every request must include an Authorization: Bearer header with your unique key. This key identifies your account, tracks character usage against your balance, and enforces the 60 requests per minute rate limit.

  • Key format: tts-...
  • One active key per account
  • Revoke old keys instantly

JSON data format support

The API accepts standard JSON bodies compatible with the OpenAI SDK structure. You send parameters like model, input, and voice in a simple POST request.

Response formats include mp3, wav, opus, flac, or pcm, depending on your response_format setting.

  • Endpoint: POST /v1/audio/speech
  • Body: JSON object
  • Compatible with OpenAI SDKs

Voice Customization Options

Sound wave illustration for: Voice Customization Options

Customize your audio output by choosing from eight distinct preset voices or fine-tuning delivery parameters. Each voice is built from licensed recordings, ensuring professional clarity for your content.

Adjust the playback speed between 0.25x and 4.0x to match your pacing needs, and specify a language ISO code to ensure accurate pronunciation for non-English Latin script text.

Selecting from preset voices

Choose from four female voices (Aria, Nova, Luna, Sage) and four male voices (Felix, Milo, Atlas, Orion). Each preset offers a specific tonal quality, from warm narration to energetic promo.

All voices support all 23 listed languages.

  • 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

Adjusting speed and tone

The speed parameter accepts values from 0.25 to 4.0, allowing precise control over audio duration. This is critical for synchronizing voice-overs with video timelines or adjusting reading pace for accessibility.

Note that tone is fixed per voice preset; there is no SSML or emotion tagging available to modify intonation dynamically within a single request.

  • Speed range: 0.25–4.0
  • No SSML support
  • No emotion tags

Language selection for global reach

Specify the language field with an ISO code to ensure correct pronunciation, especially for non-English Latin script text where the default guess is English. Supports 23 languages including Arabic, Chinese, Hindi, and Spanish.

If the language is omitted, the system guesses based on the script, defaulting to English for Latin characters. This ensures accuracy for multilingual publishing workflows.

  • 23 supported languages
  • Optional ISO code
  • Script-based guessing
Voice Customization Options

Quality and Realism

Sound wave illustration for: Quality and Realism

Our audio quality stems from licensed recordings in the LibriTTS-R dataset (CC BY 4.0) and public-domain LibriVox readings. This foundation provides the basis for our voices. Each voice preset is tuned for specific narrative roles, from warm narration to deep documentary tones.

Every generated file carries an inaudible watermark, clearly marking the audio as synthetic speech. This allows for easy identification of AI-generated content in publishing and media workflows, maintaining transparency with your audience while ensuring high-fidelity output.

Licensed recordings for authenticity

We source voice data from the LibriTTS-R dataset under CC BY 4.0 and public-domain LibriVox audiobooks. This provides a realistic baseline for our eight preset voices, ensuring natural intonation and pacing suitable for audiobooks and video voice-overs.

Inaudible watermarking for identification

Each audio file generated by our API includes an inaudible digital watermark. This marks the content as synthetic speech, which is useful for media rights management and transparent labeling of AI-generated narration in your final products.

High-fidelity audio output options

Choose from mp3, wav, opus, flac, or pcm formats. For professional publishing, we recommend wav or flac for lossless quality, while mp3 offers efficient compression for web delivery. Speed adjustments (0.25–4.0) allow fine-tuning of pacing without degrading audio clarity.

Note that while our voices are high-quality, they do not offer custom voice cloning or emotion tags. The tone is fixed to the preset character (e.g., 'warm' for Aria, 'neutral' for Atlas).

  • Wav: Lossless, best for editing
  • Flac: Lossless, smaller file size
  • Mp3: Compressed, web-friendly
  • Opus/Pcm: Alternative formats

Comparison with Human Voice-Over

Sound wave illustration for: Comparison with Human Voice-Over

TTS eliminates the high fixed costs of studio time, talent fees, and editing hours. At $0.01 per 1,000 characters, generating a 200,000-character audiobook costs roughly $2,000, compared to thousands for human narration.

This pricing model allows indie authors to produce full-length books without upfront capital risk, paying only for what is generated.

Cost efficiency of TTS

Human voice-over requires paying for studio rental, engineer time, and talent rates, often exceeding $200 per finished hour. Our API charges strictly by character count, removing variable labor costs.

For self-publishing workflows, this predictable cost structure enables budgeting based on word count rather than negotiation with multiple vendors.

  • $0.01 per 1,000 characters
  • No studio rental fees
  • No per-hour talent rates

Speed of generation

Generation occurs at roughly real-time speed, producing about one second of audio per 25 characters of text for long passages. Short phrases may take a few seconds due to queue processing.

This allows you to generate an entire chapter in minutes, accelerating the publishing timeline significantly compared to booking and recording schedules.

  • ~1:1 real-time ratio for long texts
  • Minutes per chapter
  • Immediate delivery

Consistency of voice tone

Our voices deliver uniform tone, pitch, and pacing.

This consistency ensures a professional, cohesive listening experience across entire books or series without requiring multiple editing passes to match tone.

  • Uniform delivery across hours
  • No vocal fatigue
  • Consistent character voices

Limitations of Current Tech

Sound wave illustration for: Limitations of Current Tech

Our API delivers precise character-based synthesis without the overhead of complex markup. We prioritize raw text input and straightforward audio output, keeping the integration simple for indie authors and small studios who need reliable, programmatic voice generation without parsing extra tags.

No SSML support

We do not support SSML. The API accepts plain text, eliminating the need to manage pronunciation tags or prosody attributes. This simplifies integration for developers who prefer handling voice parameters like speed and language directly through standard JSON fields rather than embedding markup within the input string.

No custom voice cloning

Custom voice cloning is not offered. We provide eight preset voices based on licensed recordings from LibriTTS-R and LibriVox. These voices are ready to use immediately, ensuring consistent quality without the need for uploading reference audio or waiting for cloning training processes to complete.

Text length constraints

Each request accepts up to 4096 characters. For longer texts, such as full audiobooks, you must split the input into chunks and join the resulting audio files. This approach ensures reliable synthesis and manageable processing times, as requests are processed sequentially.

Future of TTS in Media

Sound wave illustration for: Future of TTS in Media

Text-to-speech is moving from novelty to infrastructure in media. Indie authors and small studios now treat audio generation as a standard production step, not a luxury add-on. This shift drives demand for reliable, character-based pricing that scales with output volume.

As workflows mature, tools will integrate directly into publishing platforms. Creators expect seamless handoffs between writing software and audio generation, reducing manual file management and enabling faster iteration cycles for audiobook and video projects.

Increased adoption in publishing

Indie authors are adopting TTS for rapid audiobook production. Small studios use it for prototyping narration before hiring voice talent. This trend supports scalable, cost-effective content creation for self-publishing workflows.

The model allows authors to generate entire catalogs quickly. Consistent voice tone ensures brand coherence across series, meeting audience expectations for professional audio quality without large upfront costs.

  • Automated audiobook generation for indie authors
  • Scalable narration for small production studios
  • Cost-effective catalog expansion for self-publishers

Better integration with editing tools

Future workflows will embed TTS directly into editing suites. Creators will generate audio within their existing projects, reducing context switching and streamlining the production pipeline.

Direct API access allows developers to build custom integrations. This enables automated narration for e-learning courses and video content, enhancing productivity for technical teams.

  • Direct API integration for editing workflows
  • Automated narration for e-learning content
  • Streamlined production pipelines for video creators

Enhanced language support

Current support for 23 languages covers major markets. Future updates will likely expand coverage to underserved regions, enabling global reach for independent creators.

Improved language handling will reduce manual configuration. Automatic script detection and better voice selection will simplify multi-language content production for diverse audiences.

  • Expansion to 23+ supported languages
  • Improved automatic language detection
  • Simplified multi-language content production

Getting Started with TTS

Sound wave illustration for: Getting Started with TTS

Narrative Metrics enables indie authors and small production studios to integrate professional voice generation directly into their self-publishing workflows. By leveraging our cloud API, you can automate the conversion of manuscripts into audio files, ensuring consistent quality and transparent character-based pricing.

The process begins with account creation and key generation, followed by immediate API access. You can then send text via HTTP requests and receive audio files in formats like MP3 or WAV, ready for distribution or further editing in your preferred tools.

Sign up for an account

Create an account on tig168.cc using Google or email. This grants access to your dashboard, where you can monitor usage and manage billing.

Accounts are per site, and new keys can be issued instantly if needed. Balance does not expire, supporting long-term projects.

  • Google or email registration
  • Instant dashboard access
  • Non-expiring balance

Generate your API key

Navigate to /get-api-key/ to view your unique Bearer token. This key authenticates your requests to the API.

You can regenerate the key at any time; the old one stops immediately. Start with a free trial credit of $0.50 if signing in with Google.

Make your first request

Send a POST request to https://api.tig168.cc/v1/audio/speech with your text, model, and voice parameters. Receive an audio file directly in the response.

Use the provided curl examples for quick testing. Remember that texts are processed sequentially, so longer manuscripts may take time proportional to their length.

Listen to the 8 voices

Each sample below was generated by this API from the same sentence. She excels in scenes requiring enthusiasm or lighter emotional beats.

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. IETF RFC 7845: Ogg Opus
  3. LibriTTS-R paper (arXiv 2305.18802)
  4. TRON developer hub: TRC-20
  5. curl documentation
  6. ISO 639 language codes
  7. Creative Commons Attribution 4.0
  8. openai-python on GitHub
  9. Node.js documentation
  10. W3C WAI: making audio and video accessible
  11. Tether (USDT)
  12. FFmpeg documentation

More on this site