Cloud Text-to-Speech API for Language Content Creators

By SpeakTone editorial team · Updated 2026-11-19

SpeakTone is a simple cloud text-to-speech API built for language learning content creators and developers. Convert your lesson scripts and pronunciation guides into natural audio files using the same developer-friendly tools you already know, so you can scale your voice content without complex infrastructure.

This page explains how to integrate our API into your platform, from selecting voices to managing billing. You will find concrete examples of JSON requests, supported languages, and pricing details to help you generate clear audio for students quickly and efficiently.

Cloud Text-to-Speech API for Language Content Creators

Frequently asked questions

What is a cloud based text to speech API?

It is a service where you send text via a POST request to https://api.wondercase.info/v1/audio/speech and receive an audio file. It uses the same request shape as OpenAI’s speech endpoint, so standard SDKs work by changing the base_url. You simply provide your text, model, and voice preferences to generate natural speech files for your content.

How does text to speech work for language learning?

Send your script text to the API endpoint, and receive a synthesized audio file. You can specify a language ISO code to ensure correct pronunciation, as the system guesses language from script otherwise. This allows you to generate clear audio for vocabulary lists or reading exercises without recording human voices for every new lesson.

Which voices are best for educational content?

For educational content, sage offers a calm, instructional tone, while aria provides a warm, clear narrator style. Milo is friendly and conversational, suitable for interactive lessons. Luna is soft and storytelling-focused. You can choose based on whether your content is instructional, narrative, or conversational, ensuring the voice matches your teaching style.

What is the character limit per request?

Each API request supports up to 4096 characters of input text. If your script exceeds this limit, you should split it into smaller parts. The API processes these parts sequentially, so you can join the resulting audio files to create a complete audio track for longer lessons or stories.

Can I control the speaking speed?

Yes, you can adjust the speaking speed between 0.25 and 4.0. This allows you to slow down audio for beginners or speed it up for advanced learners. You specify this value in the request body alongside your text and voice selection to tailor the audio pace.

What audio formats are supported?

The API supports mp3, wav, opus, flac, and pcm formats. You specify the desired format using the response_format field in your request. MP3 is efficient for web delivery, while WAV and FLAC offer high quality. PCM is useful for raw audio processing. Choose the format that best fits your platform.

How fast is the generation?

Generation is roughly real-time, producing about 25 characters of text per second of audio. Short phrases may take a few seconds. Requests are processed sequentially, so under load, a request might wait in a queue. For long texts, splitting them into chunks under 4096 characters helps manage processing time.

Is the API easy to integrate?

Yes, it uses the same request shape as OpenAI’s speech endpoint. You can use official OpenAI SDKs by changing the base_url to https://api.wondercase.info/v1. Send a POST request with your API key, text, and voice parameters. This familiarity makes integration straightforward for developers already using standard TTS tools.

What languages are supported?

The API 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 you do not set the language, it is guessed from the script.

Do I need a subscription?

No, there are no monthly plans or subscriptions. You pay only for what you use. There are no seats or minimum spend requirements. You can top up your balance with USDT whenever needed. Your balance does not expire, and you can start using the API immediately after adding funds.

How much does it cost?

The cost is $10 per 1 million characters, or $0.01 per 1,000 characters. Spaces and punctuation count as characters. Failed requests are free, with charges returned in full. There is a free trial of $0.50 credit for new Google sign-ins, valid for 7 days, allowing about 50,000 characters.

Are failed requests charged?

No, failed requests are free. If synthesis fails, the charge is returned in full. You only pay for successfully generated audio files. This ensures you are not penalized for technical issues during the synthesis process. You can check the status of your requests to confirm billing.

What is the free trial?

New accounts created with Google sign-in receive $0.50 of trial credit, valid for 7 days. This allows about 50,000 characters of text-to-speech generation. Accounts created with email and password do not receive trial credit. You can use this credit to test the API and voices before adding funds.

How do I pay with USDT?

You can top up your balance using USDT on the TRON network (TRC-20). The minimum top-up amount is $5. Credits are added automatically within minutes after the transfer. There are no cards, PayPal, or invoices. You can manage your payments and view your balance on the /get-api-key/ page.

First request

curl

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

Voice Generation for Language Learning

Sound wave illustration for: Voice Generation for Language Learning

SpeakTone delivers natural narration for language lessons, turning scripts into clear audio files. Our API supports 23 languages, ensuring accurate pronunciation for learners.

The synthetic voice is enhanced by an inaudible watermark, marking it as generated content while maintaining high clarity for educational materials.

Natural Narration for Lessons

Natural Narration for Lessons

Generate engaging lesson audio with voices like Aria or Luna. Each voice offers a distinct tone, suitable for storytelling or instructional content.

  • Supports 23 languages including English, Spanish, and Japanese
  • 8 distinct voice presets for varied content styles
  • Natural pacing for educational listening exercises

