Frequently asked questions
How do I authenticate my requests?
Include your API key in the request header as Authorization: Bearer tts-.... You can find your active key on the /get-api-key/ page. Each account has one active key; issuing a new one immediately invalidates the previous one. Ensure you copy the key exactly as shown to avoid authentication errors.
What is the base URL for the API?
The API base URL is https://api.play66ff.com/v1. Use this endpoint for all requests. The speech generation endpoint is POST https://api.play66ff.com/v1/audio/speech. Other endpoints like /v1/voices and /v1/models also use this base URL structure.
Can I use the OpenAI SDK?
Yes, the official OpenAI SDKs work perfectly. You only need to change the base_url to https://api.play66ff.com/v1 and use your LingvoSynth key. The request shape matches the OpenAI speech endpoint exactly, making integration straightforward for developers already familiar with that ecosystem.
How do I specify the language?
Pass the optional language field with an ISO code in your request body. If omitted, the system guesses the language from the script, defaulting to English for Latin text. For non-English Latin-script text, always set the language field to ensure accurate pronunciation.
What models are available?
Two models are available: tts-1 and tts-1-hd. Both use the same engine and have identical pricing. You can list all available models by sending a GET request to /v1/models. Choose based on your preference, as performance characteristics are consistent across both.
How do I handle long texts?
Split your text into parts of up to 4096 characters. Generate audio for each part separately, then join the resulting audio files. This ensures each request stays within the character limit. Our typical speed is roughly real-time, so long texts will take time to process.
What happens if I exceed the rate limit?
You are limited to 60 requests per minute per key (10 per minute before the first top-up). Requests are processed sequentially, so under load, your request may wait in a queue. Failed requests are free, but exceeding limits may delay generation until the window resets.
Is there a limit on characters per request?
Yes, each request accepts up to 4096 characters in the input field. Spaces and punctuation count toward this limit. If your text exceeds this, split it into smaller chunks, generate audio for each, and concatenate the results to create the final audio file.
How do I change my voice?
Change the voice parameter in your request body. You can choose from eight presets: Aria, Nova, Luna, Sage, Felix, Milo, Atlas, or Orion. Each voice has a distinct tone, from warm narration to deep documentary styles. See /v1/voices for the full list.
What is the response format?
Specify the response_format field with one of: mp3, wav, opus, flac, or pcm. The API returns the audio file directly in the response. Choose the format that best suits your classroom materials or self-study applications, balancing quality and file size.
Can I control the speed of speech?
Yes, use the speed parameter to adjust playback speed between 0.25 and 4.0. This allows you to slow down speech for learners or speed it up for advanced practice. The default speed is 1.0, providing natural pacing for most educational content.
Are there any SSML tags supported?
No, SSML is not supported. The API accepts plain text input only. There are no phoneme dictionaries or custom pronunciation lexicons available.
How do I get a list of available voices?
Send a GET request to /v1/voices. This endpoint returns details on all available voices, supported languages, formats, and pricing information. You can use this data to build a user interface for selecting the appropriate voice and language for your educational materials.
What is the difference between tts-1 and tts-1-hd?
There is no difference in engine or price between tts-1 and tts-1-hd. Both models use the same engine and price. You can use either model interchangeably based on your preference or existing SDK configurations.
First request
curl
curl https://api.play66ff.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.mp3Python (openai)
from openai import OpenAI
client = OpenAI(base_url="https://api.play66ff.com/v1", api_key="tts-...")
with client.audio.speech.with_streaming_response.create(
model="tts-1", voice="nova", input="Hello from Python.", response_format="mp3"
) as response:
response.stream_to_file("hello.mp3")Node.js (openai)
import OpenAI from "openai";
import fs from "node:fs";
const client = new OpenAI({ baseURL: "https://api.play66ff.com/v1", apiKey: process.env.TTS_API_KEY });
const res = await client.audio.speech.create({ model: "tts-1", voice: "milo", input: "Hello from Node.js." });
fs.writeFileSync("hello.mp3", Buffer.from(await res.arrayBuffer()));| voice | |
|---|---|
aria | female |
nova | female |
luna | female |
sage | female |
felix | male |
milo | male |
atlas | male |
orion | male |
| language | |
|---|---|
ar | العربية |
zh | 中文 |
da | Dansk |
nl | Nederlands |
en | English |
fi | Suomi |
fr | Français |
de | Deutsch |
el | Ελληνικά |
he | עברית |
hi | हिन्दी |
it | Italiano |
ja | 日本語 |
ko | 한국어 |
ms | Bahasa Melayu |
no | Norsk |
pl | Polski |
pt | Português |
ru | Русский |
es | Español |
sw | Kiswahili |
sv | Svenska |
tr | Türkçe |
Authentication
To start using the LingvoSynth API for your language lessons, you need an API key. This key authenticates your requests and tracks your usage against your account balance. Keep it secure, as it grants access to your credits and generated audio files.
Use Bearer token in header
Include your API key in the Authorization header of every request. Use the format Bearer tts-..., replacing the ellipsis with your actual key. This standard method ensures your identity is verified before the system processes your text-to-speech requests.
- Header name: Authorization
- Format: Bearer <your_api_key>
- Example: Authorization: Bearer tts-abc123def456
One key per account
Each LingvoSynth account is associated with a single active API key. This key is used for all requests from your scripts or applications. You can view your current key on the /get-api-key/ dashboard page along with your balance and usage statistics.
Regenerate key anytime
If you suspect your key has been exposed or simply want to start fresh, you can generate a new key at any time. The old key becomes inactive immediately when the new one is issued, ensuring no overlap or confusion in your teaching tools.
Endpoint Overview
Integrate LingvoSynth’s text-to-speech engine directly into your lesson planning workflow. The API is designed for simplicity, allowing you to generate clear audio files for listening exercises with minimal code. All endpoints follow standard REST conventions, ensuring compatibility with common HTTP libraries used in educational software and classroom tools.
POST /v1/audio/speech
Send text and receive an audio file. This is the primary endpoint for generating speech. It accepts a JSON body with your input text, selected voice, and preferred audio format. The endpoint processes requests sequentially, so under heavy load, your generation might queue briefly.
- Endpoint: POST https://api.play66ff.com/v1/audio/speech
- Accepts text up to 4096 characters per request
- Returns audio in MP3, WAV, OPUS, FLAC, or PCM
GET /v1/voices
Retrieve a list of available voices, their associated languages, supported audio formats, and pricing details. This endpoint helps you programmatically select the best voice for your specific language learning context, whether you need a calm narrator for stories or an energetic voice for promo-style exercises.
- Endpoint: GET https://api.play66ff.com/v1/voices
- Returns voice ID, name, gender, and available formats
- Includes current pricing per 1,000 characters
GET /v1/models
List the available synthesis models, specifically "tts-1" and "tts-1-hd". Both models use the same engine and pricing, but both models use the same engine and price.
- Endpoint: GET https://api.play66ff.com/v1/models
- Returns model ID, name, and description
- Identifies available audio formats per model
Request Parameters
Configure your speech synthesis requests with precise control over audio output. Each parameter directly influences how the generated audio sounds and behaves in your classroom materials.
Use the standard request shape compatible with OpenAI SDKs by setting the base_url to https://api.play66ff.com/v1.
Model: tts-1 or tts-1-hd
Choose between tts-1 and tts-1-hd. Both models use the same engine and pricing tier, so you can switch freely based on your quality preference without cost implications.
Both models use the same engine and price, so you can switch freely based on your preference without cost implications.
Input: text up to 4096 chars
Submit your lesson text in the input field, limited to 4,096 characters per request. Spaces and punctuation count toward this limit.
For longer texts, split them into smaller parts, generate each segment, and join the resulting audio files seamlessly.
Voice: one of 8 presets
Select one of eight distinct voices to match your pedagogical style, from warm narrators to energetic presenters.
Every voice supports all 23 languages, allowing consistent character voices across different language exercises.
- 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
Response Formats
Select your preferred audio format via the response_format parameter. We support MP3, WAV, OPUS, FLAC, and PCM, allowing you to choose the right balance of quality and file size for your classroom resources or self-study exercises.
MP3, WAV, OPUS, FLAC, PCM
MP3 offers efficient compression for web delivery, while WAV and FLAC provide uncompressed or lossless quality for high-fidelity listening tests. OPUS is ideal for low-bandwidth environments, and PCM delivers raw audio data for immediate processing.
Audio file in response body
The synthesized audio file is returned directly in the response body. This straightforward structure means you can pipe the output straight into your lesson plan software or save it locally without parsing complex JSON data structures for the audio itself.
Standard HTTP headers
Standard HTTP headers accompany the response, including content-type and content-length. These ensure your application handles the binary data correctly and knows the exact size of the generated audio file before processing.
Language Support
Generate clear audio for listening exercises in 23 languages. Our engine 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.
Voices are versatile and can speak any supported language. This flexibility allows you to create diverse classroom materials without searching for specific voice models for each language.
ISO code optional
The language parameter is optional. If omitted, the system guesses the language from the text script. Latin text defaults to English. You can explicitly set the ISO code for precision.
- Supported: Arabic, Chinese, Danish, Dutch, English, Finnish, French, German, Greek, Hebrew, Hindi, Italian, Japanese, Korean, Malay, Norwegian, Polish, Portuguese, Russian, Spanish, Swahili, Swedish, Turkish. Any voice can speak any of these languages.
Auto-detect for Latin script
Latin script text defaults to English if no language is specified. This works well for simple English texts. However, it may misidentify other Latin-based languages like Spanish or French.
Explicit language setting recommended
For non-English Latin-script text, always set the language parameter. This ensures accurate pronunciation. It prevents the system from defaulting to English. This is crucial for accurate listening exercises.

