Cloud TTS API for Indie Animation & Game Audio

By Cartoon Voice Lab editorial team · Updated 2026-11-18

Cartoon Voice Lab provides a cloud Text-to-Speech API built for freelance animators and game developers who need consistent character voices without hiring full casts. Send your scripts via a simple HTTP request and receive usable audio files, eliminating casting delays. Requests are processed sequentially, so generation typically takes a few seconds for short phrases or roughly real-time for longer texts, keeping your production pipeline moving steadily.

This page details how our straightforward API integrates with your workflow using standard OpenAI SDKs. You get access to 8 distinct preset voices across 23 languages, with transparent pricing and no monthly fees. Whether you are creating indie games or animated shorts, start generating voice lines today with our easy-to-use tools.

Cloud TTS API for Indie Animation & Game Audio

Frequently asked questions

What is an AI voice generator for characters?

It’s a cloud TTS API that converts text into audio files. Send a script via POST request and receive synthesized speech. This lets freelance animators and game devs generate consistent voice lines without hiring full casts, using eight distinct presets across twenty-three languages.

How do I choose the right voice for my animation character?

Pick from eight presets matching your character’s vibe: Aria (warm narrator), Nova (bright), Luna (soft storyteller), Sage (calm instructor), Felix (energetic promo), Milo (friendly), Atlas (neutral news), or Orion (deep documentary). Any voice speaks all 23 supported languages. If your text uses Latin script but isn’t English, set the language parameter explicitly to ensure correct pronunciation.

Can I use these voices in commercial game projects?

Yes, generated audio files are yours to use in your projects. The input text is not used for training, and generated audio is not stored by the service. You simply pay for the characters generated, with no monthly plans or seat limits restricting your commercial usage.

How many languages are supported?

Cartoon Voice Lab 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 isn’t set, it’s guessed from the script, but you should specify the ISO code for non-English Latin text to ensure accuracy.

What happens if my API request fails?

If synthesis fails, the charge is returned in full. You are only billed for successful requests. This ensures you do not pay for audio files that were not delivered, protecting your budget while you iterate on your character scripts and voice settings.

Do I need to generate all voice lines at once?

No. Generate lines individually or in batches, keeping each request under 4096 characters. For longer scripts, split the text, generate each part, and join the audio files. Requests are processed sequentially, so under load, a request may wait in a queue. You can send multiple requests concurrently, but they will queue up rather than improving throughput beyond the sequential processing limit.

Can I adjust the speed of the character dialogue?

Yes. Set the speed parameter between 0.25 and 4.0 to adjust dialogue pacing for your animation or game. This allows you to fine-tune timing requirements for specific character scenes directly in your API request. Note that requests are processed sequentially, so under load, generation may wait in a queue before producing the audio file.

Is there a limit to the length of a single voice line?

Yes, each API request accepts up to 4096 characters. For longer voice lines, split the text into chunks of this size. Generate audio for each part individually, then join the resulting files to create the complete dialogue sequence for your character.

How is the character's language detected?

The API guesses the language from the script, defaulting to English for Latin text. For other languages, explicitly set the language parameter. This ensures accurate synthesis across our 23 supported languages, such as Arabic, Japanese, or Swahili, without relying on SSML or custom voice cloning.

Do I need to credit the voice actors?

Our voices are based on LibriTTS-R (CC BY 4.0) and LibriVox public-domain readings. Every generated file carries an inaudible synthetic watermark to mark it as synthetic speech. While the source data uses CC BY 4.0, we do not explicitly mandate specific voice actor attribution for your final audio files. You should verify the specific attribution requirements of your project to ensure compliance with the underlying recording licenses.

Can I mix different voices in one project?

Yes. Assign each character a different voice preset (e.g., Aria, Felix) via the voice parameter. Generate audio for each line separately, then join the files. This lets you build diverse casts for animations and games without hiring multiple voice actors.

What audio formats are available for game engines?

You can choose from mp3, wav, opus, flac, or pcm formats. These are returned directly in the API response, allowing you to integrate audio files into your game engine pipeline efficiently. Select the format that best suits your project’s requirements, whether you need compressed MP3 for web or uncompressed WAV for high-fidelity sound design.

