Frequently asked questions
Can I use the API to generate audio for Harry Potter books?
A: Yes, you can generate audio for any text, including Harry Potter books, as long as you have the necessary rights to the content. The API does not check copyright status. You send plain text via POST to the speech endpoint and receive an audio file. Since input is limited to 4096 characters per request, you must split longer stories into parts and join the resulting audio files.
How many characters can I send in one request?
You can send up to 4096 characters in a single request. This limit applies to the input field in the JSON body. If your text exceeds this length, you should split it into smaller parts, generate audio for each part, and then join the audio files together to create the final narration.
What languages are supported for children's stories?
We support 23 languages, including English, Spanish, French, German, Italian, Portuguese, Russian, Chinese, Japanese, Korean, Arabic, Hindi, and more. Any voice can speak any of these languages. If you do not specify a language, it is guessed from the script, but for non-English Latin text, we recommend setting the language field explicitly for best results.
Can I control the speed of the narration?
Yes, you can control the speed using the speed parameter. The allowed range is from 0.25 to 4.0. A value of 1.0 is normal speed. You can slow it down for clearer instruction or speed it up for faster narration. This allows you to tailor the pacing to your audience's needs, such as young children or advanced learners.
Is the audio generated commercially usable?
The voices are based on licensed recordings (LibriTTS-R, CC BY 4.0) and public-domain audiobook readings. The generated audio includes an inaudible watermark marking it as synthetic. You should verify specific licensing requirements for commercial use based on the source voice data and your intended distribution channel.
Do I need technical skills to use the API?
Basic technical skills are helpful but not strictly required. The API uses standard HTTP requests with JSON bodies, similar to the OpenAI speech endpoint. You can use the official OpenAI SDKs by changing the base_url. We provide ready curl examples on the /get-api-key/ page. If you can send a POST request, you can generate audio.
What audio formats are available?
You can choose from mp3, wav, opus, flac, and pcm formats. Specify the desired format using the response_format field in your request. MP3 is suitable for web playback, while WAV and FLAC offer high quality for archival or professional editing. PCM provides raw audio data if you need to process it further.
How much does it cost to generate an audiobook?
Pricing is $10 per 1 million characters, or $0.01 per 1,000 characters. Spaces and punctuation count as characters. For example, a 10,000-character story costs $0.10. Failed requests are free. You pay only for successful generations. Top-ups are done via USDT on the TRON network (TRC-20), with no monthly plans or minimum spend.
Can I change the voice after generating audio?
No, you cannot change the voice after the audio file is generated. The voice is determined by the voice parameter in your request (e.g., aria, nova, luna, sage, felix, milo, atlas, orion). To use a different voice, you must send a new request with the desired voice parameter and receive a new audio file.
Is there a free trial available?
Yes, a free trial of $0.50 credit is available when you sign in with Google. This provides about 50,000 characters of audio generation, valid for 7 days. Accounts created with email and password do not receive this trial credit. You can view your balance and trial status on the /get-api-key/ page.
How do I handle long texts like full novels?
Split your text into parts of up to 4096 characters. Send each part as a separate request to the speech endpoint. Receive the audio file for each part, then join these audio files together to create the complete narration. This approach ensures you stay within the character limit per request while producing a full audiobook.
What happens if a request fails?
If synthesis fails, the charge is returned in full. You are not billed for failed requests. This means you can retry failed requests without worrying about extra costs. Check the response status to identify failures and retry as needed. The API processes requests sequentially, so under load, there might be a queue, but failures are refunded.
Are the voices suitable for young children?
Yes, Luna (soft, storytelling) and Nova (bright, upbeat) suit children’s stories. Aria (warm, clear narrator) and Sage (calm, instructional) work well for educational content. Adjust speed (0.25–4.0) for younger audiences. Voices use licensed LibriTTS-R recordings. Note: these are eight preset voices, not custom voice cloning.
Do I need to credit the API in my content?
No. While our voices derive from LibriTTS-R (CC BY 4.0) and LibriVox readings—licences that typically require attribution—the API itself does not mandate visible credit. Generated audio includes an inaudible synthetic watermark. We recommend checking the specific source data licenses for your use case, but no API attribution is required.
First request
curl
curl https://api.cb333.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.mp3Why Choose AI Narration for Children's Stories?
Narrating children's stories often requires maintaining distinct personalities across long texts. AI narration ensures consistent character voices, so your little listeners never lose track of the plot. Whether it is the warm tone of Aria for bedtime tales or the energetic Felix for action scenes, the voice remains steady throughout the entire book.
Producing audio traditionally takes days of studio time. Our API generates audio at roughly real-time speed, so a 4096-character chapter takes roughly 4096 seconds (about 68 minutes) to generate. This allows creators to update stories quickly or produce multiple chapters in a single afternoon without waiting for voice actors.
Consistent Character Voices
Switching between characters is seamless with our eight distinct presets. Use Luna for soft storytelling or Milo for conversational bits. Each voice is based on licensed recordings, ensuring a natural, human-like quality that engages young ears without the monotony of a single narrator.
Unlike human actors who might tire or change tone, our voices remain consistent from the first page to the last. This reliability helps children focus on the story rather than adapting to new vocal styles every few minutes.
- Aria: Warm, clear narrator for gentle tales
- Felix: Energetic and perfect for promo-style excitement
- Luna: Soft and ideal for storytelling
- Milo: Friendly and conversational for interactive stories
Fast Production Speed
Speed is critical for content creators who publish regularly. Our system processes requests quickly, returning audio files almost instantly for short phrases and at real-time speed for longer texts. You can generate a full chapter in the time it takes to read it once.
Short phrases may take a few seconds, but under normal load, generation is prompt. This allows you to iterate on your script and produce new episodes rapidly, keeping your audience engaged with fresh content.
Cost-Effective Scaling
Traditional audiobook production involves studio rentals and actor fees that scale with length. With our API, you pay only for what you use: $10 per million characters. There are no monthly fees or minimum spend requirements, making it easy to start small.
You can scale your library without worrying about escalating costs. Whether you are creating one story or a hundred, the price remains predictable. Failed requests are free, so you never pay for errors.
Start with a free trial of $0.50 credit to test your workflow. Top-ups via USDT on the TRON network (TRC-20) are processed automatically, ensuring you never run out of credits while creating.
Our Voice Library for Storytelling
Our eight voice presets are designed to bring children's stories to life with distinct personalities. Whether you are narrating a gentle fairy tale or an exciting adventure, you can select a voice that matches the mood of your text perfectly.
Warm Narrators for Bedtime Stories
Use Aria’s warm, clear narration or Luna’s soft storytelling tone to create soothing bedtime stories. These voices help calm young listeners and make classic tales feel intimate and engaging.
- Aria: Warm, clear narrator
- Luna: Soft, storytelling tone
Energetic Voices for Action Scenes
Bring action sequences to life with Felix’s energetic promo style or Milo’s friendly, conversational tone. They add excitement and pace to adventure stories, keeping children engaged from start to finish.
- Felix: Energetic, promo style
- Milo: Friendly, conversational
Calm Voices for Educational Content
Sage offers a calm, instructional voice perfect for learning materials and educational stories. Atlas provides a neutral, news-like tone for clear delivery, ensuring information is absorbed easily without distraction.
- Sage: Calm, instructional
- Atlas: Neutral, news-like
Support for Multilingual Stories
StoryWhisper supports 23 languages, allowing you to narrate fairy tales and educational materials for a global audience. Whether your story is set in a Japanese village or a Spanish town, our engine delivers clear, natural-sounding narration that respects the original linguistic context.
You can also target non-English markets by explicitly setting the language code, ensuring precise pronunciation even when the text uses familiar scripts. This flexibility makes it easy to expand your content library without hiring native voice actors for every new region.
23 Languages Available
Our API supports Arabic, Chinese, Danish, Dutch, English, Finnish, French, German, Greek, Hebrew, Hindi, Italian, Japanese, Korean, Malay, Norwegian, Polish, Portuguese, Russian, Spanish, Swahili, Swedish, and Turkish. Each language is processed with high fidelity, ensuring that children’s stories sound authentic and engaging regardless of the target market.
- Arabic, Chinese, Danish, Dutch, English, Finnish, French, German, Greek, Hebrew, Hindi, Italian, Japanese, Korean, Malay, Norwegian, Polish, Portuguese, Russian, Spanish, Swahili, Swedish, Turkish
Automatic Language Detection
If you do not specify a language, the system automatically detects it from the script. For Latin-script text, English is the default assumption, but for other languages, you should explicitly set the language parameter to avoid mispronunciation.
Consistent Accents Across Books
Maintaining a consistent voice across a series is crucial for children’s storytelling. Since each voice preset is based on licensed recordings, the acoustic character remains stable whether you are generating Chapter 1 or Chapter 20. This consistency helps build a recognizable brand for your audio books.
Technical Features for Creators
StoryWhisper uses a standard REST API that works with the official OpenAI SDKs, requiring only a base URL change. Send a simple POST request with your text and voice preference, and receive an audio file. This straightforward integration lets you add narration to your apps or websites without complex setup.
Simple REST API Integration
Use the same request shape as OpenAI’s speech endpoint. Authenticate with a Bearer token and specify your desired model and voice. The API handles the rest, returning the audio directly in the response.
- Compatible with official OpenAI SDKs
- Standard JSON request body
- Easy authentication with API keys
Multiple Audio Formats
Choose the format that best fits your project. We support MP3, WAV, OPUS, FLAC, and PCM. This flexibility ensures compatibility with various players and editing software used by content creators.
- MP3 for web playback
- WAV for high-quality editing
- FLAC for lossless archiving
Customizable Speed Control
Adjust the narration speed between 0.25x and 4.0x. Slow down for young children or speed up for older audiences. This control helps match the pacing to your story’s mood and your listeners’ needs.
- Range: 0.25 to 4.0
- Adjustable per request
- Ideal for educational pacing
Pricing Designed for Creators
Pricing for StoryWhisper is straightforward and scales with your output. You pay $0.01 per 1,000 characters, which equals $10 for every million characters processed. Spaces and punctuation count toward this total, so you know exactly what your narration will cost before you send the request.
Pay Per Character
There are no hidden fees or per-second audio charges. If a synthesis fails, the charge is returned in full, so you only pay for successful audio generation. This makes it easy to budget for long children’s books or frequent educational updates.
- $10 per 1 million characters
- Spaces and punctuation count as characters
- Failed requests are free
No Monthly Fees
We do not lock you into subscriptions or require minimum monthly spends. You can top up your balance whenever you need more credits and use them at your own pace. Balances do not expire, so you can save up for larger projects like full audiobook series.
- No monthly plans or seats
- No minimum spend requirements
- Balance never expires
Free Trial Included
Start creating immediately with a free trial credit of $0.50, valid for 7 days. This gives you about 50,000 characters to test voices and workflows before committing to larger volumes. Sign in with Google to activate this trial instantly.
- $0.50 free credit (approx. 50,000 characters)
- Valid for 7 days
- Activate via Google sign-in

