Text-to-Speech API for Animation Script Voiceovers

By ToonTTS Lab editorial team · Updated 2026-11-18

ToonTTS Lab provides a dedicated text-to-speech API designed specifically for animation agencies. This page offers a clear overview of how synthetic voices can streamline your pre-production workflow, allowing you to test multiple character tones instantly without hiring voice actors for every draft. We focus on delivering realistic, scalable audio that fits seamlessly into cartoon dialogue and character work.

Here, you will find details on our 8 voice presets, technical integration options, and transparent pricing. Whether you are producing pilot episodes or global content in 23 languages, this guide helps you understand how to generate audio efficiently using the official OpenAI SDKs (by changing the base_url) or plain HTTP. Explore our demo, review privacy standards, and get started with your first API key today.

Text-to-Speech API for Animation Script Voiceovers

Frequently asked questions

Can I use ToonTTS audio for commercial animation projects?

Yes. Generated audio files are returned in the response and are not stored by our system. Input text is used only to produce the audio and is not used for training. You retain full rights to the generated files for your commercial animation projects without additional licensing fees.

Which voice is best for a young protagonist in a cartoon?

Q: Which voice is suitable for a young protagonist in a cartoon? A: Any of our eight presets can suit a young protagonist, depending on the character’s personality. For a bright, upbeat tone, try Nova. For a friendly, conversational style, choose Milo. Since any voice can speak any language, you can select the preset that best matches your character’s specific traits rather than a single "best" option.

How do I generate audio for a full episode script?

Split your script into parts of up to 4096 characters per request. Generate each part individually using the API endpoint, then join the resulting audio files. This ensures reliable synthesis for longer texts, as the API processes requests sequentially and handles character limits strictly.

Does the API support different audio formats for editing?

Yes. You can specify the response format as mp3, wav, opus, flac, or pcm in your request. This allows you to choose the best format for your editing workflow, whether you need compressed files for delivery or lossless formats for post-production editing.

Can I adjust the speaking speed for comedic timing?

Yes. You can adjust the speaking speed between 0.25 and 4.0. This allows you to fine-tune the pacing for comedic timing or dramatic effect. The speed parameter is part of the standard request body, giving you precise control over how fast the voice delivers the text.

What languages are supported for international dubbing?

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, making it suitable for international dubbing projects.

Is the synthetic voice detectable in final productions?

Yes. Every generated file carries an inaudible watermark that marks it as synthetic speech. This watermark is embedded in the audio file itself, allowing for detection if needed, while remaining transparent to the audience during normal playback in your final animation productions.

How much does it cost to generate 10 minutes of audio?

Pricing is $0.01 per 1,000 characters. A 10-minute audio file typically contains around 15,000–20,000 characters. Therefore, the cost would be approximately $0.15 to $0.20. Failed requests are free, so you only pay for successful synthesis.

Can I switch voices between scenes easily?

Yes. You can select any of the eight voice presets for each individual request. Simply change the voice parameter in your JSON body to switch between characters like Aria, Nova, or Atlas. This makes it easy to manage diverse dialogue across different scenes.

Do I need to sign up for a monthly plan?

No. There are no monthly plans, seats, or minimum spend requirements. You pay only for the characters you generate. You can top up your balance with USDT on the TRON network, and your balance does not expire, allowing flexible usage for your animation projects.

How fast is the API response time for short phrases?

Short phrases take a few seconds to generate. Longer texts process at roughly real-time speed (25 characters per second). Requests are processed sequentially, so under load, a request may wait in a queue.

Can I use the API with Python or JavaScript SDKs?

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.ak99apk.com/v1 and using your site’s key. This works seamlessly with Python, JavaScript, and other supported languages.

What happens if my text exceeds 4096 characters?

You must split your text into parts of up to 4096 characters and send multiple requests. The API does not automatically split long texts. You will need to generate each part individually and then join the resulting audio files to create the complete output.

Is there a trial period for new animation studios?

Yes. Signing in with Google provides $0.50 of credit, valid for 7 days, which covers about 50,000 characters. Accounts created with email and password start without trial credit. You can top up with USDT to continue generating audio for your projects immediately.

First request

curl

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

Why Animation Agencies Choose Synthetic Voices

Sound wave illustration for: Why Animation Agencies Choose Synthetic Voices

To replace voice actors for every draft, agencies send scripts directly to the TTS API. The system processes text up to 4096 characters and returns audio files, keeping your pipeline moving without scheduling delays.

Speed up the pre-production workflow

Speed up the pre-production workflow

Generate audio at roughly real-time speed (about 25 characters per second for long texts); short phrases take a few seconds. This allows your team to review dialogue scenes immediately after script approval, without waiting for studio bookings.

Test multiple character tones instantly