How long does it take to generate audio?

Generation runs at roughly real-time speed (25 characters per second). Short phrases take a few seconds. Since requests are processed sequentially, high traffic may cause queuing delays. For long texts, split input into 4096-character chunks to join audio files efficiently. Plan your workflow timing accordingly to account for potential queue wait times during peak usage.

Can I use the API for YouTube animations?

Yes. The API returns audio in the response without storing it, making it ideal for YouTube animations. You pay per character ($0.01 per 1,000 chars) with no monthly plans. Each file includes an inaudible watermark identifying it as synthetic speech. You can download the generated audio directly for use in your projects.

First request

curl

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

Generate Voice Lines for Your Characters

Sound wave illustration for: Generate Voice Lines for Your Characters

Turn your character scripts into usable audio files with a simple POST request. Send text and receive the audio file directly in the response, enabling a fast workflow from script to final asset without manual recording sessions.

Our API processes requests sequentially, with typical generation speeds matching real-time production for long texts. This ensures consistent quality and predictable timing for your animation pipelines.

Consistent Character Voices

Use one of 8 distinct preset voices to maintain character identity across episodes or game levels. Whether you need a warm narrator for an explainer or an energetic tone for a trailer, the same voice preset is applied consistently to every request.

Each voice is based on licensed recordings, ensuring a professional standard without the variability of amateur voice actors. You can switch voices instantly for different characters in the same script.

  • 8 distinct preset voices available
  • Same voice preset for consistent character identity
  • Suitable for narrators, promos, and lore

Instant Script-to-Audio

Send up to 4096 characters per request and receive the audio file immediately. The API returns the file in formats like MP3, WAV, OPUS, FLAC, or PCM, ready for import into your animation or game engine.

For longer scripts, split the text into parts of up to 4096 characters and join the resulting audio files. This allows you to generate full episodes or long game dialogues without waiting for a single massive request.

No Casting Delays

Skip the scheduling and hiring of full voice casts. Generate voice lines on demand whenever your script changes. This is ideal for indie animators and game developers who need to iterate quickly without waiting for external voice actors.

You can generate audio as many times as needed to get the perfect take. With a free trial credit of $0.50, you can test multiple variations before committing to a production budget.

8 Distinct Preset Voices

Sound wave illustration for: 8 Distinct Preset Voices

Cartoon Voice Lab provides eight distinct voice presets designed specifically for character-driven projects. Each voice is generated from licensed recordings, ensuring consistent and usable audio for your indie animations and games without the need for full voice casts.

Warm Narrators for Explainers

Use Aria’s warm, clear narration or Luna’s soft storytelling tone for character intros and dialogue. Sage offers a calm, instructional voice perfect for tutorials or lore descriptions.

Nova provides a bright, upbeat alternative for lighter scenes or energetic side characters.

  • Aria: Warm, clear narrator
  • Luna: Soft, storytelling
  • Sage: Calm, instructional
  • Nova: Bright, upbeat

Energetic Promos for Trailers

Felix brings high energy to promotional trailers and action sequences, delivering lines with a dynamic punch. Milo offers a friendly, conversational tone ideal for modern, relatable characters in dialogue-heavy scenes.

  • Felix: Energetic, promo
  • Milo: Friendly, conversational

Deep Documentaries for Lore

Atlas provides a neutral, news-style delivery for straightforward exposition or world-building elements. Orion’s deep, documentary-style voice adds gravity and weight to historical or serious narrative arcs.

  • Atlas: Neutral, news
  • Orion: Deep, documentary
8 Distinct Preset Voices

Support for 23 Languages

Sound wave illustration for: Support for 23 Languages

Cartoon Voice Lab enables you to localize your animated projects across 23 languages, including English, Japanese, Spanish, and Arabic. Each of our 8 voice presets speaks all supported languages fluently, allowing you to maintain consistent character personalities from English dubbing to Korean or Turkish adaptations without hiring separate voice actors for each market.

This broad linguistic support ensures your indie animation or game reaches a global audience with authentic-sounding dialogue, regardless of the source language.