How It Works
To generate audio, send a simple POST request to the API endpoint with your text (up to 4,096 characters), chosen voice, and desired format. The API processes your input and returns the synthesized audio file directly in the response.
Send Text to API
Use any HTTP client or the OpenAI SDK to structure your request. Include the input text, select from 8 distinct voices like Aria or Felix, and specify parameters such as speed and audio format (mp3, wav, opus, flac, or pcm).
- Supports JSON body with standard fields
- Max 4,096 characters per request
- Auth via Bearer token
Receive Audio File
The API returns the generated audio file immediately. For longer stories, split your text into parts under the character limit, generate each segment, and join the resulting audio files seamlessly.
Download and Use
Save the returned audio file to your project. You can now integrate it into your children’s books, educational apps, or YouTube videos without waiting for studio schedules or voice actor availability.
Use Cases for Content Creators
Content creators can transform static text into engaging audio experiences without hiring voice actors. By leveraging our API, you can produce consistent narration for long-form content like children's stories or educational materials.
YouTube Audiobook Channels
Generate high-quality narration for public domain stories or original scripts. Create character-specific audio by switching voices like Aria for gentle bedtime tales or Felix for energetic action scenes, keeping listeners engaged without re-recording.
- Produce full-length audiobooks at scale
- Maintain consistent character voices across episodes
- Reduce production time from days to hours
Educational Apps
Integrate TTS into learning platforms to support early readers. Use clear voices like Sage for instructional content or Luna for storytelling, ensuring accessibility for diverse learners across 23 languages without complex infrastructure.
- Support multilingual classrooms instantly
- Enhance accessibility for visual learners
- Scale content delivery easily
Interactive Storybooks
Add audio layers to digital books, allowing children to click and hear their favorite characters. With customizable speed and formats like MP3 or WAV, you can optimize playback for various devices and network conditions.
- Enable click-to-play audio features
- Optimize for mobile and web
- Support interactive storytelling formats
Quality and Reliability
StoryWhisper uses licensed recordings from LibriTTS-R to ensure every generated narration sounds natural and clear. Each audio file includes an inaudible watermark to identify it as synthetic speech, helping creators maintain transparency with their young audiences.
Requests are processed sequentially, so long texts may queue during high demand. However, typical generation speed is roughly real-time, allowing you to produce hours of content efficiently without waiting for expensive studio time.
High-Quality Synthesis
We use licensed recordings from LibriTTS-R and LibriVox public-domain audiobook readings. This foundation ensures consistent, warm, and clear narration suitable for bedtime stories and educational materials.
- Inaudible watermark in every file
- Licensed source material
- 8 distinct voice presets
Uptime
Requests are processed one after another, so under load a request may wait in a queue. Typical speed is roughly real-time on long texts, making it reliable for batch processing.
Secure Data Handling
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 for billing purposes.
Get Started Today
Start your narration journey with a free trial credit of $0.50, valid for seven days when you sign in with Google. This gives you immediate access to test the API without any upfront commitment or credit card details required.
Sign Up for Free
Visit the /get-api-key/ page and create your account using your Google account or email. If you use email and password, your account starts without trial credit, but you can top up easily later.
Get Your API Key
Once registered, your dashboard displays your unique API key and current balance. You can issue a new key at any time, instantly invalidating the old one for security. Use this key with the standard OpenAI SDK or simple HTTP requests.
Start Creating Stories
Send your text to the API endpoint and receive an audio file. With 60 requests per minute, you can generate full chapters quickly. Adjust speed between 0.25x and 4.0x to match the pacing of your children's stories or educational content.
- Try the warm voice 'Aria' for bedtime stories
- Use 'Felix' for energetic action scenes
- Generate up to 4096 characters per request
Listen to the 8 voices
Each sample below was generated by this API from the same sentence. Her upbeat nature makes complex information feel fun and accessible.
23 languages
Any voice speaks any of these languages.
Sources and further reading
- Wikipedia
- IETF RFC 7845: Ogg Opus
- Python documentation
- OpenAI API reference: create speech
- Creative Commons Attribution 4.0
- TRON developer hub: TRC-20
- openai-node on GitHub
- LibriVox public-domain audiobooks
- FFmpeg documentation
- LibriTTS-R paper (arXiv 2305.18802)
- W3C WAI: making audio and video accessible
- MDN: Web Speech API