Clear Audio for Pronunciation

Use audio files to demonstrate correct pronunciation. The TTS engine generates audio from text, providing clear reference tracks for students.

  • MP3, WAV, Opus, FLAC, and PCM formats available
  • Consistent output quality across all 23 languages
  • Ideal for vocabulary and phonetic drills

Fast Generation Speeds

Audio generation takes roughly one second per 25 characters of audio. This real-time speed allows you to produce content quickly without long waits.

  • Approximately 25 characters per second of audio
  • Short phrases generate in a few seconds
  • Queue processing ensures steady output during load

Developer-Friendly Integration

Sound wave illustration for: Developer-Friendly Integration

SpeakTone’s API mirrors the OpenAI speech endpoint structure, allowing you to reuse existing code by simply adjusting the base_url to https://api.wondercase.info/v1. You can use standard OpenAI SDKs with your SpeakTone key, making integration immediate for developers already familiar with modern TTS workflows.

OpenAI SDK Compatibility

Leverage your current development stack without learning a new library. By pointing the SDK to our API endpoint, you access the same request and response shapes, ensuring a smooth transition for your language learning platforms.

  • Compatible with official OpenAI SDKs
  • Drop-in replacement for existing TTS code

Simple JSON Requests

Send text via a standard POST request with a JSON body containing model, input, and voice fields. The API returns audio files directly, handling the synthesis engine while you focus on your content delivery logic.

Standard Audio Formats

Choose from widely supported formats including mp3, wav, opus, flac, and pcm via the response_format field. This ensures your generated audio plays seamlessly across web browsers, mobile apps, and educational software without conversion overhead.

Multilingual Support

Sound wave illustration for: Multilingual Support

SpeakTone supports 23 languages, enabling creators to produce content for diverse global audiences without needing separate voice models. From English and Spanish to Arabic, Hindi, and Swahili, the API handles a wide range of linguistic requirements.

The system automatically detects the language based on the script’s script characters. If the text is in Latin script, it defaults to English unless specified otherwise, ensuring smooth integration for common use cases.

23 Supported Languages

We support 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, allowing flexible casting across your content library.

Automatic Language Detection

If you do not set the language field, the API guesses the language from the script. For non-English Latin-script text, it is recommended to set the language explicitly to avoid mispronunciation.

Not supported languages include Vietnamese, Indonesian, Thai, Ukrainian, Romanian, Czech, Bengali, and others not listed above.

Manual Language Override

To ensure accuracy, you can pass an optional ISO language code in the request. This overrides automatic detection, ensuring the correct accent and phonetics for your target audience.

This is particularly useful for mixed-language scripts or when generating content for specific regional variants within a supported language.

Transparent Pricing

Sound wave illustration for: Transparent Pricing

SpeakTone charges a flat rate of $10 per 1 million characters, equating to just $0.01 per 1,000 characters. Spaces and punctuation count toward this total, making it easy to predict costs for lesson scripts and pronunciation guides.

Pay Per Character

You only pay for the text you send. With a free trial of $0.50 (approx. 50,000 characters), you can test the API immediately after signing in with Google.

No Monthly Fees

There are no subscriptions, seats, or minimum spend requirements. Balance does not expire, and you can top up with USDT (TRC-20) on the TRON network whenever you need more credits.

Free Failed Requests

If synthesis fails, the charge is returned in full. This ensures you never pay for audio files that were not successfully generated.

Voice Selection

Sound wave illustration for: Voice Selection

Choose from eight distinct voice presets tailored for different narration styles, from warm narrators to energetic promoters. Each voice is designed to make your language learning content sound natural and engaging without requiring complex configuration.

Select male or female voices that best fit your lesson’s tone. Our diverse range ensures you can match the voice to the specific context, whether it’s a calm instructional guide or a bright, upbeat exercise.

8 Distinct Voices

Our library includes eight carefully crafted voice presets. You can choose from female voices like Aria, Nova, Luna, and Sage, or male options including Felix, Milo, Atlas, and Orion. Each voice offers a unique character to suit your content.

All voices support all 23 languages, ensuring consistent quality across your entire curriculum. You can switch voices between requests to keep your content fresh and dynamic.

  • 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

Male and Female Options

We provide four female and four male voices, giving you balanced options for dialogue exercises or dual-narrator lessons. This variety helps learners distinguish between different speakers and improves engagement.

You can assign specific voices to specific lessons or mix them within a single course. The API handles the transitions seamlessly, so you don’t need to manage complex audio editing.

Diverse Tones

From the deep, documentary style of Orion to the friendly conversational tone of Milo, our voices cover a wide spectrum of tones. This allows you to create immersive listening experiences for your students.

