Generate Natural Audio from Text with Our Cloud TTS API

By VocaLingo editorial team · Updated 2026-11-19

This page provides the complete technical documentation for VocaLingo’s cloud Text-to-Speech API, designed specifically for language learning product teams. We offer a simple RESTful endpoint that generates high-quality audio files from text, enabling you to integrate synthetic voices into educational content without the complexity of enterprise contracts.

You will find detailed guides on request formats, supported languages, and voice presets. The documentation covers practical details like rate limits, pricing, and account management, helping you quickly generate audio for your curriculum using standard HTTP requests or the OpenAI SDK.

Generate Natural Audio from Text with Our Cloud TTS API

Frequently asked questions

What is the cost of the API?

The API costs $10 per 1 million characters, which equals $0.01 per 1,000 characters. Spaces and punctuation count toward this total. Failed requests are free, with the charge returned in full if synthesis fails. There are no monthly plans, seats, or minimum spend requirements.

How do I pay for the API?

Payments are processed via USDT on the TRON network (TRC-20) only. The minimum top-up amount is $5. Credits are automatically added to your balance within minutes of the transfer. We do not accept credit cards, PayPal, or provide invoices with VAT.

Is there a free trial?

Yes, signing in with Google provides $0.50 of credit, valid for 7 days. This covers approximately 50,000 characters. Accounts created using an email and password start without any trial credit. The balance does not expire after the trial period.

Which languages are supported?

We support 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. Vietnamese, Indonesian, Thai, Ukrainian, Romanian, Czech, Bengali and all others not in the list are not supported.

Can I use the OpenAI SDK?

Yes, the API uses the same request shape as the OpenAI speech endpoint. You can use official OpenAI SDKs by changing the base_url to https://api.takabat.info/v1 and using your site-specific key. This allows for easy integration into existing workflows.

What are the rate limits?

The limit is 60 requests per minute per key. Before your first top-up, the limit is 10 requests per minute. Requests are processed sequentially, so under load, a request may wait in a queue. Longer texts should be split into parts of 4096 characters.

Do you support SSML?

No, we do not support SSML. The API accepts plain text input up to 4096 characters. It does not offer phoneme dictionaries, custom pronunciation lexicons, or emotion tags. You can control speed using the speed parameter, but structural markup is not available.

Is my data used for training?

No, input text is used only to produce the audio and is not used for training. Generated audio is returned in the response and not stored. We keep request metadata, such as time, characters, and status, solely for billing purposes.

How long does generation take?

Generation is roughly real-time on long texts, producing about 25 characters of text per second of audio. Short phrases may take a few seconds. Since requests are processed one after another, high load may cause queuing delays for your synthesis requests.

Do you offer voice cloning?

No, we do not offer custom voice cloning. You can choose from eight preset voices based on licensed recordings. These voices cannot be customized or cloned. We do not allow uploading your own voice or designing new voices for your specific needs.

How do I get support?

Support is available via email only. We do not offer a phone number, live chat, or SLA. There is no uptime guarantee or enterprise contract. For technical issues or billing questions, please send an email to our support address.

First request

curl

curl https://api.takabat.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

Python (openai)

from openai import OpenAI

client = OpenAI(base_url="https://api.takabat.info/v1", api_key="tts-...")

with client.audio.speech.with_streaming_response.create(
    model="tts-1", voice="nova", input="Hello from Python.", response_format="mp3"
) as response:
    response.stream_to_file("hello.mp3")

Node.js (openai)

import OpenAI from "openai";
import fs from "node:fs";

const client = new OpenAI({ baseURL: "https://api.takabat.info/v1", apiKey: process.env.TTS_API_KEY });
const res = await client.audio.speech.create({ model: "tts-1", voice: "milo", input: "Hello from Node.js." });
fs.writeFileSync("hello.mp3", Buffer.from(await res.arrayBuffer()));
voice
ariafemale
novafemale
lunafemale
sagefemale
felixmale
milomale
atlasmale
orionmale
language
arالعربية
zh中文
daDansk
nlNederlands
enEnglish
fiSuomi
frFrançais
deDeutsch
elΕλληνικά
heעברית
hiहिन्दी
itItaliano
ja日本語
ko한국어
msBahasa Melayu
noNorsk
plPolski
ptPortuguês
ruРусский
esEspañol
swKiswahili
svSvenska
trTürkçe

How It Works

Sound wave illustration for: How It Works

VocaLingo provides a straightforward RESTful API endpoint for generating speech from text. By sending a simple POST request, language learning product teams can integrate high-quality audio into their educational content without managing complex infrastructure or enterprise contracts.