Switch between eight distinct presets like Luna for storytelling or Felix for promos. Iterate through character dynamics by adjusting speed from 0.25 to 4.0, ensuring every line fits the animation timing perfectly.

Reduce overhead for pilot episodes

Eliminate hourly voice actor rates for preliminary cuts. With transparent pricing at $10 per million characters, you only pay for the actual audio generated, keeping pilot budgets lean and predictable.

Our Voice Presets for Character Work

Sound wave illustration for: Our Voice Presets for Character Work

ToonTTS Lab provides eight distinct voice presets designed to help animation agencies prototype character dialogue without hiring multiple voice actors for every draft. Each voice is based on licensed recordings from LibriTTS-R and LibriVox, ensuring clear, consistent synthetic speech that fits various cartoon tones.

Warm narrators and upbeat heroes

Aria offers a warm, clear narration style, while Nova brings a bright, upbeat energy perfect for lively protagonists. Luna provides a soft, storytelling tone ideal for gentle scenes, and Sage delivers a calm, instructional voice suitable for expository segments.

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

Deep documentary-style tones

For serious or dramatic sequences, Atlas provides a neutral, news-like delivery, ensuring clarity and authority. Orion offers a deep, documentary-style voice that adds gravitas to dramatic reveals or historical segments within your animation.

  • Atlas: Neutral, news-style
  • Orion: Deep, documentary

Friendly conversational partners

Felix injects energy into promotional or high-paced dialogue, making him ideal for dynamic character interactions. Milo offers a friendly, conversational tone that feels natural for everyday cartoon dialogue, helping your scripts sound relatable and engaging.

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

Technical Integration for Dev Teams

Sound wave illustration for: Technical Integration for Dev Teams

ToonTTS Lab’s API mirrors the OpenAI speech endpoint structure, allowing your team to swap the base_url to https://api.ak99apk.com/v1 and keep existing integration code intact. This compatibility means you can leverage official OpenAI SDKs by changing the base_url to https://api.ak99apk.com/v1.

OpenAI-compatible SDK support

Use the same request shape as OpenAI’s TTS endpoint. Pass your tts-... key via the Authorization: Bearer header. This standardization lets your developers integrate quickly without learning a new proprietary protocol.

JSON API with standard endpoints

Send text via POST https://api.ak99apk.com/v1/audio/speech and receive an audio file. List available voices and models with GET /v1/voices and GET /v1/models. The API handles JSON bodies, making it easy to parse responses in any modern language.

Support for MP3, WAV, and OPUS formats

Specify your preferred response_format in the request: mp3, wav, opus, flac, or pcm. MP3 and OPUS are ideal for web delivery and smaller file sizes, while WAV offers lossless quality for post-production editing. Choose the format that best fits your studio’s workflow.

Global Production in 23 Languages

Sound wave illustration for: Global Production in 23 Languages

Animation agencies often produce content for global markets, requiring clear dialogue in multiple languages without hiring diverse voice talent for every draft. Our API supports 23 languages, including key Asian and European markets like Japanese, Korean, Chinese, French, and German, ensuring your scripts reach international audiences effectively.

Support for Asian and European markets

We cover 23 languages, including Arabic, Chinese, Danish, Dutch, Finnish, French, German, Greek, Hebrew, Hindi, Italian, Japanese, Korean, Malay, Norwegian, Polish, Portuguese, Russian, Spanish, Swahili, Swedish, and Turkish. Each voice preset can speak any of these languages, allowing you to maintain a consistent audio style across different regional versions of your animation.

Automatic language detection

If the language is not set, it is guessed from the script (Latin text defaults to English). For non-English Latin-script text, you can explicitly set the language parameter to ensure accurate pronunciation. This simplifies batch processing for scripts that mix languages or use specific dialects.

Consistent voice across episodes

Use the same voice preset (e.g., Aria for narrators or Felix for energetic promos) across all episodes and languages. This ensures character consistency even when the dialogue is translated. Note that Vietnamese, Indonesian, Thai, Ukrainian, Romanian, Czech, and Bengali are not currently supported.

Transparent Pricing for Studio Budgets

Sound wave illustration for: Transparent Pricing for Studio Budgets

Billing is based strictly on character volume: $10 per million characters, or $0.01 per 1,000 characters. Every space and punctuation mark counts. Failed synthesis requests are free, ensuring you only pay for usable audio files.

Pay only for generated characters

You are charged precisely for the text processed. With a limit of 4,096 characters per request, long scripts are split and joined seamlessly. Failed requests incur no charge, protecting your budget during testing.

  • $10 per 1,000,000 characters
  • Failed requests are free
  • No hidden per-minute fees

No monthly seat costs