Each voice is based on licensed recordings, ensuring high-quality audio output. The synthetic watermark marks the files as AI-generated, maintaining transparency for your users while delivering natural-sounding speech.

Voice Selection

Technical Specifications

Sound wave illustration for: Technical Specifications

Ensure your scripts fit within the 4,096 character limit per request. Longer texts should be split into parts and joined afterward. This approach keeps each synthesis fast and predictable, avoiding timeout issues during high-volume generation.

Character Limits

Each API call accepts up to 4,096 characters, including spaces and punctuation. For longer lessons, split the text into chunks and concatenate the resulting audio files. This method maintains natural flow while staying within request constraints.

  • Maximum 4,096 characters per request
  • Spaces and punctuation count toward the limit
  • Split and join for longer texts

Speed Control

Adjust speech pace between 0.25x and 4.0x to match learning needs. Slower speeds help learners parse complex grammar, while faster rates simulate natural conversation. Typical generation speed is roughly real-time, processing about 25 characters per second.

  • Range: 0.25 to 4.0
  • Adjustable per request
  • Approx. 25 chars/sec generation speed

Audio Formats

Choose from mp3, wav, opus, flac, or pcm based on your platform’s requirements. MP3 offers efficient storage, while WAV provides uncompressed quality. All files are generated via POST requests and returned directly in the response.

  • Supported: mp3, wav, opus, flac, pcm
  • No streaming or WebSocket support
  • Standard HTTP response format

Content Creation Workflow

Sound wave illustration for: Content Creation Workflow

Turn your lesson scripts into natural audio files in minutes. Send text via a simple JSON request, and receive an MP3 or WAV file ready for your language learning platform.

Script to Audio

Paste your script into the API endpoint and receive high-quality speech. Long lessons are split into 4096-character chunks and joined, ensuring your entire course plays without interruption.

  • Send text, receive audio file

Batch Processing

Generate multiple audio files by splitting long texts or sending separate requests. Requests process sequentially, so queue times are minimal for typical usage, keeping your production pipeline moving smoothly.

Quick Integration

Use the standard OpenAI SDK or plain HTTP to integrate immediately. Change the base URL to our API endpoint and use your API key to start generating voice content for your users.

  • OpenAI SDK compatible
  • Simple JSON body
  • Standard audio formats

Why Choose Our API

Sound wave illustration for: Why Choose Our API

SpeakTone strips away the complexity of voice synthesis, offering a straightforward pricing model that scales with your actual usage. You only pay for what you generate, with no hidden monthly fees or minimum commitments.

Cost Effective

At $0.01 per 1,000 characters, your budget stretches further. Failed requests are free, so you never pay for errors. Start with a free trial credit to test the waters immediately.

  • Pay per character, not per minute
  • No monthly subscriptions or seats
  • Failed requests are free
  • Free trial credit on sign-up

Easy to Use

Integration is seamless if you already use the OpenAI SDK. Simply adjust the base URL and use your existing code structure. Our API follows standard JSON formats, making it intuitive for developers to generate audio files quickly.

  • OpenAI SDK compatible
  • Simple JSON requests
  • Standard audio formats (mp3, wav, opus, flac, pcm)

Reliable Infrastructure

Our cloud API processes requests steadily, delivering audio files without complex infrastructure management. With support for 23 languages and 8 distinct voices, you can reliably produce diverse content for language learners and educators worldwide.

Get Started

Sound wave illustration for: Get Started

Start by signing up on our /get-api-key/ page using your Google account or creating a standard email login. Google sign-ups instantly provide $0.50 in trial credit, valid for seven days, letting you test the API with approximately 50,000 characters before committing funds.

Sign Up for Free

Creating an account is quick and requires no credit card. Once registered, you receive a unique API key that you can regenerate at any time if needed. You have a rate limit of 10 requests per minute before your first top-up.

  • Google or email registration
  • Instant trial credit for Google users
  • No credit card required
  • 10 free requests/minute initially

Get Your API Key

Your dashboard displays your active Bearer token, current balance, and usage statistics. You can also view a ready-to-use cURL example to help you integrate immediately. If you need to refresh your key, simply issue a new one, and the old key stops working instantly.

  • View key and balance
  • Copy ready cURL example
  • Instant key rotation

Start Generating

Send a POST request to the speech endpoint with your text, selected voice, and desired format. The API returns the audio file directly in the response. For longer scripts, split your text into chunks of 4096 characters and join the resulting audio files to create seamless lessons.

  • POST /v1/audio/speech
  • Return JSON with audio data
  • Split text for long scripts

Listen to the 8 voices

Each sample below was generated by this API from the same sentence. Requests are sent via simple HTTP calls, allowing you to use tools you already know.

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

More on this site