Speed Control
Adjusting the generation speed allows you to tailor audio difficulty for your students, ranging from 0.25x to 4.0x. This control is essential for creating effective listening exercises, as slowing down speech helps beginners parse individual words, while faster rates challenge advanced learners with natural pacing.
Range 0.25 to 4.0
The speed parameter accepts values between 0.25 and 4.0, giving you precise control over playback rate. You can significantly slow down complex passages for dictation practice or speed up simple instructions to match real-world conversation tempo.
- Minimum speed: 0.25
- Maximum speed: 4.0
- Fine-grained control for specific phonetic exercises
Adjust for listening exercises
Use slower speeds (0.5x–0.75x) for beginner-level vocabulary drills where students need time to recognize sounds. For intermediate listening comprehension, try 0.9x–1.1x to simulate normal classroom speech. Advanced students benefit from 1.2x speeds to prepare them for native-speed media.
Default speed is 1.0
The API defaults to 1.0x speed, which provides a clear, neutral pace suitable for most general purposes. If you do not specify the speed parameter, the system uses this standard rate, ensuring consistent audio quality across all your generated lesson materials.
Rate Limits
Rate limits protect the API while keeping costs predictable for your classroom projects. You get 60 requests per minute with an active balance, which is plenty for generating short listening exercises or dictations during lesson prep.
60 requests per minute
Once your account has a valid top-up, you can send up to 60 requests per minute. This limit applies per API key, so plan your batch generations accordingly to avoid hitting the cap during intensive workflow steps.
10 requests before top-up
New accounts without a top-up are limited to 10 requests per minute. This is sufficient for testing voices or generating a few sample audio clips before you decide to add funds.
Queued processing under load
Requests are processed sequentially, so heavy usage may cause brief delays. Long texts generate in roughly real-time, but short phrases might take a few seconds. Under load, additional requests may wait in a queue until slots free up.
Error Handling
When your API calls encounter issues, the response includes standard HTTP status codes to help you diagnose the problem quickly. You can rely on these codes to adjust your integration logic for classroom workflows.
Check status codes
Use the HTTP status code to determine the next step. A 200 OK means your audio file is ready in the response body. Codes like 401 or 403 indicate authentication issues, while 429 signals you have hit the rate limit of 60 requests per minute.
Refunds for failed requests
If synthesis fails due to a server error, the charge is returned in full. This ensures your balance accurately reflects only successful audio generations. You do not lose credit for requests that do not produce a usable audio file.
Common error messages
You may encounter errors if the input text exceeds 4096 characters or if the voice parameter is invalid. Always validate your request body before sending. Check the response message for specific details to fix the issue and retry.
- 400 Bad Request: Invalid parameters or text too long
- 401 Unauthorized: Invalid or expired API key
- 429 Too Many Requests: Rate limit exceeded (60 req/min)
Listen to the 8 voices
Each sample below was generated by this API from the same sentence. Effective language acquisition requires immersive contexts that prioritize meaningful communication over rigid grammatical perfection in the classroom.
23 languages
Any voice speaks any of these languages.
Sources and further reading
- Wikipedia
- openai-node on GitHub
- ISO 639 language codes
- LibriTTS-R paper (arXiv 2305.18802)
- W3C WAI: making audio and video accessible
- TRON developer hub: TRC-20
- OpenAI API reference: create speech
- openai-python on GitHub
- MDN: Web Speech API
- IETF RFC 7845: Ogg Opus
- LibriTTS-R corpus (OpenSLR 141)
- Python documentation
