Frequently asked questions
What is the difference between tts-1 and tts-1-hd?
There is no difference in engine or price; both models use the same engine and price. Both models use the same underlying synthesis engine and are billed at the same rate of $10 per 1 million characters. You can choose either model based on your preference, but the output quality and cost remain identical for both options.
Does the API support streaming audio?
No. The API returns the complete audio file in the response body after synthesis is finished. There is no WebSocket support or real-time partial audio streaming. You must wait for the full file to be generated before receiving the data, which typically takes a few seconds for short phrases.
Can I clone a custom voice for my brand?
No. We do not offer custom voice cloning, voice uploading, or voice design. You must choose from the eight available presets (Aria, Nova, Luna, Sage, Felix, Milo, Atlas, Orion). These voices are based on licensed recordings: LibriTTS-R (CC BY 4.0), from LibriVox public-domain audiobook readings.
How many characters can I send per request?
You can send up to 4096 characters per request. For longer texts, you should split the content into parts of this size and join the resulting audio files. This limit ensures consistent processing performance, with typical generation speeds of roughly 25 characters per second for long texts.
What happens if a request fails?
Failed requests are free. If synthesis fails, the charge is returned in full to your account balance. You can retry the request or split the text differently without incurring additional costs for the failed attempt. This applies to any request that does not successfully return an audio file.
Are spaces and punctuation counted as characters?
Yes. Spaces and punctuation count as characters toward your usage limit. The billing rate is $10 per 1 million characters, which includes all input text elements. This means every space, comma, and period contributes to the total character count used for calculating your API usage costs.
Which languages are supported for language learning?
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 them suitable for diverse language learning applications.
Is there a free trial available?
Yes. Signing in with Google provides $0.50 of credit, valid for 7 days, allowing about 50,000 characters. Accounts created with email and password start without trial credit. You can use this credit to test the API before making a top-up via USDT on the TRON network.
How do I get started with the API key?
Sign up on /get-api-key/ using Google or email plus password. The page displays your active API key, balance, and a ready curl example. Use this key with the Authorization header. You can issue a new key at any time, which stops the old one immediately.
Do you offer an SLA for uptime?
No. We do not offer an SLA, uptime guarantee, or enterprise contract. Requests are processed sequentially, so under load a request may wait in a queue. Support is by email only.
Can I use this API for commercial projects?
Yes. The API is designed for programmatic audio generation in commercial applications, such as language learning apps. Generated audio files are not stored by us, and input text is not used for training. You receive the audio file directly in the response for immediate use in your product.
How is the audio quality measured?
Quality is determined by the voice preset and model chosen. Each generated file carries an inaudible watermark marking it as synthetic speech. Voices are based on licensed recordings from LibriTTS-R and LibriVox. Speed can be adjusted between 0.25 and 4.0, and formats include mp3, wav, opus, flac, and pcm.
Do I need to provide a language code?
Not always. If you do not set the language, it is guessed from the script, with Latin text defaulting to English. For non-English Latin-script text, you should explicitly set the language parameter to ensure correct synthesis. This allows any voice to speak any of the supported 23 languages.
What payment methods are accepted?
We accept USDT on the TRON network (TRC-20) only. The minimum top-up is $5, and credits are added automatically within minutes. There are no cards, PayPal, subscriptions, or invoices with VAT. Balance does not expire, and there are no monthly plans or minimum spend requirements.
First request
curl
curl https://api.pk8ok.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.mp3How It Works
Generate speech by sending a POST request to the /v1/audio/speech endpoint. The API accepts standard JSON parameters, allowing seamless integration with Python, JavaScript, or PHP stacks used in language learning applications.
Configure the model, voice, and language in the request body. The system returns a direct audio file, enabling immediate playback in your app without complex preprocessing or third-party dependencies.
Simple POST Request
Send text to the API endpoint using a standard HTTP POST method. The request shape matches the OpenAI speech endpoint, so existing OpenAI SDKs work by simply changing the base_url to https://api.pk8ok.com/v1.
- Endpoint: POST https://api.pk8ok.com/v1/audio/speech
- Authentication via Bearer token in headers
- Supports standard HTTP libraries in Python, JS, PHP
JSON Body Format
The request body requires a JSON object containing the text input, chosen voice, and optional parameters like speed or language code. Text is limited to 4,096 characters per request; longer texts should be split by your application logic.
- Required field: 'input' (text string)
- Required field: 'voice' (e.g., aria, felix)
- Optional: 'speed' (0.25–4.0), 'response_format', 'language'
Audio Output
The API returns the synthesized audio file directly in the response body. Supported formats include MP3, WAV, OPUS, FLAC, and PCM. Files are generated on demand and not stored, ensuring minimal latency for flashcard or quiz audio generation.
- Formats: mp3, wav, opus, flac, pcm
- Direct file response, no intermediate storage
- Inaudible watermark marks synthetic speech
Voice Selection
Select from eight distinct voice presets designed for clear, programmatic audio generation. Each voice is engineered for specific tonal qualities, ensuring consistent output for language learning applications without the need for complex voice cloning or emotion tagging.
Female Voices
Choose from four female presets optimized for clarity and engagement. Aria offers a warm, clear narrator style ideal for general lessons. Nova provides a bright, upbeat tone for energetic content. Luna delivers a soft, storytelling voice suitable for narrative practice. Sage ensures calm, instructional clarity for structured exercises.
- Aria: Warm, clear narrator
- Nova: Bright, upbeat
- Luna: Soft, storytelling
- Sage: Calm, instructional
Male Voices
Four male voices cover diverse instructional needs. Felix brings an energetic, promo-style delivery for dynamic content. Milo offers a friendly, conversational tone for interactive dialogue practice. Atlas provides a neutral, news-style voice for standard reading materials. Orion delivers a deep, documentary-style audio for immersive listening exercises.
- Felix: Energetic, promo
- Milo: Friendly, conversational
- Atlas: Neutral, news
- Orion: Deep, documentary
Tone Variety
All eight voices support all 23 languages, allowing you to mix tones across different language modules. This variety helps maintain user engagement without relying on custom voice design or emotion tags. Every generated file includes an inaudible watermark to mark it as synthetic speech.
Supported Languages
Support language acquisition with 23 voices covering major global languages, from Arabic to Swahili. Every voice can speak any supported language, ensuring consistent audio quality across your curriculum.
23 Languages Available
Cover your target markets with precise audio for Arabic, Chinese, Danish, Dutch, English, Finnish, French, German, Greek, Hebrew, Hindi, Italian, Japanese, Korean, Malay, Norwegian, Polish, Portuguese, Russian, Spanish, Swahili, Swedish, and Turkish.
- Arabic, Chinese, Danish, Dutch, English, Finnish, French, German, Greek, Hebrew, Hindi, Italian, Japanese, Korean, Malay, Norwegian, Polish, Portuguese, Russian, Spanish, Swahili, Swedish, Turkish
Auto-Language Detection
When you omit the language field, the API guesses the language from the text script. Latin script defaults to English, so ensure you set the parameter for non-English Latin text.
Explicit Language Code
Pass an ISO language code to guarantee correct pronunciation and tone. This is essential for mixed-script texts or when the auto-detection might misinterpret the intended language.
Technical Specs
The API follows the OpenAI speech endpoint contract. Send a POST request to the speech endpoint with a JSON body containing the model, input text, voice, and format. The official OpenAI SDKs work by simply changing the base URL to https://api.pk8ok.com/v1.
OpenAI Compatible
Use the standard OpenAI Python, JS, or PHP libraries. Set your API key in the Authorization header as Bearer tts-.... The request shape mirrors the OpenAI speech endpoint, allowing you to swap the base URL and start generating audio immediately without rewriting your integration logic.
- Endpoint: POST /v1/audio/speech
- Standard JSON request body
- Works with official OpenAI SDKs (Python, JS)
Rate Limits
New keys are limited to 10 requests per minute. After your first top-up, the limit increases to 60 requests per minute per key. Requests are processed sequentially, so under heavy load, synthesis may wait in a queue. Failed requests do not consume your character quota.
Character Limits
Each request accepts up to 4,096 characters of input text. For longer texts, split your content into chunks of this size and join the resulting audio files. Spaces and punctuation count toward the character limit, which is used for billing at $0.01 per 1,000 characters.
Use Cases for Language Learning
Language learning platforms require precise, programmatic audio generation to support interactive exercises. LingvoLink provides a reliable API that integrates directly into your existing Python, JS, or PHP stacks, enabling automated audio creation for educational content without complex voice cloning setups.
Our solution handles the technical heavy lifting, allowing your engineering team to focus on pedagogy. By generating audio on demand, you can scale content production efficiently while maintaining consistent quality across thousands of lessons.
Flashcard Audio
Generate pronunciation clips for vocabulary sets programmatically. Each flashcard can trigger a TTS request to create a unique audio file for every word, ensuring learners hear accurate pronunciations on demand.
Use the API to batch-process large vocab lists, creating audio assets for entire decks in minutes. This eliminates manual recording costs and allows for instant updates when new words are added to your curriculum.
- Supports 23 languages for diverse vocabulary sets
- Fast generation suitable for interactive app workflows
- Consistent voice quality across all flashcards
Pronunciation Guides
Provide learners with clear audio examples for difficult sounds. Select specific voices like Aria or Felix to model natural speech patterns, helping students distinguish between similar phonemes in target languages.
The API’s language detection ensures correct accent and intonation even when the input script is ambiguous. Explicit language codes allow you to enforce specific dialects or accents for standardized learning experiences.
- 23 languages supported
- Explicit language code for precise language selection
- No need for manual voice recording
Reading Practice
Convert textbook passages or article texts into audio for listening comprehension exercises. With 4096 characters per request, you can generate substantial segments of text without immediate splitting logic.
For longer texts, split content into manageable chunks and join the audio files seamlessly. This allows students to listen to full lessons or stories while following along with the written text, reinforcing reading and listening skills simultaneously.
- Up to 4096 characters per request
- Supports all major learning languages
- Generation takes a few seconds for short phrases; longer texts take roughly real time.

