Text-to-Speech API for Animators: 8 Voices, $0.01/1k Chars

By ToonVoice API editorial team · Updated 2026-11-18

This guide explains how ToonVoice API helps small animation teams generate consistent voice-overs directly from scripts. You will learn to select from 8 distinct voices, configure the OpenAI-compatible endpoint, and manage budgets with precise per-character pricing.

Ideal for startups producing cartoons, this page covers technical setup, language support, and formatting tips. We provide concrete examples for Python, JavaScript, and cURL so you can integrate synthetic speech into your production pipeline without hiring full-time voice actors.

Text-to-Speech API for Animators: 8 Voices, $0.01/1k Chars

Frequently asked questions

What is the best voice for cartoons?

Q: Which voice is best for cartoons? A: There is no single best voice; choose based on your character’s personality. Aria offers a warm, clear narrator style, while Nova provides a bright, upbeat tone. For energetic promo-style roles, Felix is ideal. Milo delivers a friendly, conversational sound, and Orion suits deep, documentary-like narration. Select the preset that matches your animation’s mood.

How do I integrate the API?

Send a POST request to https://api.playabcdbet.com/v1/audio/speech with your Bearer token. The endpoint accepts JSON bodies identical to the OpenAI speech endpoint. You can use official OpenAI SDKs by simply changing the base_url. Include fields like model, input text, voice, and response_format to generate your audio file instantly.

What is the character limit?

Each API request supports up to 4096 characters of input text. For longer scripts, split your text into parts of this size and join the resulting audio files. This allows you to generate full-length episodes or series without hitting a hard cap, ensuring consistent audio quality across your entire animation project.

Can I use this for commercial projects?

Yes, you can use the generated audio for commercial projects. The 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. You retain the rights to the synthetic speech files you generate for your cartoons or videos.

How many languages are supported?

We support 23 languages, including English, Spanish, French, German, Japanese, and Chinese. 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. We do not support Vietnamese, Indonesian, Thai, or Ukrainian.

What is the price per character?

The price is $0.01 per 1,000 characters, or $10 per million characters. Spaces and punctuation count as characters. Failed requests are free, with the charge returned in full. There are no monthly plans, seats, or minimum spends, allowing you to pay only for the audio you actually generate.

Is there a free trial?

Yes, signing in with Google provides a $0.50 trial credit, valid for 7 days. This covers approximately 50,000 characters. Accounts created with email and password start without trial credit. You can top up your balance using USDT on the TRON network to continue generating audio after the trial expires.

How do I pay with USDT?

Top up your balance using USDT on the TRON network (TRC-20) only. The minimum top-up amount is $5. Credits are automatically added within minutes after your transfer is confirmed. We do not accept cards, PayPal, or subscriptions. Your balance does not expire, so you can use it whenever needed.

What audio formats are available?

You can request audio in mp3, wav, opus, flac, or pcm formats. Specify your preferred format in the response_format field of your API request. These options allow you to choose the right balance between file size and quality for your animation pipeline, whether for web streaming or high-fidelity editing.

Can I change the voice speed?

Yes, you can adjust the speed between 0.25 and 4.0. This allows you to speed up dialogue or slow down narration to match your animation’s timing. Simply include the speed parameter in your API request. This feature helps synchronize synthetic voices with visual cues without needing external audio editing tools.

Does the API support SSML?

No, the API does not support SSML. It accepts plain text input up to 4096 characters. You cannot use phoneme dictionaries or custom pronunciation lexicons. If you need precise control over pauses or emphasis, you may need to split your text into multiple requests or adjust speeds externally.

Is the audio watermarked?

Yes, every generated file carries an inaudible watermark that marks it as synthetic speech. This helps identify the audio as AI-generated without affecting the listening experience. Every generated file carries an inaudible watermark that marks it as synthetic speech.

How long does generation take?

Generation takes roughly real time, about 25 characters per second for long texts. Short phrases may take a few seconds. Requests are processed sequentially, so under load, a request may wait in a queue. For most animation scripts, this speed is sufficient for standard production workflows.

What if I exceed the rate limit?

The limit is 60 requests per minute per key (10 per minute before the first top-up). If you exceed this, requests may queue or fail. To increase throughput, consider splitting your script into smaller chunks. Failed requests are free, so you won’t be charged for retries.

Can I clone a voice?

