Frequently asked questions
What makes a good TTS API?
A good TTS API offers simple integration, clear pricing, and reliable output. CodeCaster provides a standard OpenAI-compatible endpoint, allowing you to use familiar Python libraries. It returns audio files directly, supports multiple formats like MP3 and WAV, and handles character limits up to 4096 per request, making it easy to integrate into your existing blog workflows.
Is this API the best for Python?
CodeCaster is a lightweight alternative, not necessarily the best. It works with the official OpenAI Python SDK by simply changing the base URL. This approach avoids heavy plugins and keeps your blog fast. It is ideal for creators who want direct control over audio generation without managing complex infrastructure or large dependencies.
How do voices sound?
Voices are based on licensed recordings from LibriTTS-R and LibriVox. You can choose from eight presets, including warm narrators like Aria or energetic promos like Felix. Each generated file includes an inaudible watermark to mark it as synthetic speech. The voices are realistic and clear, suitable for reading blog posts or articles.
Is it good for WordPress?
Yes, it is excellent for WordPress. You can generate audio files using simple Python scripts and upload them directly to your media library. This avoids heavy plugins that slow down page loads. You retain full control over when and how audio is served, ensuring a faster, more customizable reading experience for your visitors.
Does it support all languages?
It supports 23 languages, including English, Spanish, German, French, Chinese, and Japanese. If you do not specify a language, it guesses from the script, defaulting to English for Latin text. It does not support Vietnamese, Indonesian, Thai, Ukrainian, Romanian, Czech, or Bengali. Always set the language parameter for non-English Latin-script text to ensure accuracy.
Is it expensive for small blogs?
Pricing is $10 per 1 million characters, or $0.01 per 1,000 characters. Failed requests are free. You start with a $0.50 trial credit for 50,000 characters. You pay only for what you use, with no monthly plans or minimum spend. Top-ups are done via USDT on the TRON network, starting at $5.
Can I use it for podcasts?
Yes, you can use it for podcasts. The API generates high-quality audio files in formats like MP3, WAV, Opus, FLAC, and PCM. You can control the speed between 0.25 and 4.0. Since audio is returned directly in the response, you can easily download and publish the files to your podcast hosting platform.
Is it better than local TTS?
It is not necessarily better, but it is more convenient. Local TTS requires hardware and setup. CodeCaster is a cloud API that scales automatically. You get access to eight distinct voices and 23 languages without managing servers. It is ideal for blogs that need consistent audio quality without the overhead of local infrastructure.
Does it have a free trial?
Yes, signing in with Google gives you $0.50 of credit, valid for 7 days. This covers about 50,000 characters. Accounts created with email and password start without trial credit. You can top up later using USDT on the TRON network. Failed requests do not consume your credit, so you can test safely.
How fast is the generation?
Generation is roughly real-time, processing about 25 characters per second for long texts. Short phrases may take a few seconds. Requests are processed sequentially, so under heavy load, you might experience a queue. For longer texts, split them into parts of 4096 characters and join the resulting audio files for best results.
Is the API reliable?
The API is reliable but has no uptime guarantee or SLA. Rate limits are 60 requests per minute per key. If synthesis fails, you are not charged. Input text is used only for generation and not for training. Request metadata is kept for billing purposes. It is a cloud service, so internet connectivity is required.
Can I use it commercially?
Yes, you can use it commercially. There are no restrictions on usage for blogs, podcasts, or other projects. The voices are based on licensed recordings from LibriTTS-R and LibriVox. Each generated file carries an inaudible watermark marking it as synthetic speech. You retain the rights to the audio files you generate and distribute.
What if I exceed limits?
The rate limit is 60 requests per minute per key. If you exceed this, requests may be delayed or rejected. You can issue a new key at any time, which stops the old one immediately. This allows you to reset your rate limit window. Ensure you handle errors gracefully in your Python scripts to manage retries.
Is customer support good?
Support is available by email only. There is no phone number, live chat, or SLA. There are no certifications like SOC 2 or HIPAA. You can reach out via the contact page for any issues. Response times are not guaranteed. For technical details, refer to the documentation or use the provided curl examples.
Criteria for Blog Audio APIs
Choosing the right TTS API for your WordPress blog hinges on three pillars: voice quality, ease of integration, and cost efficiency. CodeCaster simplifies this by offering a lightweight API that integrates directly into your content pipeline using the familiar OpenAI SDK structure, perfect for no-code users who want realistic audio without heavy plugins.
Voice Quality
Our engine delivers natural-sounding speech using licensed recordings from LibriTTS-R (CC BY 4.0) and LibriVox public-domain audiobook readings. Each generated file carries an inaudible watermark, ensuring transparency while maintaining high fidelity for your readers.
- 8 distinct voice presets
- Licensed LibriTTS-R data
- Inaudible synthetic watermark
Ease of Integration
Integration is straightforward thanks to our REST API endpoint, which mirrors the OpenAI speech structure. You can use official OpenAI SDKs by simply changing the base URL to https://api.casicosta.cc/v1. This means no custom libraries to install; just send a POST request and receive an audio file.
- Standard REST API
- OpenAI SDK compatible
- Simple JSON body
Cost Efficiency
Pricing is simple: $10 per 1 million characters, or $0.01 per 1,000 characters. Failed requests are free, so you only pay for successful synthesis. With a $0.50 free trial for Google sign-ups, you can test the quality before committing any budget.
- $0.01 per 1,000 chars
- Failed requests are free
- $0.50 free trial
Top Voice Options for Blogs
Choosing the right voice transforms static text into an engaging auditory experience. For blog creators, the tone must match the content’s intent, whether it’s a calm read-along or a lively discussion.
CodeCaster offers eight distinct presets, all capable of speaking all 23 supported languages. This flexibility allows you to maintain a consistent brand voice across diverse topics without needing multiple providers.
Narrator Voices for Read-Alongs
Aria and Luna are ideal for long-form articles. Aria provides a warm, clear narration perfect for read-alongs, while Luna offers a soft, storytelling tone that keeps readers engaged.
These voices handle up to 4096 characters per request, making them suitable for standard blog posts. Their natural cadence reduces listener fatigue during extended reading sessions.
- Aria: Warm, clear narrator
- Luna: Soft, storytelling tone
Conversational Voices for Engagement
Nova and Milo bring energy to casual blog posts. Nova’s bright, upbeat style suits lifestyle content, while Milo’s friendly, conversational tone works well for personal essays or updates.
Using these voices creates a sense of connection with your audience, mimicking a friend sharing a story rather than a formal announcement.
- Nova: Bright, upbeat
- Milo: Friendly, conversational
Neutral Voices for News
Atlas and Orion deliver clear, authoritative audio for news updates or factual content. Atlas provides a neutral tone, while Orion offers a deep, documentary style.
These voices ensure clarity and professionalism, making them perfect for informative posts where accuracy and tone are paramount.
- Atlas: Neutral, news
- Orion: Deep, documentary
Integration Complexity
Integrating CodeCaster into your WordPress workflow is straightforward. The API follows the familiar OpenAI structure, allowing you to use standard HTTP libraries or the official OpenAI SDK with a simple base_url change. This means you can generate audio files via a lightweight Python script triggered on post-publish, bypassing the bloat of heavy, all-in-one plugins.
REST API Simplicity
Sending a POST request to the speech endpoint requires only a JSON body with your model, text, and voice selection. The API returns an audio file directly, making it easy to embed in your content pipeline without complex middleware.
- Standard JSON request format
- Direct audio file return
- No complex authentication headers needed beyond the Bearer token
SDK Availability
While we do not provide a dedicated mobile or WordPress SDK, the official OpenAI SDKs work perfectly. You only need to point the SDK to https://api.casicosta.cc/v1. This leverages existing community tools and ensures reliable integration for Python developers.
- Compatible with OpenAI Python SDK
- Works with any HTTP client
- No proprietary library required
WordPress Plugin Compatibility
Our API is designed to be plugin-agnostic. You can write a custom PHP or Python script that triggers generation on post-publish, or use a lightweight wrapper plugin. This avoids the bloat of monolithic audio plugins that bundle their own engines.
- Lightweight integration options
- Custom script support
- Avoids monolithic plugin bloat
Cost Analysis for Bloggers
Understanding the cost structure is vital for bloggers managing tight budgets. CodeCaster offers a transparent, character-based pricing model that scales directly with your content volume, ensuring you only pay for what you actually use without hidden fees or complex tier structures.
This straightforward approach eliminates the guesswork often found in subscription-based TTS services, allowing you to predict monthly audio generation costs precisely based on your post length and frequency.
Per-Character Pricing
The rate is fixed at $10 per 1 million characters, which equals $0.01 per 1,000 characters. Spaces and punctuation count toward this total, so a typical 500-word blog post costs approximately $0.005. This consistency means your budget remains predictable regardless of usage spikes.
- $0.01 per 1,000 characters
- Includes spaces and punctuation
- No hidden per-request fees
Volume Discounts
CodeCaster does not offer tiered volume discounts. The per-character rate stays the same regardless of how much you generate. Whether you produce 10,000 characters or 10 million, the unit price remains constant, simplifying cost calculations for both small blogs and high-volume publishers.
Free Tier Benefits
New users can start with a free trial credit of $0.50, valid for seven days when signing in with Google. This provides about 50,000 characters of audio generation, allowing you to test voice quality and integration workflow without any upfront financial commitment or credit card requirement.
- $0.50 trial credit
- 50,000 characters included
- 7-day validity period
Language Coverage
CodeCaster supports 23 languages, including major ones like English, Spanish, French, and German, alongside Arabic, Japanese, and Russian. Every voice can speak any of these languages, ensuring consistent quality across your multilingual blog content.
Major Languages Supported
We cover the world’s most widely spoken languages, including Arabic, Japanese, Korean, Portuguese, and Russian. Each voice is optimized for natural rhythm in these languages, making your audio feel native rather than translated.
Niche Language Options
Beyond the major languages, we support Danish, Finnish, Greek, Hebrew, Hindi, Italian, Malay, Norwegian, Polish, Swahili, Swedish, and Turkish. This allows you to reach specific audiences without needing separate voice providers for each region.
Auto-Detection Accuracy
If you do not set the language field, the API guesses the language from the script. Latin script defaults to English, so you must explicitly set language for non-English Latin text. This prevents mispronunciation in mixed-language posts.
Performance and Speed
Generating audio is generally fast, with long texts producing roughly real-time duration at about 25 characters per second. Short phrases may take a few seconds to process, but the API handles the conversion efficiently for standard blog posts.
For most WordPress blogs, this speed is sufficient for on-demand generation. However, understanding the underlying processing limits helps you avoid unexpected delays during peak traffic periods.
Generation Time
Typical generation speed is roughly real-time for long texts, processing about 25 characters of text per second of audio. Short phrases or single sentences may take a few seconds to complete because the engine initializes the synthesis model for each request. This means immediate playback is feasible for short excerpts, but full post rendering might require a brief loading buffer.
- Approximately 25 characters of text generated per second of audio.
- Short phrases typically complete within a few seconds.
- Longer texts scale linearly with duration.
Concurrency Limits
Each API key is limited to 60 requests per minute. Before your first top-up, this limit drops to 10 requests per minute. This constraint is per key, so if you use a single key for your entire blog, concurrent requests will queue up. For high-traffic blogs, consider using multiple keys or pre-generating audio during off-peak hours.
- Standard limit: 60 requests per minute per key.
- Pre-top-up limit: 10 requests per minute.
- Limits are applied per API key, not per IP.
Queue Management
Requests are processed sequentially when the concurrency limit is reached. If you exceed the 60 requests per minute threshold, subsequent requests will wait in a queue until slots become available. This ensures fair resource distribution but may cause slight delays during spikes. Splitting long texts into parts under 4096 characters allows you to manage these queues more effectively by staggering requests.
- Requests are processed one after another under load.
- Exceeding limits causes automatic queuing.
- No priority queue; first-come, first-served.
Audio Formats and Compatibility
Choosing the right audio format ensures your blog’s audio plays smoothly across all devices. CodeCaster supports MP3, WAV, Opus, FLAC, and PCM via the response_format parameter, letting you balance quality and load times.
MP3 for Web Players
MP3 is the universal standard for web audio. It offers a good balance between file size and sound quality, making it perfect for embedding in blog posts using standard HTML5 players.
WAV for Quality
WAV provides uncompressed, high-fidelity audio. Use this format when you need pristine sound quality for downloadable content or when your audience uses high-end audio equipment.
Opus for Bandwidth
Opus delivers excellent audio quality at lower bitrates. It is ideal for users on slower connections or mobile data plans. This format reduces bandwidth costs while maintaining clear speech intelligibility. Choose Opus to optimize loading times for global audiences, ensuring smooth playback even on limited networks.