Global Localization Support

You can generate voice lines in any of the 23 supported languages using any of the 8 voice presets. This flexibility means your character Aria can narrate a story in French, while Milo delivers friendly dialogue in Russian, all with the same consistent tone and quality.

Whether you are creating a short film or a complex RPG, you can produce audio in Arabic, Hindi, Swahili, or any other supported language without needing external translation or voice casting services.

Latin Script Language Guessing

If you do not specify a language, the API guesses the language based on the script. Latin-script text defaults to English, which is convenient for simple English scripts but requires attention for other languages.

For non-English Latin-script text (e.g., German or Spanish), you should explicitly set the language parameter to ensure accurate pronunciation and accent.

Explicit Language Tagging

To guarantee accuracy, always set the language field in your API request with the appropriate ISO code. This overrides the default guessing logic and ensures the voice synthesizer applies the correct phonetic rules for languages like Greek, Hebrew, or Japanese.

Explicit tagging prevents mispronunciations that might occur if the system incorrectly guesses the language from Latin characters, ensuring your character's voice remains authentic to the target market.

Simple API Integration

Sound wave illustration for: Simple API Integration

Integrate our cloud TTS API into your animation pipeline with minimal code. We use the same request shape as the OpenAI speech endpoint, so if you already use the OpenAI SDK, you can switch our service by simply changing the base_url to https://api.tkb399thai.com/v1 and updating your API key. This compatibility allows indie animators and game developers to swap engines without rewriting their integration logic.

OpenAI SDK Compatible

Our API mirrors the structure of the OpenAI speech endpoint. This means you can use official OpenAI SDKs for Python, Node.js, or other languages just by pointing them to our base URL. You retain all the convenience of modern SDKs while benefiting from our specific voice presets and pricing model designed for creative workflows.

JSON Request Body

Send your character scripts via a simple JSON POST request to /v1/audio/speech. Include the model (tts-1 or tts-1-hd), the input text (up to 4096 characters), and your chosen voice. The API returns the audio file directly in the response body, allowing you to pipe the output straight into your rendering or game engine without managing intermediate files.

Multiple Audio Formats

Choose the output format that best fits your production needs. We support MP3, WAV, OPUS, FLAC, and PCM. While OPUS is a standard audio container, it is provided here as a file format option, not as a streaming protocol, since we do not offer WebSocket or real-time partial audio streaming. Select the format that matches your engine’s requirements for size and quality.

  • MP3: Small file size, widely compatible
  • WAV: Lossless, uncompressed audio
  • OPUS: Efficient compression for web and mobile
  • FLAC: Lossless compression for archival quality
  • PCM: Raw uncompressed audio data

Cost-Effective Production

Sound wave illustration for: Cost-Effective Production

Cartoon Voice Lab charges $0.01 per 1,000 characters, making it highly economical for indie productions. Failed requests are free, so you only pay for successful audio generation. This transparent pricing model eliminates hidden costs, allowing you to budget precisely for your character scripts and dialogue lines.

Pay Per Character

The cost is $10 per 1 million characters, or $0.01 per 1,000 characters. Spaces and punctuation count toward this total. You can generate as many voice lines as needed without worrying about fixed monthly rates or exceeding a hidden limit.

No Monthly Fees

There are no subscriptions, seats, or minimum spend requirements. You top up your balance with USDT (TRC-20) on the TRON network, with a minimum deposit of $5. Your balance never expires, and you only pay for the audio you actually use.

Trial Credit Available

Sign in with Google to receive a $0.50 trial credit, valid for 7 days. This provides approximately 50,000 characters to test the API with your own scripts. Accounts created with email and password do not receive this trial credit.

Cost-Effective Production

Technical Specifications

Sound wave illustration for: Technical Specifications

The API accepts input text up to 4096 characters per request. For scripts exceeding this limit, split your text into parts and join the resulting audio files. Generation speed averages roughly 25 characters per second, so longer scenes may require queuing during high load.

4096 Character Limit

Each API call processes a maximum of 4096 characters, including spaces and punctuation. If your character’s dialogue is longer, divide the text into smaller chunks. Generate each part separately and concatenate the audio outputs to create the final file.