No, we do not offer custom voice cloning. You must choose from the 8 available presets: Aria, Nova, Luna, Sage, Felix, Milo, Atlas, or Orion. These voices are based on licensed recordings from LibriTTS-R and LibriVox. You cannot upload your own voice or design custom tones for specific characters.

Do I need to install software?

No, you do not need to install any software. The API is cloud-based and accessed via HTTP requests. You can use the official OpenAI SDKs or plain HTTP. Just ensure your development environment can send POST requests to our API endpoint with the correct authentication headers.

Is there a mobile app?

No, there is no official mobile app or mobile SDK. You interact with the API via standard HTTP requests from any device with internet access. You can use our API from mobile apps, web browsers, or desktop applications by implementing the JSON request format in your code.

Can I use this for YouTube?

Yes, you can use the generated audio for YouTube videos. The audio is returned in the response and not stored by us. You can download the files and upload them directly to your YouTube channel. The inaudible watermark identifies the audio as synthetic, which is standard for AI-generated content.

How do I contact support?

Support is available by email only. We do not offer a phone number, live chat, or on-site support. For technical issues or billing questions, send an email to our support address. Response times may vary depending on volume, so include your API key and request details for faster assistance.

Is the data stored?

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. Request metadata, such as time, characters, and status, is kept for billing purposes.

Introduction to TTS in Animation

Sound wave illustration for: Introduction to TTS in Animation

Text-to-Speech (TTS) has become a practical tool for animation startups, offering a reliable way to generate voice-overs without the logistical overhead of hiring full-time voice actors. By sending your script through a simple API, you receive audio files that integrate seamlessly into your production pipeline.

This approach ensures consistent character voices across episodes and allows for rapid iteration. Animators can adjust dialogue speed or tone directly from the script, maintaining creative control while keeping production costs predictable and scalable.

Why Use TTS?

TTS provides a streamlined workflow for small animation teams. Instead of scheduling studio time or waiting for actor availability, you can generate audio on demand. This reduces bottlenecks and keeps your project moving forward efficiently.

The technology supports 23 languages, allowing you to localize your content quickly. With 8 distinct voice presets, you can match the tone of your animation precisely, from warm narrators to energetic promos.

  • Instant audio generation from text scripts
  • Consistent voice quality across episodes
  • Support for 23 languages
  • 8 distinct voice presets for different characters

Advantages for Startups

Startups benefit from the low barrier to entry. With a free trial of $0.50 credit and a pay-as-you-go model at $0.01 per 1,000 characters, you only pay for what you use. There are no monthly subscriptions or minimum spend requirements.

The API is easy to integrate. Using standard OpenAI SDKs with a simple base URL change, your team can add TTS functionality without building a custom infrastructure. This saves time and reduces technical debt.

  • No monthly subscriptions or minimum spend
  • Pay only for characters used
  • Easy integration with existing tools
  • No long-term commitments

Common Use Cases

TTS is ideal for generating voice-overs for cartoons, animated explainers, and indie games. You can create diverse character voices quickly, allowing for more creative freedom in your storytelling.

It’s also useful for prototyping. Test different voice tones and speeds in your animation software before committing to final production. This helps you refine your script and timing without re-recording.

  • Cartoon voice-overs
  • Animated explainers
  • Indie game dialogue
  • Prototyping and storyboarding

Voice Selection Guide

Sound wave illustration for: Voice Selection Guide

To choose the right voice for your animated characters, start by selecting from our eight distinct presets. Each voice is crafted for specific tonal qualities, ensuring your cartoon’s dialogue matches the intended mood without needing external voice actors.

Female Voices: Aria, Nova, Luna, Sage

Aria offers a warm, clear narration style perfect for straightforward dialogue. Nova brings a bright, upbeat energy ideal for comedic or high-energy scenes. Luna provides a soft, storytelling tone for gentle narratives, while Sage delivers a calm, instructional voice suitable for educational content.

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

Male Voices: Felix, Milo, Atlas, Orion

Felix is energetic and promo-ready, great for fast-paced action sequences. Milo offers a friendly, conversational tone for relatable characters. Atlas provides a neutral, news-style voice for clear exposition. Orion delivers a deep, documentary-style tone for serious or dramatic moments.

  • Felix: Energetic, promo
  • Milo: Friendly, conversational
  • Atlas: Neutral, news
  • Orion: Deep, documentary