Data Privacy and Security
CodeCaster prioritizes your content’s privacy by treating input text solely as a transient instruction. When you send text to our API, it is processed exclusively to generate the corresponding audio file. We do not use your blog posts, articles, or drafts to train our models or improve our voice algorithms. Your creative work remains yours, ensuring that sensitive or unpublished content stays private during the synthesis process.
The generated audio is delivered directly in the API response and is not stored on our servers. Once you receive the file, our system has no record of the audio content. This means your blog’s audio assets are entirely under your control, whether you host them locally or on a third-party CDN. There is no lingering copy of your spoken content on our infrastructure.
Input Text Usage
Your input text is used only to produce the audio and is not used for training. This ensures that your unique blog narratives, SEO keywords, or unpublished drafts remain private and are not ingested into our model training data. The text is processed in real-time and discarded after synthesis.
Audio Storage Policy
Generated audio is returned in the response and not stored. We do not keep copies of the MP3, WAV, or Opus files you generate. This means your audio assets are entirely under your control, whether you host them locally or on a third-party CDN. There is no lingering copy of your spoken content on our infrastructure.
Data Retention
We retain request metadata, including the timestamp, character count, and status (success or failure), strictly for billing and audit purposes. This data is necessary to calculate your usage-based charges accurately and to verify that you are not over-billed for failed requests. This metadata does not include the actual text or audio content. It is kept only as long as necessary to resolve billing disputes or ensure service integrity.
Customer Support Quality
Support for CodeCaster is handled exclusively via email, with no phone lines or live chat options available. This approach keeps overhead low, allowing us to focus resources on API reliability and clear technical guidance rather than staffing multiple support channels.
Email Support
All inquiries are directed to our support email. While there is no dedicated phone number or real-time chat widget, this ensures every request is logged and addressed thoroughly. It is the single point of contact for billing issues, key management, or technical questions.
- Email only, no phone or live chat
- All inquiries are logged for tracking
Documentation Clarity
The documentation is precise, listing exactly what the API does and, crucially, what it does not. You will find clear examples for Python scripts using the OpenAI SDK structure, making integration straightforward for WordPress plugins. Known limitations like the lack of SSML or streaming are stated upfront, preventing surprise delays during development.
Response Time
Response times are not guaranteed by an SLA, as we do not offer enterprise contracts or uptime guarantees. Most queries are resolved within 24 hours during business days. For urgent billing or key issues, email is the most effective channel to reach the team.
Technical Limitations
CodeCaster offers a straightforward, character-based TTS API that works well for most blog content, but it has specific technical boundaries you should know. Understanding these limits helps you design reliable scripts without unexpected errors or delays.
Character Limits
Each API request accepts up to 4,000 characters of input text. This includes spaces and punctuation. For longer blog posts, you need to split the text into chunks and join the resulting audio files.
Rate Limits
You are allowed 60 requests per minute per API key. If you are new, this limit starts at 10 requests per minute until you top up your account. Requests are processed sequentially, so heavy loads may cause queuing delays.
No SSML Support
The API does not support SSML (Speech Synthesis Markup Language). You cannot control pause lengths, pitch, or emphasis using XML tags. Voice style is fixed to the eight available presets.
Use Case Recommendations
CodeCaster enables WordPress creators to transform static articles into engaging audio experiences without heavy plugins. By leveraging simple Python scripts, you can integrate text-to-speech directly into your content pipeline, saving time and improving user engagement.
Podcast-Style Blogs
Convert long-form posts into listenable content using voices like Aria or Felix. This approach allows readers to consume your material during commutes, effectively expanding your reach beyond traditional screen-based consumption.
- Generate audio from up to 4,096 characters per request
- Use speeds from 0.25x to 4.0x for flexible listening
- Maintain consistent tone with preset voices like Luna for storytelling
Accessibility Features
Enhance your blog’s accessibility by providing audio alternatives for visually impaired users. CodeCaster’s API integrates seamlessly with standard web players, ensuring compliance with accessibility standards without requiring complex infrastructure.
- Supports MP3, WAV, and Opus formats for broad player compatibility
- Inaudible watermark identifies synthetic speech for transparency
- No additional plugins needed; works with existing HTML5 audio tags
Multilingual Content
Reach global audiences by generating audio in 23 languages, from English to Hindi. Since any voice can speak any supported language, you can maintain a consistent brand voice while localizing your content for international readers effortlessly.
- Supports Arabic, Chinese, German, Japanese, Spanish, and more
- Auto-detects language from script, but explicit setting is recommended for Latin text
- No additional cost for different languages; pricing is character-based
Final Verdict
CodeCaster delivers a straightforward, character-based API that eliminates heavy plugins while keeping costs predictable for WordPress creators. By leveraging the familiar OpenAI SDK structure, you can generate realistic audio with simple Python scripts, ensuring your blog remains fast and accessible without sacrificing content quality.
Best for Cost
At $10 per million characters, the pricing is transparent and predictable. Failed requests are free, and the free trial provides 50,000 characters for seven days, making it ideal for testing without financial commitment.
Best for Quality
The eight licensed voices offer distinct tones, from warm narrators to energetic promo styles, all derived from public-domain readings. Each audio file includes an inaudible watermark to identify synthetic speech, ensuring clarity and authenticity for your readers without requiring complex voice design.
Best for Ease of Use
Integration requires only a base URL change and a Bearer token, allowing you to use standard OpenAI SDKs. With clear documentation and a straightforward character-based limit, even non-technical bloggers can generate audio for long texts by splitting them into manageable parts.
Listen to the 8 voices
Each sample below was generated by this API from the same sentence. However, understanding the underlying processing limits helps you avoid unexpected delays during peak traffic periods.
23 languages
Any voice speaks any of these languages.