Unlike traditional voice-over platforms, there are no recurring subscription fees or per-seat licenses. You do not pay for idle accounts or unused capacity. Our model scales with your production volume, making it ideal for agile animation studios.

Instant credit via TRON network

Top-ups are processed via USDT on the TRON network (TRC-20) only. Minimum deposit is $5. Credits appear in your balance automatically within minutes of transfer confirmation, keeping your pipeline moving without invoice delays.

  • USDT (TRC-20) only
  • Minimum $5 top-up
  • Automatic credit within minutes
Transparent Pricing for Studio Budgets

Demo: Hear the Difference

Sound wave illustration for: Demo: Hear the Difference

ToonTTS Lab provides synthetic voices suitable for cartoon dialogue and character work. Our engine supports eight distinct presets, allowing you to quickly test multiple character tones without hiring voice actors for every draft.

Compare male and friendly conversational partners

Explore voices like Milo, who offers a friendly, conversational tone perfect for everyday characters, or Felix, who delivers an energetic, promo-style delivery ideal for dynamic scenes. Female options include Aria, a warm narrator, and Nova, who brings a bright, upbeat energy to lively dialogues.

  • Milo: Friendly, conversational
  • Felix: Energetic, promo
  • Aria: Warm, clear narrator
  • Nova: Bright, upbeat

Listen to speed variations

Adjust speech rate from 0.25 to 4.0 to match your animation’s pacing. Whether you need slow, deliberate exposition or rapid-fire comedic banter, the API handles speed changes seamlessly without re-recording.

Check audio quality samples

Generate audio in MP3, WAV, OPUS, FLAC, or PCM formats. Each file includes an inaudible watermark marking it as synthetic speech. Text input is limited to 4096 characters per request, ensuring consistent quality for short phrases and scenes.

Data Privacy for Scripts

Sound wave illustration for: Data Privacy for Scripts

Your script’s narrative structure is sensitive. ToonTTS Lab processes your input text strictly to produce the audio file. Once the synthesis is complete, the generated audio is returned in the response and is not stored on our servers. This ensures your story ideas remain yours during the drafting phase.

We do not use your input text or generated audio to train our models. The only data we retain is the request metadata—such as timestamp, character count, and status—which is necessary for accurate billing and usage tracking.

Text used only for generation

We process your input text solely to create the audio output. No long-term storage of your creative content occurs after delivery.

Generated audio files are returned directly in the API response and are not persisted on our infrastructure.

No training on your dialogue

Your scripts, whether pilot episodes or final cuts, are never used to improve our voice models. This keeps your unique character voices and narrative styles distinct from our general dataset.

This separation ensures that your intellectual property remains isolated from our training data, maintaining confidentiality for your production pipeline.

Secure API key management

Each account holds one active API key. You can issue a new key at any time, and the previous one stops immediately, preventing unauthorized access to your usage.

This one-key-per-account model simplifies security management for your development team, ensuring clear audit trails for your API usage.

Getting Started with ToonTTS

Sound wave illustration for: Getting Started with ToonTTS

ToonTTS Lab is built for speed. You can sign up using Google or an email password in minutes. Once logged in, your dashboard immediately displays your unique API key, current balance, and a ready-to-use cURL example tailored for animation workflows.

Create your account in minutes

Visit the /get-api-key/ page to register. Use Google for instant access or standard email authentication. Your account is active immediately, allowing you to start testing voices without waiting for approval.

Generate your API key

Your dashboard displays your active Bearer token under the Auth section. You can issue a new key at any time via the dashboard; the old key stops working instantly, ensuring security without downtime.

  • Keys start with tts-
  • One active key per account
  • Issue new keys instantly

Run your first curl command

Use the provided cURL example on your dashboard. Point it to https://api.ak99apk.com/v1 and replace the placeholder with your key. Send a short text to receive an audio file instantly, verifying your integration works before scaling up for your pilot episodes.

Frequently Asked Questions

Sound wave illustration for: Frequently Asked Questions

Answering common questions for animation teams using synthetic voiceovers.

Streamline your pipeline with clear, factual details.

Can I use this for commercial cartoons?

Yes. The generated audio files are yours to use commercially. Each file carries an inaudible watermark identifying it as synthetic speech, but there are no restrictions on using these voices in your animated productions.

How do I handle long script episodes?

Split your script into parts of up to 4096 characters and generate them separately. Then join the resulting audio files. This ensures stable processing, as requests are handled sequentially and may queue under load.

What if a voice generation fails?

If synthesis fails, you are not charged. The cost is returned in full to your account balance, so you can retry with adjusted parameters without financial loss.

Listen to the 8 voices

Each sample below was generated by this API from the same sentence. Our studio crafts vibrant characters and immersive worlds that bring your brand's story to life with captivating visual flair.

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

More on this site