Frequently asked questions
Is this a free download of Google Text to Speech?
No. This is a cloud API endpoint, not a downloadable binary. You send text via HTTP POST and receive an audio file. It is an independent service, not affiliated with Google.
How does the pricing compare to Google Cloud TTS?
Our price is $10 per 1 million characters, or $0.01 per 1,000 characters. Failed requests are free. We do not charge for monthly subscriptions or seats. Payment is handled via USDT on the TRON network. This flat rate applies regardless of voice model or language, simplifying your cost predictability compared to tiered cloud providers.
Can I use this for automated email notifications?
Yes. You can integrate our API into your notification pipeline to generate audio files for emails. Send text via POST to /v1/audio/speech and receive the audio file. Since requests are processed sequentially, longer texts may take time. You can split text into 4096-character chunks to manage generation speed and ensure reliable delivery.
What happens if my TTS request fails?
If synthesis fails, the charge is returned in full. You are not billed for failed requests. This ensures you only pay for successfully generated audio files. Failed requests do not count against your rate limits in a way that incurs cost, making it safe to retry or handle errors in your automation logic.
Do I need to pay monthly for this API?
No. There are no monthly plans, subscriptions, or minimum spend requirements. You pay based on usage, topped up via USDT. Your balance does not expire. This model fits startups with variable traffic, allowing you to scale costs directly with your audio generation needs without committing to recurring fixed fees for idle capacity.
How many languages are supported?
We support 23 languages, including English, Spanish, German, French, Japanese, and Chinese. Any voice can speak any of these languages. If you do not set the language, it is guessed from the script. Vietnamese, Indonesian, and Thai are not supported. You can specify an ISO code to ensure correct pronunciation for non-English text.
Can I clone my own voice for branding?
No. We do not offer custom voice cloning or uploading your own voice. The service uses eight licensed presets based on public-domain audiobook readings. Each generated file includes an inaudible watermark marking it as synthetic speech. If you need a specific voice, you must choose from the available presets like Aria, Nova, or Felix.
Is there a limit on how fast I can request audio?
Yes. You are limited to 60 requests per minute per key. Before your first top-up, this limit is 10 requests per minute. Requests are processed sequentially, so under load, a request may wait in a queue. Plan your burst traffic accordingly, or split long texts into smaller chunks to stay within these rate limits.
Do I need to manage server infrastructure?
No. This is a cloud API. You send text via HTTP POST, and we handle the audio generation. You receive the audio file in the response. There is no infrastructure to manage, no servers to patch, and no capacity planning required. You simply integrate the API endpoint into your application using standard HTTP libraries or SDKs.
Are the voices realistic enough for user interfaces?
The voices are based on licensed recordings from LibriTTS-R and LibriVox. They include eight presets like Aria, Nova, and Felix, designed for clear narration and conversation. Each file carries an inaudible watermark indicating synthetic speech. While realistic, they are not indistinguishable from human speech. They are suitable for notifications and interfaces where clarity matters.
How do I pay with USDT?
Top up your balance using USDT on the TRON network (TRC-20). The minimum top-up is $5. Credits are automatically added within minutes after the transfer is confirmed. There are no other payment methods like cards or PayPal. Your balance never expires, and you can issue a new API key at any time if needed.
Is my input text stored long-term?
No. 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, such as time, characters, and status, for billing purposes. Your actual content is not retained after the audio is generated and delivered to you.
Can I use this for mobile app notifications?
Yes. You can generate audio files via our API and include them in mobile push notifications or in-app audio players. Use the standard HTTP POST endpoint to request audio. Since there is no mobile SDK, you can use standard HTTP libraries in your app. Ensure you handle the 60 requests per minute limit in your backend.
What formats are available for audio output?
You can request audio in mp3, wav, opus, flac, or pcm formats. Specify the desired format in the response_format field of your request. This allows you to choose the best balance between file size and quality for your specific use case, whether it is web playback, mobile storage, or archival purposes.
First request
curl
curl https://api.pk40.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 Startups Are Switching from Google TTS
Google’s TTS often bundles services, making it hard to isolate costs for simple text-to-speech needs. Our API charges strictly per character, giving you exact visibility into what each notification or interface prompt costs. You pay $0.01 per 1,000 characters, with no hidden fees or surprise overages.
The integration is straightforward JSON, compatible with standard OpenAI SDKs by changing the base URL. This means your engineering team can swap in our reliable character-based API without rewriting their entire notification pipeline, keeping your product responsive and your users engaged.
Predictable character-based pricing
You know exactly what each request costs. Failed requests are free, so you only pay for successful audio generation. This model scales linearly with usage, unlike tiered plans that charge for capacity you might not use.
Startups can forecast expenses accurately. With a $0.50 free trial credit, you can test the exact volume your app needs before committing any real funds.
- $0.01 per 1,000 characters
- Pay only for successful generations
- No monthly minimums
Simpler API integration
Our endpoint matches the OpenAI speech shape. You can use existing OpenAI SDKs by simply pointing them to our API base URL. This reduces integration time significantly for teams already familiar with standard TTS patterns.
The API handles audio generation so your product stays responsive. You send text, receive an audio file, and move on. No complex setup required.
- Standard JSON endpoints
- OpenAI SDK compatible
- Drop-in replacement
No hidden volume tiers
Unlike providers that restrict usage based on arbitrary volume tiers, our pricing is flat. Whether you generate 100 characters or 100,000, the rate per character remains constant. This simplicity helps early-stage startups avoid unexpected bill shocks.
There are no hidden fees for format changes or speed adjustments. The speed range is 0.25–4.0, and you can choose your preferred audio format without extra charges.
- Flat rate per character
- No volume-based restrictions
- Transparent billing
How Our API Works for SaaS
Our API simplifies TTS integration for SaaS products. Send text via a standard JSON POST request, and receive an audio file ready for playback in your notifications or interfaces. This predictable workflow lets you focus on your product logic while we handle the synthesis engine.
Send text, get audio
Simply pass your text input to the speech endpoint. The API returns a synthesized audio file in your chosen format (mp3, wav, opus, flac, or pcm). Each request processes up to 4096 characters, making it easy to integrate into existing notification pipelines without complex buffering logic.
- JSON body with
model,input,voice, andresponse_format - Supports speed adjustment from 0.25x to 4.0x
- Optional language ISO code for precise control
Compatible with OpenAI SDKs
Since our endpoint mirrors the OpenAI speech structure, you can reuse existing code. Just update the base_url to https://api.pk40.info/v1 and swap in your API key. Official OpenAI SDKs work out of the box, reducing integration time for your engineering team.
Fast generation for short prompts
Short phrases generate in a few seconds, keeping your user interface responsive. For longer texts, the system splits input into parts and joins the audio files. While requests queue under load, typical speed remains roughly real-time (25 characters per second) for sustained usage.
Voices That Fit Your Product Voice
Your notifications need to sound human but not distracting. Our voice presets are designed to fit specific user contexts without requiring complex tuning. Choose the right tone for each interaction to keep users engaged and informed.
Whether it’s a quick alert or a detailed guide, matching the voice to the message helps users process information faster. You get clear, consistent audio that feels native to your product.
Clear narrator voices for notifications
Aria delivers a warm, clear narration style perfect for delivering system updates or daily summaries. Her tone is professional yet approachable, ensuring users pay attention without feeling bombarded. Use her for routine alerts where clarity matters most.
- Warm, clear narrator style
- Ideal for daily summaries
- Professional yet approachable tone
Energetic voices for promos
Felix brings energy and enthusiasm to promotional messages. His upbeat delivery works well for discount alerts or feature highlights. Use him to drive excitement and encourage quick action from your users.
- Energetic, promo-ready tone
- Drives user excitement
- Perfect for feature highlights
Calm voices for onboarding
Sage offers a calm, instructional voice ideal for guiding new users. Luna provides a soft, storytelling style for deeper onboarding flows. Both help reduce cognitive load during complex setup processes.
- Calm, instructional guidance
- Soft storytelling style
- Reduces user cognitive load
Languages for Global User Bases
Our API supports 23 languages, including English, Spanish, Hindi, and German, allowing you to serve global user bases without managing separate voice models. Every generated file carries an inaudible watermark that marks it as synthetic speech, ensuring clear provenance for your content.
23 supported languages
We cover Arabic, Chinese, Danish, Dutch, Finnish, French, Greek, Hebrew, Italian, Japanese, Korean, Malay, Norwegian, Polish, Portuguese, Russian, Swedish, and Turkish. This list is fixed; we do not support Vietnamese, Indonesian, Thai, Ukrainian, Romanian, Czech, or Bengali.
- 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 omit the language parameter, the system guesses the language from the script. Latin text defaults to English, which is ideal for most English notifications. For non-English Latin-script text, explicitly set the language field to ensure accurate pronunciation.
Consistent quality across regions
Every generated file carries an inaudible watermark that marks it as synthetic speech. This ensures consistent identification across all 23 languages without requiring region-specific model management.
Integration Speed
Drop a simple POST request and receive synthesized audio in seconds. Our standard JSON endpoints fit directly into your existing notification pipelines without requiring custom middleware or complex payload transformations.
Standard JSON endpoints
Send text via POST /v1/audio/speech and get an audio file back. The request body accepts standard fields like model, voice, and input, making integration straightforward for any backend service.
- Simple JSON payload structure
- Immediate audio file response
- No custom middleware needed
Existing SDK compatibility
Use the official OpenAI SDKs with a single base_url change to https://api.pk40.info/v1. This allows you to leverage familiar libraries without learning a new client or writing custom HTTP handlers.
- OpenAI SDK compatible
- Single base_url change
- Familiar library support
Quick curl examples
Start testing immediately with ready-to-run commands. Our documentation provides copy-paste examples for common languages and voices, helping you verify integration within minutes rather than hours.
- Copy-paste ready
- Multi-language support
- Fast verification