Matching Voice to Genre

Pair Felix with action cartoons or Milo for slice-of-life stories. Use Aria or Luna for fantasy adventures, and Atlas for informational segments. Orion suits epic dramas. All voices support 23 languages, allowing consistent character voices across different international dubs without re-hiring talent. Any voice can speak any of these languages.

  • Action: Felix
  • Comedy: Milo, Nova
  • Drama: Orion, Luna
  • Education: Sage, Atlas

Technical Setup

Sound wave illustration for: Technical Setup

Start by visiting /get-api-key/ to generate your unique API key. This key authenticates your requests to the ToonVoice API. You can issue a new key at any time, and the previous one stops immediately, ensuring tight security for your animation studio’s production pipeline.

API Key Generation

Sign in with Google or email to access your dashboard. The interface displays your active key, balance, trial, characters left, usage and a ready curl example. Keep this key secure, as it grants full access to your account's credit and generation capabilities.

  • One active key per account
  • Instant invalidation of old keys

OpenAI SDK Configuration

Use the official OpenAI SDKs by simply changing the base URL to https://api.playabcdbet.com/v1. Your existing code structure remains compatible because the request shape matches the OpenAI speech endpoint exactly.

  • Compatible with OpenAI SDKs
  • No custom client required

Base URL Change

Point your HTTP client to the api.playabcdbet.com domain. Include your key in the Authorization header as Bearer tts-... . This simple configuration allows you to generate audio files directly from your script files or animation software.

Request Structure

Sound wave illustration for: Request Structure

To generate audio, send a POST request to https://api.playabcdbet.com/v1/audio/speech. The body is a JSON object containing the text, voice model, and output format. This structure mirrors the OpenAI API, allowing you to use existing client libraries with a simple base URL change.

Every request must include the essential parameters to define what voice speaks the text and how it should be encoded. Without these, the API cannot process your animation script correctly.

JSON Body Format

Send a standard JSON payload with your text content and desired voice settings. The API expects specific keys to determine the synthesis engine and output file type.

Required Parameters

You must provide the model ("tts-1" or "tts-1-hd"), the input text (up to 4096 characters), and the voice preset. The response_format (mp3, wav, opus, flac, or pcm) is also required to define the audio output.

Optional Tweaks

Adjust the speed between 0.25 and 4.0 to match your animation’s pacing. You can also specify a language ISO code (e.g., "en", "ja") to override automatic detection, ensuring accurate pronunciation for non-English scripts.

Handling Length and Speed

Sound wave illustration for: Handling Length and Speed

Generating long scripts requires handling the 4096-character input limit per request. Your application must split the text into chunks and join the resulting audio files seamlessly. This ensures every line of dialogue is captured without truncation.

Adjust the speech rate between 0.25 and 4.0 to match your animation’s pacing. Typical generation speed is roughly real-time, processing about 25 characters per second. Short phrases may take a few seconds, while longer texts are processed sequentially, potentially queuing under heavy load.

4096 Character Limit

Each API request accepts a maximum of 4096 characters, including spaces and punctuation. If your script exceeds this, you must split it into multiple requests. This limit applies to every individual call to the speech endpoint.

Splitting and Joining

Split your input text into parts of up to 4096 characters. Process each part individually and then concatenate the returned audio files in order. This workflow maintains continuity across long scenes or monologues.

Requests are processed one after another, so under load a request may wait in a queue.

  • Split text into 4096-character chunks
  • Process each chunk via POST /v1/audio/speech
  • Concatenate returned audio files sequentially

Speed Range 0.25–4.0

The speed parameter allows you to adjust the voice rate from 0.25x to 4.0x. Use slower speeds for dramatic pauses or faster rates for energetic scenes. This gives you precise control over the final audio timing without re-recording.

Generation typically runs at roughly real-time speed (25 characters per second). Short phrases may take a few seconds to process, ensuring high-quality output even at adjusted speeds.

  • Range: 0.25 to 4.0
  • Adjust for pacing and timing
  • Real-time generation speed

Language Support

Sound wave illustration for: Language Support

Our API supports 23 languages, enabling your animated characters to speak in Arabic, Chinese, Danish, Dutch, English, Finnish, French, German, Greek, Hebrew, Hindi, Italian, Japanese, Korean, Malay, Norwegian, Polish, Portuguese, Russian, Spanish, Swahili, Swedish, and Turkish. This broad coverage ensures your cartoon’s international appeal without needing separate voice talent for each region.