Speed Control 0.25-4.0x

Adjust the speed parameter between 0.25 and 4.0 to match the pacing of your animation. Slow down lines for dramatic effect or speed up dialogue for rapid exchanges. The engine maintains clarity across this entire range.

MP3, WAV, OPUS, FLAC, PCM

Choose your preferred audio format via the response_format field. MP3 offers small file sizes for web delivery. WAV and FLAC provide high-quality uncompressed or lossless audio for post-production. PCM delivers raw data, while OPUS provides efficient compression for web delivery without implying streaming support.

Licensing and Data

Sound wave illustration for: Licensing and Data

Cartoon Voice Lab’s eight preset voices are derived from licensed recordings. We use the LibriTTS-R dataset (CC BY 4.0), sourced from public-domain audiobook readings on LibriVox. This foundation ensures our voice models are built on legally cleared audio, giving indie animators and game developers a reliable, royalty-friendly starting point for their projects without worrying about complex voice licensing chains.

LibriVox Licensed Voices

Our voice presets—like Aria, Nova, and Atlas—are synthesized from the LibriTTS-R dataset. This dataset comprises public-domain recordings available via LibriVox, licensed under CC BY 4.0. By leveraging these established, cleared recordings, we provide a consistent audio base that respects the original creators’ public-domain status while offering you distinct, high-quality character voices.

Synthetic Watermarking

Every audio file generated through our API contains an inaudible watermark. This invisible marker identifies the audio as synthetic speech, which is helpful for content creators who need to disclose AI-generated elements in their games or animations. It’s a subtle layer of transparency that doesn’t affect the listening experience.

Input Not Used for Training

When you send text to our API, it is used solely to generate the specific audio file you receive. We do not store your character scripts or dialogue for the purpose of training our models. Once the audio is returned in the response, the input text is not retained for future model development, keeping your creative content private.

Why Indie Creators Choose Us

Sound wave illustration for: Why Indie Creators Choose Us

Requests are processed sequentially, meaning generation speed aligns closely with real-time playback for standard lengths—roughly 25 characters per second. While short phrases may take a few seconds to compile, longer scripts benefit from consistent throughput without complex infrastructure management.

Fast Turnaround

Standard generation runs at approximately real-time speed, allowing you to iterate on voice lines rapidly. Short phrases typically complete in seconds, while longer texts process sequentially, ensuring predictable timing for your animation pipeline.

No Minimum Spend

There are no monthly plans, seats, or minimum spend requirements. You pay strictly for what you use at $0.01 per 1,000 characters. Failed requests are refunded in full, so you only pay for successful audio generation.

Flexible Top-Ups

Fund your account using USDT on the TRON network (TRC-20). The minimum top-up is $5, and credits are added automatically within minutes. Your balance never expires, giving you complete control over your production budget.

Why Indie Creators Choose Us

Get Started Today

Sound wave illustration for: Get Started Today

Sign up using your Google account to instantly receive $0.50 in trial credit, enough for about 50,000 characters. This free trial is valid for seven days, letting you test the API without entering payment details first.

Sign Up with Google

Visit our registration page and click the Google sign-in button. Accounts are created per site, so ensure you are on tkb399thai.com. Once registered, your account is ready to accept requests immediately.

Get Your API Key

Your unique API key appears on the dashboard alongside your current balance. Use this key in the Authorization: Bearer header for all requests. You can generate a new key at any time, which instantly invalidates the old one.

Start Generating Audio

Send a JSON payload to POST https://api.tkb399thai.com/v1/audio/speech. Include your model, input text, and chosen voice. The endpoint returns a direct audio file, compatible with standard OpenAI SDKs by updating the base URL.

  • Use tts-1 or tts-1-hd for the same engine and price.
  • Input text is limited to 4096 characters per request.
  • Choose from 8 distinct voices and multiple audio formats like MP3 or WAV.

Listen to the 8 voices

Each sample below was generated by this API from the same sentence. Capturing your unique style with fluid motion brings freelance animation dreams to life for every client.

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

More on this site