Cost Efficiency for Early Stage
Our pricing model is straightforward: you pay only for what you use. At $10 per million characters, or $0.01 per 1,000 characters, costs scale directly with your output. Spaces and punctuation count as characters, making budgeting precise and transparent for notification-heavy SaaS products.
There are no monthly minimums, subscription tiers, or hidden volume fees. This structure ensures early-stage teams aren't locked into unused capacity, allowing you to allocate engineering budget toward core product development rather than infrastructure overhead.
Pay per character used
The cost is fixed at $10 per 1 million characters processed. Since spaces and punctuation count toward this total, your API usage costs remain predictable regardless of voice model or format chosen.
- $0.01 per 1,000 characters
- Transparent character counting
No monthly minimums
You are not required to maintain a minimum spend or commit to a recurring monthly plan. If your usage drops, your costs drop immediately. This eliminates the risk of paying for idle capacity during slower growth periods.
Free trial credit available
Sign in with Google to receive $0.50 in trial credit, valid for 7 days. This provides approximately 50,000 characters for testing integration and voice quality before any billing begins. Accounts created with email and password start without this trial credit.
Technical Reliability
Reliability matters when your app notifies users. Our API processes requests sequentially, ensuring consistent character-based billing. Rate limits protect your stability: 60 requests per minute for established keys, or 10 per minute before your first top-up. This prevents sudden bursts from overwhelming your pipeline.
Rate limits per key
Each API key has a strict limit of 60 requests per minute. Before your first top-up, the limit is 10 requests per minute. This structure prevents accidental overuse and keeps costs predictable.
- 60 requests/minute after first top-up
- 10 requests/minute before first top-up
- One active key per account
Queue handling under load
Requests are processed one after another. Under heavy load, a request may wait in a queue. Short phrases take a few seconds; longer texts generate at roughly real-time speed (25 characters per second). This sequential processing ensures audio quality remains consistent even during peak usage.
Error handling returns credit
If synthesis fails, the charge is returned in full. You only pay for successful audio generation. This ensures your billing accurately reflects the value delivered to your application.
Data Privacy for User Data
Your users’ spoken content is private by design. We process input text solely to generate the audio file and return it in the response. Unlike many cloud providers, we do not use your input data to train our models, ensuring your notification scripts remain confidential.
The generated audio is returned in the response and is not stored on our servers. This minimizes data retention risks and aligns with strict privacy standards for SaaS applications handling user-generated content.
Text not used for training
Input text is used only to produce the audio and is not used for training.
This ensures your unique notification copy or user messages remain proprietary and are not repurposed by the provider to improve other services.
Audio not stored
Generated audio is returned in the response and not stored.
Once the audio file is delivered to your client, it leaves our infrastructure, reducing long-term storage liabilities and data exposure risks.
Metadata kept for billing
Request metadata (time, characters, status) is kept for billing.
We retain only the necessary logs to verify usage and process charges, keeping the data footprint minimal and transparent for your accounting needs.
Start Building Today
Get your API key instantly on our /get-api-key/ page. Choose Google sign-in for immediate access or create an account with your email. Your key appears right away, ready for your first request.
Get your API key instantly
Signing up takes seconds. Whether you prefer Google authentication or a standard email password setup, our system provisions your API key immediately. You can start sending POST requests to our endpoint without waiting for manual approval or setup delays.
Test with free trial credit
Google sign-ups receive $0.50 in free trial credit, valid for 7 days. This covers approximately 50,000 characters, enough to test multiple voices and formats. Email-based accounts start with zero balance but can top up easily.
- $0.50 credit for Google sign-ins
- Valid for 7 days
- Covers ~50,000 characters
Scale as you grow
When your trial ends or usage grows, add funds via USDT on TRON. There are no monthly plans or minimum spend requirements. Your balance never expires, and you can issue a new API key anytime if needed.
- USDT (TRC-20) top-ups only
- No monthly plans
- Balance does not expire
Listen to the 8 voices
Each sample below was generated by this API from the same sentence. This reduces the time from account creation to your first generated audio file to just minutes.
23 languages
Any voice speaks any of these languages.
Sources and further reading
- Wikipedia
- IETF RFC 7845: Ogg Opus
- LibriVox public-domain audiobooks
- openai-node on GitHub
- FFmpeg documentation
- curl documentation
- W3C WAI: making audio and video accessible
- Creative Commons Attribution 4.0
- Tether (USDT)
- OpenAI API reference: create speech
- Python documentation
- LibriTTS-R paper (arXiv 2305.18802)