23 Languages Available

Every voice preset can speak any of these 23 languages. This flexibility allows you to maintain a consistent character voice across different linguistic versions of your animation, streamlining production for global releases.

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

Automatic Detection

If you do not specify a language, the API guesses it from the script’s script. Latin script defaults to English, which works well for most Western cartoons but may misinterpret other languages.

Manual Language Code

For non-English Latin-script text, always set the language parameter to ensure accurate pronunciation. This prevents the API from defaulting to English and ensuring your character sounds authentic in the intended language.

Audio Formats

Sound wave illustration for: Audio Formats

Your generated audio can be delivered in MP3, WAV, OPUS, or FLAC. Choose the format that best fits your animation pipeline, from web playback to post-production editing.

MP3 for Web

MP3 is the standard for web delivery. It offers small file sizes and broad compatibility, making it ideal for embedding voice-overs directly into HTML5 video players or web apps.

WAV for Editing

WAV provides uncompressed, high-quality audio. This format is perfect for importing into professional editing software like Adobe Premiere or DaVinci Resolve, ensuring no quality loss during your animation sync process.

OPUS and FLAC Options

OPUS and FLAC are valid options depending on your specific storage or bandwidth constraints. Both are valid options depending on your specific storage or bandwidth constraints.

Audio Formats

Pricing and Budgeting

Sound wave illustration for: Pricing and Budgeting

ToonVoice API charges a flat rate of $10 per 1 million characters, equating to $0.01 per 1,000 characters. Spaces and punctuation count toward the total. Failed synthesis requests are free, ensuring you only pay for successful audio generation. This predictable per-character model simplifies budgeting for animation startups scaling their content output.

The free trial provides $0.50 of credit (approx. 50,000 characters), valid for 7 days when signing in with Google. Accounts created with email/password start without trial credit. Balance never expires, and there are no monthly plans, seats, or minimum spend requirements.

Per Character Cost

Cost is calculated strictly on character count, including spaces and punctuation. At $0.01 per 1,000 characters, a typical 10-minute cartoon episode might cost only a few cents. This allows precise cost estimation before generation.

  • $10 per 1,000,000 characters
  • $0.01 per 1,000 characters
  • Spaces and punctuation count
  • Failed requests are free

Free Trial Details

Google sign-up accounts receive $0.50 in trial credit, valid for 7 days. Email/password accounts start with zero balance. The trial allows testing the API without immediate payment setup.

  • $0.50 credit for Google sign-ups
  • 7-day validity period
  • Email/password accounts start with $0

USDT Top-Up

Top-ups are processed via USDT on the TRON network (TRC-20). The minimum top-up is $5. Funds are credited automatically within minutes after the transfer is confirmed on the blockchain. No credit cards, PayPal, or invoices are supported.

  • USDT on TRON (TRC-20) only
  • Minimum top-up: $5
  • Automatic credit within minutes
  • No subscriptions or VAT invoices

Quality and Watermarks

Sound wave illustration for: Quality and Watermarks

Every audio file generated by ToonVoice API contains an inaudible watermark that clearly marks the output as synthetic speech. This allows you to identify the source without any audible artifacts or changes to the voice quality, ensuring your animation’s audio remains pristine.

Inaudible Watermark

The watermark is embedded directly into the audio waveform and is completely transparent to the listener. It serves as a verification tool for your production pipeline, confirming that the voice-over was generated via our API rather than a human recording.

Synthetic Indication

While the voices sound natural and consistent, the embedded signal indicates synthetic origin. This is particularly useful for animation startups needing to prove AI usage for copyright or distribution agreements without affecting the viewer's immersion.

Licensing Info

Our voices are based on licensed recordings from LibriTTS-R (CC BY 4.0) and public-domain audiobook readings from LibriVox. This provides the licensing basis for using these voices.

Common Pitfalls

Sound wave illustration for: Common Pitfalls

Developers integrating the ToonVoice API often hit snags that slow down animation pipelines. Knowing these common issues ahead of time helps you keep your production schedule on track without unexpected pauses.

This guide highlights three specific pitfalls: rate limits, voice mismatches, and character count errors, ensuring your API calls succeed the first time.