RESTful Endpoint

RESTful Endpoint

Send your text to POST https://api.takabat.info/v1/audio/speech. The endpoint accepts JSON bodies, making it compatible with standard HTTP libraries and the official OpenAI SDKs by simply adjusting the base URL.

Request Format

Request Format

Include the input text (up to 4096 characters), a voice preset, and your Authorization: Bearer key. You can optionally specify response_format, speed, and language for precise control over the output.

Audio Generation

The engine processes your text to synthesize natural speech. For texts exceeding 4096 characters, you can split the input and join the resulting audio files. Typical generation speed is roughly real-time for long texts.

Response Handling

The API returns the audio file directly in the response. If synthesis fails, the request is free. Use the provided curl examples or SDK wrappers to integrate the audio stream into your application immediately.

Supported Languages

Sound wave illustration for: Supported Languages

VocaLingo supports 23 languages, enabling your language learning products to reach diverse global audiences. Our voices are multilingual; any voice can speak any supported language, ensuring consistent quality across your curriculum whether you are teaching English, Spanish, or Japanese.

Language Detection

The API automatically guesses the language from the input script. If you send Latin text without specifying a language, it defaults to English. For non-English Latin-script text, always set the language field to ensure accurate pronunciation.

Supported Scripts

We support Latin, Cyrillic, Arabic, Hebrew, Chinese, Japanese, Korean, and Greek scripts. This covers the majority of major world languages used in educational contexts.

  • Arabic
  • Chinese
  • Greek
  • Hebrew
  • Japanese
  • Korean

Unsupported Languages

We do not currently support Vietnamese, Indonesian, Thai, Ukrainian, Romanian, Czech, Bengali, or any other language not listed in our 23 supported languages.

Voice Presets

Sound wave illustration for: Voice Presets

VocaLingo offers eight distinct voice presets designed to suit various educational contexts, from calm narration to energetic instruction. Each voice is a distinct preset, not a custom clone, ensuring consistent quality across your language learning materials.

The selection includes four female and four male voices, all capable of speaking any of the 23 supported languages. This flexibility allows product teams to maintain character consistency or introduce variety without managing multiple voice profiles.

Female Voices

Aria provides a warm, clear narrator tone ideal for storybooks. Nova offers a bright, upbeat delivery for interactive lessons. Luna brings a soft, storytelling quality for immersive content. Sage delivers a calm, instructional voice perfect for vocabulary drills.

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

Male Voices

Felix adds energy for promotional or quiz content. Milo sounds friendly and conversational, great for dialogue practice. Atlas maintains a neutral, news-like tone for factual reading. Orion provides a deep, documentary style for advanced listening exercises.

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

Voice Characteristics

All eight voices support the full range of 23 languages, including English, Spanish, Japanese, and Arabic. You can adjust the speed between 0.25x and 4.0x to match learner proficiency levels. The voices are synthesized from licensed recordings, ensuring a natural but clearly synthetic sound.

Licensing Source

Voices are based on licensed recordings from LibriTTS-R (CC BY 4.0), derived from LibriVox public-domain audiobook readings. Every generated audio file contains an inaudible watermark marking it as synthetic speech, helping learners distinguish AI content from human recording.

Pricing and Payment

Sound wave illustration for: Pricing and Payment

VocaLingo charges $10 per 1 million characters, which equals $0.01 per 1,000 characters. Spaces and punctuation count toward this total, ensuring transparent billing for every byte of generated audio.

Character Pricing

Usage is calculated by character count. Failed requests are free, with charges returned in full if synthesis fails, so you only pay for successful audio generation.

Free Trial Credit

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

USDT Top-ups

Top-ups are processed via USDT on the TRON network (TRC-20). The minimum deposit is $5, and balance is credited automatically within minutes. There are no monthly plans, seats, or minimum spends.

  • Payment method: USDT (TRC-20) only
  • Minimum top-up: $5
  • No subscriptions or invoices

No Hidden Fees

We do not charge for API calls, storage, or support. Balance does not expire, and there are no VAT invoices or hidden transaction costs beyond the network fee.

Account Management

Sound wave illustration for: Account Management

VocaLingo offers flexible onboarding for language learning teams. Create an account via Google Sign-In for immediate trial credit, or use a standard email and password setup. Each site maintains independent accounts.

API Key Management

Manage your credentials directly from the dashboard. You can issue a new API key at any time; the previous key becomes invalid immediately upon generation.

Balance Tracking

Monitor your TRC-20 USDT balance and remaining characters in real-time. Failed requests do not deduct from your balance, ensuring accurate cost tracking.

