Create Voice Over From Text for Video Production

By Narratex Team · Updated 2026-11-19

Narratex provides a reliable text-to-speech API infrastructure designed for YouTube agencies and production studios. This page details how to integrate our JSON endpoint into your video production workflows, enabling high-volume voice-over generation with predictable costs and programmable control.

You will find specific guidance on voice selection, language support, and handling long-form content within our 4096-character limit. The following sections outline the technical reliability, pricing structure, and data privacy measures that ensure consistent audio output for your agency’s clients.

Create Voice Over From Text for Video Production

Frequently asked questions

What is the maximum character limit per request?

Each API request accepts up to 4096 characters of input text. For longer scripts, you must split the text into parts within this limit and join the resulting audio files. Spaces and punctuation are counted toward the character total. This constraint applies to all models, including tts-1 and tts-1-hd, ensuring predictable processing loads for high-volume agency workflows.

Which languages are supported for voice-over?

The API supports 23 languages: Arabic, Chinese, Danish, Dutch, English, Finnish, French, German, Greek, Hebrew, Hindi, Italian, Japanese, Korean, Malay, Norwegian, Polish, Portuguese, Russian, Spanish, Swahili, Swedish, and Turkish. Any voice can speak any of these languages. If the language is not specified, the system guesses it from the script, defaulting to English for Latin text.

Can I adjust the speaking speed of the generated audio?

Yes, you can adjust the speaking speed using the speed parameter in your request. The acceptable range is 0.25 to 4.0, allowing you to slow down narration for clarity or speed up content for concise updates. This setting applies to all eight voice presets and works with any of the supported audio formats.

What audio formats are available for download?

You can request audio in mp3, wav, opus, flac, or pcm formats via the response_format parameter. These options allow you to choose between compressed files for web delivery or uncompressed formats for post-production editing. The API returns the audio file directly in the response, ready for immediate download or integration into your production pipeline.

How are failed requests billed?

Failed requests are free. If synthesis fails for any reason, the charge is returned in full to your account balance. You only pay for successful audio generation. This ensures that errors do not impact your budget, allowing you to retry requests without financial penalty while maintaining predictable costs for your agency operations.

Is there a minimum spend for agency accounts?

No, there is no minimum spend for any account type. You can top up with a minimum of $5 via USDT on the TRON network (TRC-20). There are no monthly plans, seats, or subscription fees. Your balance does not expire, and you pay only for the characters you actually consume, making it ideal for variable production volumes.

Do I need to use the OpenAI SDK to use this API?

No, you do not need the OpenAI SDK, though it works by changing the base_url. You can use any HTTP client to send POST requests to the endpoint. The API accepts standard JSON bodies with fields like model, input, and voice. This flexibility allows you to integrate the service into existing custom workflows without dependency on specific SDKs.

How long does it take to generate audio for long texts?

Generation takes roughly real time, averaging about 25 characters of text per second of audio. Short phrases may take a few seconds. For long texts, you split them into chunks, so total time depends on the number of requests. Under load, requests may queue, but processing is sequential, ensuring consistent output quality for your projects.

Are the voices human or synthetic?

The voices are synthetic, based on licensed recordings from LibriTTS-R and LibriVox public-domain audiobook readings. Every generated file carries an inaudible watermark marking it as synthetic speech. While the voices are realistic and natural-sounding, they are not direct recordings of specific humans but are generated by the TTS engine using these licensed source materials.

Can I clone my own voice for brand consistency?

No, custom voice cloning is not offered. You cannot upload your own voice or design a new voice. The API provides eight fixed presets: Aria, Nova, Luna, Sage, Felix, Milo, Atlas, and Orion. For brand consistency, agencies should select the preset that best matches their desired tone, such as Atlas for neutral news or Luna for storytelling.

What happens if I exceed the rate limit?

The rate limit is 60 requests per minute per key. Before the first top-up, the limit is 10 requests per minute. If you exceed the limit, your requests will be queued or rejected depending on the implementation. You can issue a new key to replace the active one; the old key stops at once.

Is there an SLA for uptime?

No, there is no Service Level Agreement (SLA) or uptime guarantee. The service is provided as-is without enterprise contracts or certifications like SOC 2 or HIPAA. Support is available via email only. Agencies should plan for potential variability in response times and queue delays, especially during high-volume periods, as no guaranteed availability is promised.