Rate Limit Exceeded

Your account allows 60 requests per minute. If you exceed this, new synthesis jobs will queue or fail. This is critical when generating long scripts quickly.

Startups often burst multiple voices simultaneously. Monitor your usage via the dashboard to avoid downtime during peak rendering hours.

  • Limit: 60 requests/minute per key
  • Start with 10 requests/minute before top-up
  • Use background jobs to spread load

Incorrect Voice Name

The API expects exact voice IDs like 'aria' or 'felix'. Using a display name or typo causes a 400 error.

Ensure your code references the precise 8 presets listed in the documentation. Case sensitivity matters for reliable generation.

  • Use 'nova', not 'Nova'
  • Check /v1/voices endpoint for valid IDs
  • Avoid custom names not in the preset list

Character Count Errors

Each request supports a maximum of 4096 characters. Exceeding this limit triggers an immediate rejection.

Split your script into chunks under this limit. Join the resulting audio files afterward to maintain narrative continuity in your cartoon.

  • Max 4096 chars per request
  • Count spaces and punctuation
  • Split long dialogues before sending

Integration Examples

Sound wave illustration for: Integration Examples

To integrate ToonVoice API into your animation pipeline, you can use standard HTTP clients or the OpenAI SDK by adjusting the base URL. This ensures compatibility with existing tools while keeping your workflow simple.

Python Example

Use the OpenAI Python library and point it to our API. Replace the base URL with https://api.playabcdbet.com/v1 and provide your key.

  • Install: pip install openai
  • Set base_url to https://api.playabcdbet.com/v1
  • Pass model='tts-1', voice='nova', and input text.

JavaScript Example

In Node.js, configure the OpenAI client similarly. Change the base URL to our endpoint and use your API key for authentication.

  • Set OPENAI_BASE_URL=https://api.playabcdbet.com/v1
  • Use openai.audio.speech.create()
  • Handle the returned audio buffer directly.

Curl Command

For quick testing, send a POST request with your text and voice selection. Use the Bearer token for authorization.

  • POST https://api.playabcdbet.com/v1/audio/speech
  • Header: Authorization: Bearer tts-...
  • Body: {"model": "tts-1", "voice": "aria", "input": "Hello world"}

Support and Contact

Sound wave illustration for: Support and Contact

When your animation pipeline stalls, we provide straightforward assistance via email. Since we operate as an independent API without live chat or phone lines, our support team reviews tickets directly and responds with practical solutions for integration issues or billing questions.

For immediate technical answers, consult our comprehensive documentation which covers every endpoint, parameter, and code example. The FAQ section below addresses common questions about voice selection, language support, and character limits to help you keep generating audio efficiently.

Email Support

Our support is email-only. We do not offer a phone number or live chat widget. Send your queries to our support address, and our team will review your issue directly. We focus on clear, practical solutions for animators and developers integrating our TTS API into their production workflows.

  • No phone number available
  • No live chat widget
  • Direct email support for all account and API issues

Documentation

Visit our /docs/ page for detailed technical guides. You will find complete references for the /v1/audio/speech endpoint, voice lists, and language codes. The documentation includes ready-to-use curl commands and SDK configurations for Python and JavaScript, helping you integrate voice synthesis into your animation pipeline quickly.

  • Full API reference
  • Code examples in Python and JavaScript
  • Guides for SDK configuration

FAQ Section

Our FAQ addresses frequent questions about voice selection, character counting, and payment methods. Learn why spaces count as characters, how to split long scripts, and which voices suit specific animation genres. This section helps you avoid common pitfalls like rate limits or incorrect language tags.

  • Voice selection tips
  • Character counting explained
  • Payment and top-up details

Listen to the 8 voices

Each sample below was generated by this API from the same sentence. The FAQ section below addresses common questions about voice selection, language support, and character limits to help you keep generating audio efficiently.

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. Python documentation
  3. LibriTTS-R corpus (OpenSLR 141)
  4. openai-python on GitHub
  5. LibriTTS-R paper (arXiv 2305.18802)
  6. curl documentation
  7. Tether (USDT)
  8. openai-node on GitHub
  9. TRON developer hub: TRC-20
  10. MDN: Web Speech API
  11. Creative Commons Attribution 4.0
  12. W3C WAI: making audio and video accessible

More on this site