Usage Monitoring

View detailed logs of character consumption and request status. This data helps you optimize your TTS integration for educational content generation.

Account Management

Technical Details

Sound wave illustration for: Technical Details

Understanding the technical constraints ensures your integration runs smoothly. Requests are processed one after another, so under load a request may wait in a queue.

Rate Limits

Each API key is limited to 60 requests per minute. New accounts start with a lower threshold of 10 requests per minute until the first top-up is processed. This limit applies per key, so you can scale by rotating keys if necessary.

Text Length Limits

Each request accepts up to 4,096 characters of input text. For longer content, split your text into chunks of this size and concatenate the resulting audio files. Note that spaces and punctuation count toward this character limit.

Audio Formats

Select your output format using the response_format parameter. Supported formats include mp3, wav, opus, flac, and pcm. MP3 and WAV are standard for web playback, while FLAC offers lossless quality for archival purposes.

Speed Control

Adjust the playback speed between 0.25 and 4.0 using the speed parameter. The default is 1.0. Be aware that longer texts generate at roughly real-time speed (25 characters per second), but short phrases may take a few seconds due to processing queues.

What We Don't Offer

Sound wave illustration for: What We Don't Offer

VocaLingo provides a simple, reliable API for generating audio files. We focus on delivering clear synthetic speech for educational content without unnecessary complexity. Our architecture is designed for straightforward integration, allowing product teams to generate audio efficiently without managing enterprise-grade infrastructure.

No Streaming

We do not offer real-time streaming or WebSocket connections. You send a text request and receive a complete audio file once synthesis is finished. This ensures consistent results and simplifies debugging for your development team.

No Custom Cloning

We do not offer custom voice cloning or uploading your own voice samples. Our eight voice presets are based on licensed recordings from LibriTTS-R and LibriVox. You cannot create unique voice profiles for specific characters or brand identities.

No Mobile SDK

We do not provide a dedicated mobile SDK for iOS or Android. You can integrate VocaLingo into any mobile app using standard HTTP requests or the official OpenAI SDK by adjusting the base URL. This keeps dependencies minimal and flexible.

No Enterprise SLA

Our service operates without formal Service Level Agreements, uptime guarantees, or enterprise contracts. Support is by email only. We do not offer phone support or live chat, so please allow time for written responses to your technical questions.

Getting Started

Sound wave illustration for: Getting Started

Start by creating an account on our /get-api-key/ page. You can sign up using Google for an immediate $0.50 trial credit or via email. This account is specific to takabat.info and gives you access to your unique API key.

Once you have your key, you are ready to integrate VocaLingo into your language learning platform. Our API follows a familiar structure, making it easy for your development team to generate audio files for educational content without complex enterprise contracts.

Generate Your Key

Visit /get-api-key/ and choose Google or email signup. Your dashboard displays your active API key, starting balance, and character count. This key authenticates all your requests to the VocaLingo API.

  • Google signup includes $0.50 trial credit
  • Email signup starts with zero credit
  • Key management via dashboard

Test with cURL

Use the provided curl example in your dashboard to send a POST request to https://api.takabat.info/v1/audio/speech. Replace the placeholder key with yours and send a short text input to verify the connection.

The response will contain the audio file in your chosen format. If the request fails, no characters are charged from your balance.

  • Endpoint: POST https://api.takabat.info/v1/audio/speech
  • Use Bearer token authentication
  • Check response for audio data

SDK Integration

Since our endpoint matches the OpenAI speech format, you can use the official OpenAI SDK by simply changing the base_url to https://api.takabat.info/v1. This allows immediate integration with your existing codebase.

Configure the model (tts-1 or tts-1-hd), voice preset, and desired response format. The SDK handles the JSON body construction and authentication headers for you.

  • Compatible with OpenAI SDKs
  • Change base_url only
  • Supports tts-1 and tts-1-hd models

Support Contact

For technical questions or billing inquiries, contact us via email. We do not offer phone support or live chat. Our team reviews emails and responds as quickly as possible to help you resolve integration issues.

  • Email support only
  • No live chat or phone
  • Response times vary

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. IETF RFC 7845: Ogg Opus
  3. LibriVox public-domain audiobooks
  4. Node.js documentation
  5. OpenAI API reference: create speech
  6. ISO 639 language codes
  7. Tether (USDT)
  8. openai-python on GitHub
  9. Python documentation
  10. LibriTTS-R corpus (OpenSLR 141)
  11. FFmpeg documentation
  12. MDN: Web Speech API

More on this site