Do you offer SSML support for pronunciation?

No, the API does not support SSML (Speech Synthesis Markup Language). You cannot use tags for pauses, emphasis, or pronunciation dictionaries. Pronunciation is handled automatically by the model based on the input text. For precise control, you must rely on the standard text input and the eight available voice presets, adjusting speed and language codes as needed.

How do I top up my account balance?

Top up your balance by sending USDT on the TRON network (TRC-20). The minimum top-up amount is $5. Credits are added automatically within minutes after the transfer is confirmed. There are no other payment methods like credit cards or PayPal. Your balance does not expire, allowing you to manage costs efficiently for long-term production needs.

First request

curl

curl https://api.cg11.info/v1/audio/speech \
  -H "Authorization: Bearer $TTS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"tts-1","voice":"aria","input":"Hello from the API.","response_format":"mp3"}' \
  --output hello.mp3

API Integration for Video Workflows

Sound wave illustration for: API Integration for Video Workflows

We provide a standard JSON API endpoint for integrating text-to-speech into YouTube agency workflows. Send text to POST /v1/audio/speech and receive an audio file directly, enabling seamless automation of voice-over generation for video production pipelines.

JSON API Endpoint

JSON API Endpoint

The API accepts JSON bodies with text, voice selection, and format preferences. Responses return generated audio files, allowing your scripts to handle the output programmatically without manual intervention.

OpenAI SDK Compatibility

The endpoint shape matches the OpenAI speech endpoint. You can use the official OpenAI SDKs by simply changing the base_url to https://api.cg11.info/v1 and using your Narratex key.

Programmatic Control

Access the API via standard HTTP requests. Manage voice parameters, speed, and language codes directly from your code, ensuring consistent audio output across all your video projects.

Voice Selection for Brand Consistency

Sound wave illustration for: Voice Selection for Brand Consistency

Voice selection defines the auditory identity of your video content. Narratex provides eight distinct presets designed for specific production roles, ensuring your agency maintains consistent tonal standards across multiple channels and clients without manual retraining or voice-over artist coordination.

Each voice is engineered for a specific communicative purpose, from soft storytelling to energetic promotions. By standardizing voice usage within your workflow, you eliminate the variability inherent in human performers and ensure predictable audio quality for every deliverable.

Narrative and Instructional Voices

Luna offers a soft, storytelling tone ideal for documentary-style narration. Sage provides a calm, instructional delivery suited for tutorials and explainer videos. These voices prioritize clarity and emotional warmth, making them suitable for long-form content where listener retention is critical.

Aria delivers a warm, clear narrator voice that works well for general-purpose content. Luna’s soft delivery complements narrative arcs, while Sage’s instructional tone ensures complex information remains accessible to the audience.

  • Luna: soft, storytelling
  • Sage: calm, instructional
  • Aria: warm, clear narrator

Energetic and Conversational Tones

Felix provides an energetic, promo-ready tone for advertisements and highlight reels. Milo offers a friendly, conversational style, making it ideal for vlogs or casual brand updates. These voices add dynamism to shorter, high-impact segments.

Orion delivers a deep, documentary-style voice for serious or authoritative content. Atlas serves as a neutral, news-ready voice for factual reporting. Together, these options cover the spectrum from high-energy sales to professional journalism.

  • Felix: energetic, promo
  • Milo: friendly, conversational
  • Atlas: neutral, news
  • Orion: deep, documentary

Standardized Audio Output

All voices are generated from licensed recordings (LibriTTS-R, CC BY 4.0) from LibriVox public-domain audiobooks. This foundation ensures a consistent baseline quality across all eight presets.

Every generated file carries an inaudible watermark marking it as synthetic speech. This allows for easy identification of AI-generated audio in post-production workflows, ensuring transparency and compliance with platform-specific content disclosure requirements.

Supported Languages and Formats

Sound wave illustration for: Supported Languages and Formats

The API supports 23 languages, including Arabic, Chinese, English, French, German, Hindi, Japanese, Korean, and Spanish. Any voice can generate audio in any supported language, allowing agencies to localize content without selecting distinct voice models per region.

