Cloud Text-to-Speech API: Generate Natural Audio

By VocaLingo editorial team · Updated 2026-11-19

This page explains how VocaLingo’s text-to-speech API works for language learning product teams. You will find concrete details on request structures, voice options, and integration workflows. We cover pricing, payment methods, and technical limits so you can plan your integration accurately without guessing.

You do not need enterprise contracts or complex onboarding. Our API uses standard HTTP requests and OpenAI SDK compatibility, making it easy to generate audio for educational content. Read on to understand voice licensing, supported languages, and how to handle long texts efficiently.

Cloud Text-to-Speech API: Generate Natural Audio

Frequently asked questions

What languages are supported?

We support 23 languages, including 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 you do not set the language parameter, the system guesses it from the script, defaulting to English for Latin text.

How do I pay for the API?

Pricing is $10 per 1 million characters. You top up your balance using USDT on the TRON network (TRC-20) with a minimum of $5. Credits are added automatically within minutes. There are no monthly plans, no seats, no minimum spend, and no invoices with VAT. Your balance does not expire.

Is there a free trial?

Yes, signing in with Google gives you $0.50 of credit, valid for 7 days. This covers about 50,000 characters. Accounts created with an email and password start without trial credit. You can use this credit to test the API before making any top-up payments via USDT.

What happens if a request fails?

If synthesis fails, the charge is returned in full. You only pay for successful requests. This ensures you are not billed for audio files that were not generated correctly.

Can I use the OpenAI SDK?

Yes, the API uses the same request shape as the OpenAI speech endpoint. You can use the official OpenAI SDKs by changing the base URL to https://api.takabat.info/v1 and using your VocaLingo API key. This allows for easy integration into existing workflows without needing a custom SDK.

How long can the text be?

Each request supports up to 4096 characters. For longer texts, split the input into parts of this size and join the resulting audio files. This approach ensures efficient processing and maintains audio quality across longer educational content or lessons.

Do you offer voice cloning?

No, we do not offer custom voice cloning, voice design, or uploading your own voice. We provide eight preset voices based on licensed recordings from LibriTTS-R and LibriVox. Each generated file carries an inaudible watermark marking it as synthetic speech.

Cloud Text-to-Speech API

Sound wave illustration for: Cloud Text-to-Speech API

VocaLingo provides a cloud-based text-to-speech API designed for language learning product teams. Send plain text to our endpoint, and receive synthesized audio files optimized for educational content.

The system processes requests sequentially, ensuring consistent quality. You can integrate this directly into your learning platform with minimal code changes.

How the API Works

How the API Works

Send a JSON payload via POST to https://api.takabat.info/v1/audio/speech. The service converts your text into speech using licensed voice recordings and returns an audio file.

Request Structure

Request Structure

Include the text in the input field, select a voice from our eight presets, and specify the response_format. You can also adjust speed between 0.25 and 4.0.

Authentication

Authentication

Use a Bearer token in the Authorization header: Authorization: Bearer tts-.... One active key per account ensures secure access.

Rate Limits

Rate Limits

New accounts start with 10 requests per minute. After your first top-up, the limit increases to 60 requests per minute per key.

Handling Long Texts

Split texts into parts of up to 4,096 characters. Generate each part individually and join the resulting audio files for seamless playback.

Voice Options and Formats

Sound wave illustration for: Voice Options and Formats

VocaLingo offers eight distinct voice presets, ranging from the warm narration of Aria to the deep documentary tone of Orion. Each voice is designed for clarity, ensuring your educational content remains engaging and easy to understand across different learning contexts.

Available Voices

Choose from four female voices (Aria, Nova, Luna, Sage) and four male voices (Felix, Milo, Atlas, Orion). These presets cover a wide range of tones, from upbeat and energetic to calm and instructional, allowing you to match the voice to your specific lesson style.

  • 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

Supported Languages

Our API supports 23 languages, including English, Spanish, German, Japanese, and Arabic. Any voice can speak any supported language, providing flexibility for diverse language learning products. If the language is not specified, the system guesses based on the script, defaulting to English for Latin text.

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

Audio Formats

Generate audio in MP3, WAV, OPUS, FLAC, or PCM formats. This flexibility allows you to integrate high-quality audio files directly into your learning applications without needing additional conversion tools, ensuring compatibility with various media players and educational platforms.

Speed Control

Adjust speech speed from 0.25x to 4.0x. This feature is essential for language learners, allowing you to slow down audio for better comprehension or speed it up for review sessions, adapting the content to different proficiency levels.

Voice Licensing

Our voices are based on licensed recordings from LibriTTS-R (CC BY 4.0) and LibriVox public-domain audiobook readings. Every generated audio file contains an inaudible watermark to identify it as synthetic speech, ensuring transparency in your educational content.

Integration and SDKs

Sound wave illustration for: Integration and SDKs

VocaLingo is designed to integrate seamlessly into existing language learning workflows. By adhering to the OpenAI speech endpoint structure, you can generate synthetic audio files with minimal code changes, leveraging familiar tools for educational content creation.

OpenAI SDK Compatibility

The API accepts the same request shape as the OpenAI speech endpoint. You can use the official OpenAI SDKs by simply changing the base_url to https://api.takabat.info/v1 and providing your VocaLingo key.

  • Use standard OpenAI client libraries
  • Minimal configuration changes required
  • Familiar request/response structure

Endpoint Details