Pricing Overview
Audio generation is priced strictly by character count, including spaces and punctuation. The rate is $10 per 1 million characters, or $0.01 per 1,000 characters. Failed requests are free, ensuring you only pay for successful synthesis.
Per Character Cost
Billing is transparent and proportional to usage. Whether you are generating short flashcard pronunciations or long reading passages, the cost scales linearly with input length.
- Rate: $10 per 1,000,000 characters
- Includes spaces and punctuation
- Failed requests are fully refunded
No Monthly Fees
There are no subscriptions, minimum spends, or seat limits. You pay only for what you generate. Top-ups are processed via USDT (TRC-20) and credited automatically.
- No monthly plans or subscriptions
- No minimum spend requirements
- Balance does not expire
Free Trial
New accounts signing in with Google receive $0.50 in trial credit, valid for 7 days. This provides approximately 50,000 characters for testing integration and voice quality before committing funds.
- $0.50 trial credit for Google sign-ins
- Approximately 50,000 characters
- Valid for 7 days
Data Privacy
Your input text is processed strictly to generate the requested audio file. We do not use your source text for training our models or improving the TTS engine, ensuring your proprietary content remains yours.
Input Text Usage
The text you send is used solely for synthesis. Once the audio is generated and returned in the response, the original text is not stored for long-term model improvement.
Audio Storage
Generated audio files are returned directly in the API response and are not stored on our servers by default. You are responsible for storing the audio files you generate.
Billing Metadata
We retain request metadata, including timestamp, character count, and status, strictly for billing and usage tracking purposes. This data is used to calculate charges based on your consumption.
Integration
Integrate LingvoLink into your language learning stack using standard HTTP libraries or the OpenAI Python/JS SDKs. No proprietary SDKs or complex setup required; simply adjust the base URL to point to our API endpoint.
OpenAI SDK Compatibility
Use the official OpenAI SDKs by changing the base_url to https://api.pk8ok.com/v1. The request body structure matches the OpenAI speech endpoint exactly, allowing immediate compatibility with existing codebases.
- Drop-in replacement for OpenAI TTS endpoints
- Works with Python, JavaScript, and PHP libraries
Base URL Change
Point your client to https://api.pk8ok.com/v1. This single configuration change directs all POST /v1/audio/speech requests to our infrastructure while maintaining standard JSON formatting.
Standard Headers
Include your API key in the Authorization header as Bearer <your-key>. All other headers follow standard REST conventions, ensuring predictable behavior across your development environment.
Why Choose This API
LingvoLink eliminates recurring subscription overhead by charging strictly per character processed. You only pay for what you generate, with no monthly fees or minimum spend requirements. This model aligns costs directly with your app’s usage, making it predictable for startups scaling their user base.
Cost Efficiency
At $0.01 per 1,000 characters, audio generation is inexpensive enough to support high-frequency use cases like flashcard audio or pronunciation drills without inflating your operational budget.
- $0.01 per 1,000 characters
- No monthly platform fees
- Failed requests are free
Engineering Focus
The API is designed for straightforward integration into Python, JavaScript, or PHP stacks. It returns standard audio formats via a simple POST request, allowing you to handle audio delivery without managing complex streaming infrastructure or custom voice cloning pipelines.
- Simple JSON POST endpoint
- Supports mp3, wav, opus, flac, pcm
- No custom infrastructure required
No Vendor Lock-in
Because the endpoint shape mirrors the OpenAI speech API, you can switch base URLs in your existing SDK configuration without rewriting your code. This flexibility ensures you are not tied to a proprietary format or a single vendor’s ecosystem.
- OpenAI SDK compatible
- Standard JSON body
- Easy base URL swap
Listen to the 8 voices
Each sample below was generated by this API from the same sentence. There are no monthly plans, no subscriptions, and no VAT invoices.
23 languages
Any voice speaks any of these languages.
Sources and further reading
- Wikipedia
- LibriVox public-domain audiobooks
- curl documentation
- MDN: Web Speech API
- W3C WAI: making audio and video accessible
- LibriTTS-R corpus (OpenSLR 141)
- OpenAI API reference: create speech
- ISO 639 language codes
- LibriTTS-R paper (arXiv 2305.18802)
- openai-node on GitHub
- IETF RFC 7845: Ogg Opus
- openai-python on GitHub