If the language field is omitted, the system guesses the language based on the script, defaulting to English for Latin script. For non-English Latin text, explicitly setting the language parameter ensures accurate synthesis.

23 Global Languages

Supported languages include Arabic, Chinese, Danish, Dutch, English, Finnish, French, German, Greek, Hebrew, Hindi, Italian, Japanese, Korean, Malay, Norwegian, Polish, Portuguese, Russian, Spanish, Swahili, Swedish, and Turkish. Voices are not language-specific; a single voice preset can produce natural-sounding audio across all 23 languages.

Unsupported languages include Vietnamese, Indonesian, Thai, Ukrainian, Romanian, Czech, and Bengali. If your content requires one of these, it will not be synthesized correctly without manual intervention or alternative workflows.

  • Arabic, Chinese, Danish, Dutch, English, Finnish, French, German, Greek, Hebrew, Hindi, Italian, Japanese, Korean, Malay, Norwegian, Polish, Portuguese, Russian, Spanish, Swahili, Swedish, Turkish

MP3, WAV, and FLAC Formats

Output formats include MP3, WAV, OPUS, FLAC, and PCM. MP3 and WAV are standard for most video editing pipelines, while FLAC and OPUS offer lossless or highly compressed alternatives for archival or bandwidth-efficient delivery. PCM is available for raw audio processing.

Format selection does not affect pricing or voice quality, as all voices use the same underlying engine. Choose the format that best fits your post-production workflow.

  • MP3
  • WAV
  • OPUS
  • FLAC
  • PCM

Speed and Pitch Adjustment

The speed parameter accepts values from 0.25 to 4.0, allowing precise control over audio duration. This is useful for syncing voice-over with video timelines or adjusting pacing for different audience segments.

For consistent pitch across speed variations, consider post-processing in your DAW.

Volume Handling for Long-Form Content

Sound wave illustration for: Volume Handling for Long-Form Content

For long-form scripts exceeding 4096 characters, split the input text into smaller chunks. Each request processes one chunk independently, ensuring stable generation without token limits.

4096 Character Limits

Send text in segments of up to 4096 characters. Spaces and punctuation count toward this limit. This constraint applies to every single request made to the endpoint.

Audio Joining Logic

Generate audio files for each segment separately. Your application must concatenate the resulting MP3, WAV, or FLAC files in order. The API returns individual files; it does not merge them server-side.

Batch Processing Strategy

Process chunks sequentially or in parallel depending on your rate limit. With 60 requests per minute, you can generate approximately 25 minutes of audio per minute. Queue requests to avoid exceeding the limit and causing delays.

Pricing Structure for Agencies

Sound wave illustration for: Pricing Structure for Agencies

Narratex charges $10 per 1 million characters, equating to $0.01 per 1,000 characters. This per-character model ensures predictable costs for high-volume YouTube production without unused monthly commitments.

Failed requests receive a full credit refund, eliminating risk for automated batch jobs. Accounts begin with a $0.50 trial credit for seven days, while ongoing top-ups use USDT (TRC-20) with no minimum spend or subscription fees.

Per Character Billing

Billing is strictly based on character count, including spaces and punctuation. The rate is $0.01 per 1,000 characters, providing precise cost calculation for every script.

No Monthly Minimums

There are no monthly plans, seats, or minimum spend requirements. You pay only for what you generate, making it ideal for agencies with fluctuating production volumes.

Transparent Usage Costs

Usage data and billing metadata are retained for accurate accounting. Failed synthesis requests do not incur charges, ensuring you only pay for successful audio generation.

Pricing Structure for Agencies

Technical Reliability

Sound wave illustration for: Technical Reliability

The API enforces a strict rate limit of 60 requests per minute per active key. New accounts without a top-up begin with a reduced limit of 10 requests per minute. This constraint ensures stable throughput for production environments and prevents sudden spikes from disrupting service availability.

Requests are processed sequentially, meaning high-volume batch jobs may experience queue delays during peak usage. Failed synthesis requests incur no charge, and the system guarantees full credit return for unsuccessful attempts, maintaining predictable cost structures even under variable load conditions.

Rate Limit Management

Each API key is capped at 60 requests per minute. Accounts created with email and password start without trial credit. The initial 10 requests per minute limit applies until the first successful top-up is processed.

  • 60 requests/minute per key after top-up
  • 10 requests/minute for new accounts without credit
  • Automatic limit enforcement via HTTP headers