Send text via POST https://api.takabat.info/v1/audio/speech with JSON body parameters including model, input, voice, and response_format. Retrieve available voices and models via GET /v1/voices and GET /v1/models.

  • POST /v1/audio/speech
  • GET /v1/voices
  • GET /v1/models

No Custom SDKs

We do not maintain a proprietary SDK for VocaLingo. Instead, we rely on the robust, well-documented OpenAI SDKs and standard HTTP libraries, ensuring long-term stability and broad language support without waiting for library updates.

Simple HTTP Requests

For those preferring lightweight solutions, standard HTTP POST requests work perfectly. Authenticate with Authorization: Bearer tts-... and receive the audio file directly in the response body, supporting formats like MP3, WAV, and OPUS.

Developer Experience

Authentication is handled via a single active API key per account. The /get-api-key/ page provides a ready-to-use cURL example, making it easy to test integration immediately after signing up with Google or email.

Pricing and Payments

Sound wave illustration for: Pricing and Payments

VocaLingo charges $0.01 per 1,000 characters, with spaces and punctuation counting toward the total. There are no monthly plans, seats, or minimum spend requirements, making it easy to scale usage as your language learning content grows.

Pay Per Character

The rate is $10 per 1 million characters. You only pay for what you generate, with no recurring subscription costs.

Free Trial Credit

Sign in with Google to receive $0.50 in trial credit (about 50,000 characters), valid for 7 days. Accounts created with email and password start without this credit.

USDT Payments

Top up your balance using USDT on the TRON network (TRC-20). The minimum deposit is $5, and funds are credited automatically within minutes. We do not accept cards, PayPal, or invoices.

  • TRC-20 network only
  • Minimum $5 deposit
  • Automatic credit within minutes

No Hidden Fees

Our pricing is straightforward. There are no VAT invoices, no subscription fees, and no extra charges for different voice models.

Failed Request Refunds

If a synthesis request fails, you are not charged. The fee is returned to your balance in full.

Pricing and Payments

Technical Details

Sound wave illustration for: Technical Details

Each API request accepts up to 4096 characters, including spaces and punctuation. For longer texts, split the input into chunks and join the resulting audio files. Input text is used solely for synthesis and is not retained for training models.

Synthesized audio is returned directly in the response and not stored on our servers. Request metadata, such as time, character count, and status, is kept briefly for billing purposes only.

Character Limits

The API limits each request to 4096 characters. This includes all spaces, punctuation, and special characters. To handle longer documents, split the text into multiple requests and concatenate the returned audio files.

Processing Speed

Generation takes roughly 25 characters of text per second of generation. Short phrases may take a few seconds, while longer texts generate at near real-time speed. Requests are processed sequentially, so high load may introduce queue delays.

Data Privacy

Input text is used exclusively to produce the audio file. It is not used for training. The generated audio is returned in the response and is not stored persistently.

  • Input text is not used for training.
  • Generated audio is not stored.
  • Metadata kept for billing only.

Audio Watermarking

Every generated audio file contains an inaudible watermark. This marks the file as synthetic speech, helping identify AI-generated content in educational materials and ensuring transparency for your learners.

No Streaming Support

The API does not support streaming or WebSocket connections. You receive the complete audio file after synthesis finishes.

FAQ

Sound wave illustration for: FAQ

VocaLingo simplifies synthetic voice integration for language learning products, offering a straightforward API that matches the OpenAI speech endpoint structure. Our focus is on providing reliable, high-quality audio generation without enterprise complexity, allowing product teams to concentrate on content rather than infrastructure.

What languages are supported?

We support 23 languages, including English, Spanish, French, German, Japanese, Korean, Chinese, Arabic, Hindi, Russian, and others. Any voice can speak any of these languages. If the language field is omitted, the system guesses from the script, defaulting to English for Latin text.

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

How do I pay for the API?

Pricing is $0.01 per 1,000 characters. Payments are made via USDT on the TRON network (TRC-20), with a minimum top-up of $5. Credits are automatic and never expire. We do not accept credit cards or PayPal, and there are no monthly plans or subscriptions.

Is there a free trial?

Yes. Signing in with Google provides $0.50 of trial credit (approx. 50,000 characters), valid for 7 days. Accounts created with email and password start without this trial credit.

What happens if a request fails?

Failed requests are free. If synthesis fails, the charge is returned in full to your balance. This ensures you only pay for successfully generated audio.

Can I use the OpenAI SDK?

Yes. Our API endpoint matches the OpenAI speech endpoint shape. You can use the official OpenAI SDK by changing the base_url to https://api.takabat.info/v1 and using your VocaLingo API key.

How long can the text be?

Each request supports up to 4,000 characters. For longer texts, split the input into parts and join the resulting audio files. We recommend splitting at sentence boundaries to avoid abrupt audio cuts.

Do you offer voice cloning?

No. We offer eight preset voices derived from licensed recordings (LibriTTS-R) and public-domain audiobooks. We do not support custom voice cloning, uploading your own voice, or creating new voice profiles.

Listen to the 8 voices

Each sample below was generated by this API from the same sentence. This ensures easy migration without rewriting your integration logic.

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. Tether (USDT)
  3. W3C WAI: making audio and video accessible
  4. Creative Commons Attribution 4.0
  5. IETF RFC 7845: Ogg Opus
  6. ISO 639 language codes
  7. MDN: Web Speech API
  8. LibriTTS-R paper (arXiv 2305.18802)
  9. TRON developer hub: TRC-20
  10. openai-python on GitHub
  11. LibriTTS-R corpus (OpenSLR 141)
  12. LibriVox public-domain audiobooks

More on this site