Error Handling

Failed synthesis requests result in a full refund of the character charge. The API returns standard HTTP error codes to indicate issues such as invalid input or temporary service unavailability. Clients should implement exponential backoff to handle queue delays effectively.

  • Full credit return on failed requests
  • Standard HTTP error codes for debugging
  • Exponential backoff recommended for retries

Billing Metadata

The system retains request metadata, including timestamp, character count, and status, for accurate billing purposes. This data allows agencies to reconcile usage charges and monitor consumption patterns without storing the actual input text or generated audio files.

  • Request time, character count, and status logged
  • No input text or audio stored for billing
  • Audit logs available for cost reconciliation

Audio Characteristics

Sound wave illustration for: Audio Characteristics

Generated audio carries an inaudible watermark identifying it as synthetic speech, ensuring clear provenance for licensed content. The engine delivers audio at approximately real-time speed, processing roughly 25 characters per second for standard texts, with short phrases requiring a few seconds of generation time.

Synthetic Watermarking

All output files include a subtle digital watermark. This marker identifies the audio as machine-generated, providing transparency for distribution rights and content verification without affecting playback quality or listener experience.

Real-Time Generation Speed

Generation speed aligns with real-time playback for long-form content. Short phrases may take a few seconds to synthesize. Requests are processed sequentially, so high-volume bursts may experience slight queue delays under load.

  • Roughly 25 characters of text per second of audio.

Consistent Audio Quality

Audio output remains uniform across all voices and languages. Each voice preset delivers a standardized tone suitable for specific production needs, from calm narration to energetic promo, ensuring predictable results for bulk video production.

Data Privacy and Usage

Sound wave illustration for: Data Privacy and Usage

Your input text is processed solely to generate the requested audio file. We do not retain the full text content after synthesis is complete, ensuring that your scripts remain private and are not repurposed for other clients.

Generated audio files are returned in the response and are not stored on our servers. This minimizes data exposure and aligns with strict agency confidentiality requirements for unpublished content.

Input Text Retention

Input text is used exclusively for the immediate production of the audio file. Once the synthesis is complete, the text is not archived for long-term storage or secondary use.

This approach ensures that your proprietary scripts and creative assets remain under your control without lingering in our storage infrastructure.

  • Text is not stored after synthesis
  • No long-term text archives

No Training Data Usage

The text you submit is never used to train our models or improve future versions of the engine. Your voice-over content does not contribute to our training datasets.

This guarantees that your specific wording and nuances remain distinct from our general model improvements, maintaining the uniqueness of your output.

  • Text not used for training
  • Model improvements do not use your data

Audit Logs

We retain request metadata, including timestamp, character count, voice selection, and status, for billing and operational purposes. These logs allow you to reconcile usage charges and verify API calls.

Metadata retention supports transparent accounting without storing the actual content of your voice-overs.

  • Timestamps recorded
  • Character counts logged
  • Status codes preserved

Getting Started

Sound wave illustration for: Getting Started

Begin by generating your API key via the /get-api-key/ dashboard. You may sign in with Google for an immediate $0.50 trial credit or create a standard account. The key authenticates all requests to https://api.cg11.info/v1.

API Key Generation

Access your unique key in the dashboard. Use Authorization: Bearer tts-... in your HTTP headers. Keys are active immediately upon creation.

  • Supports Google OAuth or email/password
  • One active key per account
  • Revoke and replace instantly

SDK Configuration

The API follows the OpenAI tts-1 request shape. Configure your OpenAI SDK client by setting the base URL to https://api.cg11.info/v1 and injecting your Narratex key.

  • Use official OpenAI SDKs
  • Set base_url to api.cg11.info/v1
  • Standard JSON request body

First Synthesis Request

Send a POST request to /v1/audio/speech with model, input, and voice parameters. The endpoint returns the audio file directly, enabling immediate integration into your video production pipeline.

  • Endpoint: /v1/audio/speech
  • Method: POST
  • Format: JSON

Listen to the 8 voices

Each sample below was generated by this API from the same sentence. Ensure the text is concise to avoid sounding mumbled or unclear at higher speeds.

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

More on this site