Frequently asked questions
How Do I Get an API Key?
Visit /get-api-key/ to sign up via Google or email. Your unique key appears on the dashboard. You can issue a new key at any time, which immediately invalidates the old one. No installation or extra libraries are required to start using your credentials with the API.
What Is the Base URL?
The API base URL is https://api.uu8.info/v1. All requests, including speech synthesis and voice listing, originate from this base URL. Ensure your client configuration points to this specific domain to correctly route your text-to-speech requests and authenticate with your assigned API key.
Can I Use the OpenAI SDK?
Yes. The endpoint shape matches the OpenAI speech endpoint. Simply change the base_url to https://api.uu8.info/v1 and use your LingoSync key. The official OpenAI SDKs work seamlessly with this configuration, allowing you to integrate quickly without learning a new library structure.
What Formats Are Supported?
You can request audio in mp3, wav, opus, flac, or pcm formats. Specify your preference in the response_format field. These options cover most corporate training needs, from lightweight web playback to high-quality archival storage. Each generated file includes an inaudible watermark marking it as synthetic speech.
What Are the Rate Limits?
You are limited to 60 requests per minute per key. New accounts start with 10 requests per minute until the first top-up. Requests are processed sequentially, so high volume may cause slight delays. Monitor your usage dashboard to stay within these limits and avoid throttling.
How Do I Handle Long Texts?
Split texts into parts of up to 4096 characters. Generate audio for each part separately, then join the resulting files. This ensures consistent quality and avoids hitting character limits. The API processes requests sequentially, so plan your batching strategy to maintain efficient throughput for large training modules.
What Happens If I Fail a Request?
Failed requests are free. If synthesis fails, the charge is returned in full. You can retry the request without additional cost. This ensures you only pay for successfully generated audio files, protecting your budget during integration testing or when handling edge cases in your LMS workflow.
Do I Need to Install Extra Libraries?
No. You can use the official OpenAI SDKs or plain HTTP requests. Just update the base_url to https://api.uu8.info/v1. No proprietary SDK or mobile library is required. Standard HTTP clients are sufficient for sending JSON bodies and receiving audio files in your preferred format.
First request
curl
curl https://api.uu8.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.mp3Python (openai)
from openai import OpenAI
client = OpenAI(base_url="https://api.uu8.info/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.uu8.info/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 |
Get Your API Key
Create your LingoSync account at /get-api-key/ using Google or an email address. This grants immediate access to your unique API key and a $0.50 free trial valid for seven days.
Once registered, you receive one active key per account. You can view your credentials and usage details directly in the dashboard to start integrating TTS into your HR or L&D workflows.
Sign Up on the Site
Visit /get-api-key/ and choose Google or email registration. Accounts created with email start without trial credit, while Google sign-ins include $0.50 (50,000 characters) for testing.
Find Your Key in Dashboard
After logging in, the dashboard displays your active API key, current balance, and character usage. Use this key in the Authorization: Bearer header for all API requests.
Regenerate Key if Needed
Generate a new key from the dashboard at any time. The previous key becomes invalid immediately, ensuring secure access management for your team.
Make Your First Request
Sending a POST request to the speech endpoint generates audio instantly. You simply provide the text, select a voice, and specify the output format. The API returns the audio file directly in the response, ready for download or playback.
This method works with any HTTP client. Below is a standard cURL command to generate a short welcome message using the 'nova' voice.
cURL Example
Use this command to test the endpoint. Replace YOUR_API_KEY with your actual token.
- curl -X POST https://api.uu8.info/v1/audio/speech \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model": "tts-1", "input": "Hello, this is a test.", "voice": "nova", "response_format": "mp3"}'
JSON Body Structure
The request body is a standard JSON object. It accepts up to 4096 characters of text per request. You can optionally set the language, speed, or voice model.
- model: "tts-1" or "tts-1-hd"
- input: string (max 4096 chars)
- voice: one of 8 presets
- response_format: mp3, wav, opus, flac, or pcm
- speed: 0.25 to 4.0
- language: optional ISO code
Required Fields
Only three fields are mandatory: model, input, and voice. The API guesses the language from the script if not specified, but setting it explicitly ensures accuracy for non-English Latin text.
Using the OpenAI SDK
To integrate LingoSync, simply adjust the OpenAI SDK's base_url to point to our API endpoint. This allows you to use the official SDK with minimal configuration changes, ensuring your existing code structure remains intact while leveraging our TTS capabilities.
By updating the base URL, you can continue using familiar methods like Audio.speech.create() without rewriting your integration logic. This approach ensures compatibility with your current development workflow.
Change Base URL
Set the base_url to https://api.uu8.info/v1 in your SDK configuration. This directs all requests to LingoSync's infrastructure while maintaining the standard OpenAI request shape.
Use Official SDK
Use the standard OpenAI Python or Node.js SDK. No custom libraries are required; just ensure your authentication header uses your LingoSync API key prefixed with Bearer.
Example Code Snippet
Initialize the client with your key and custom base URL. Then call Audio.speech.create() with your desired voice, model, and input text to receive the audio file.
- Set
base_urltohttps://api.uu8.info/v1 - Use
Authorization: Bearer tts-...header - Call
Audio.speech.create()with standard parameters
Supported Audio Formats
Choose the audio format that best fits your corporate training infrastructure. MP3 provides broad compatibility for web-based LMS players, while WAV offers uncompressed quality for high-fidelity internal distribution.
MP3
MP3 is the default format and works seamlessly with most Learning Management Systems and intranet audio players. It offers a good balance between file size and audio quality for general employee training content.
WAV
Select WAV for uncompressed, high-quality audio files. This format is ideal when you need pristine sound for critical compliance modules or when your internal systems prefer lossless audio storage.
OPUS, FLAC, PCM
OPUS offers efficient compression for low-bandwidth environments, while FLAC provides lossless compression for archival purposes. PCM delivers raw, uncompressed audio data, suitable for specialized processing pipelines in your HR tech stack.
Rate Limits and Speed
Understanding your usage limits ensures your training workflows run smoothly without unexpected interruptions. Our API is designed for consistent performance, allowing you to generate audio for policies, scripts, and e-learning modules at a predictable pace.
Rate limits apply per API key, and processing speed varies based on text length and current server load. Knowing these constraints helps you plan bulk generation tasks effectively.
60 Requests Per Minute
You can send up to 60 requests per minute with a single active API key. This limit applies to all synthesis attempts.
If you exceed this threshold, requests will be rejected until the window resets. Plan your bulk uploads accordingly to avoid temporary blocks.
- Limit: 60 requests/minute per key
- Applies to all synthesis attempts
- Exceeding results in rejection
10 Requests Before First Top-Up
New accounts starting with the free trial credit are limited to 10 requests per minute. This lower limit ensures fair usage while you explore the API.
Once you top up with USDT (TRC-20), your limit increases to the standard 60 requests per minute.
- Free trial limit: 10 requests/minute
- Standard limit: 60 requests/minute after top-up
Processing Time Estimates
Typical processing speed is roughly real-time, generating about 25 characters of text per second of audio. Short phrases may take a few seconds to complete.
Requests are processed sequentially, so under heavy load, your request may wait in a queue. Longer texts are split into parts of up to 4096 characters and joined by the client.
- Speed: ~25 chars/sec
- Queueing possible under load
- Long texts split internally
Handling Long Texts
Standard API requests accept up to 4096 characters of input text. For policies or e-learning modules longer than this limit, you must split the source text into smaller chunks before sending them to the endpoint.
After generating audio for each chunk, concatenate the resulting files to recreate the full training module. This ensures consistent audio quality while respecting the single-request character constraint.
Split Into 4096 Character Chunks
Treat spaces and punctuation as characters when calculating limits. Divide your HR policy or script into segments no longer than 4096 characters to ensure successful synthesis.
Maintain the order of chunks to preserve context. Each segment is processed independently, so precise sequencing is required during the final assembly phase.
- Count every character, including spaces and punctuation.
- Ensure no single request exceeds 4096 characters.
- Keep track of chunk indices for reassembly.
Join Audio Files
Receive separate audio files for each text segment. You must programmatically merge these files in the correct order to create a single continuous audio file for your employees.
Supported output formats like MP3 or WAV can be concatenated using standard libraries. Ensure no silent gaps are introduced during the merge process to maintain natural flow in your training content.
- Download each generated audio file.
- Merge files sequentially based on chunk order.
- Verify audio continuity before distribution.
Manage Queues
Requests are processed sequentially. Under load, a request may wait in a queue before synthesis begins. This can extend the total time required for long documents.
Plan your integration accordingly. For large-scale deployments, consider staggering requests to avoid hitting the 60 requests per minute rate limit while waiting for previous chunks to finish.
- Requests are processed one after another.
- Generation time is roughly real-time.
- Short phrases may take a few seconds.
Common Errors
When integrating LingoSync into your HR or L&D workflows, you may encounter specific errors. Understanding these common issues helps keep your employee training audio generation running smoothly without unnecessary downtime.
Below are the three most frequent errors developers face, along with quick solutions to resolve them and get your audio files back on track.
Invalid API Key
Ensure your request includes the correct header: Authorization: Bearer tts-.... If the key is missing or incorrect, the API returns a 401 error. You can verify your active key on the dashboard at /get-api-key/.
If needed, you can regenerate your key at any time. The previous key stops immediately, so update your integration promptly to avoid service interruption.
- Check for typos in the Bearer token.
- Verify the key starts with
tts-. - Regenerate via the dashboard if compromised.
Rate Limit Exceeded
The API allows 60 requests per minute per key. If you exceed this, you receive a 429 error. New accounts start with a limit of 10 requests per minute until the first top-up.
Implement exponential backoff in your code to handle retries gracefully during high-volume training content generation.
- Limit: 60 requests/minute after top-up.
- New accounts: 10 requests/minute.
- Use backoff strategies for retries.
Input Too Long
Each request supports up to 4,096 characters. Sending longer text results in a 400 error. Split your content into chunks of this size and join the resulting audio files.
Remember that spaces and punctuation count toward the character limit, so plan your splits accordingly for large policy documents or e-learning scripts.
- Max 4,096 characters per request.
- Spaces and punctuation count.
- Split and join audio manually.
Frequently Asked Questions
Quick answers to common integration questions for HR and L&D teams using the LingoSync API to generate training audio.
If you need more detail, check the full documentation or contact support by email.
How Do I Get an API Key?
Sign up on /get-api-key/ using Google or email. Your key appears in the dashboard immediately.
What Is the Base URL?
Use https://api.uu8.info/v1 for all requests.
Can I Use the OpenAI SDK?
Yes. Change the base URL in the official OpenAI SDK to our endpoint. The request shape is identical.
What Formats Are Supported?
We support mp3, wav, opus, flac, and pcm for flexible integration with your LMS.
What Are the Rate Limits?
Limits are 60 requests per minute per key. New accounts start with 10 requests per minute.
How Do I Handle Long Texts?
Split text into chunks of 4096 characters. Generate each chunk and join the resulting audio files.
What Happens If I Fail a Request?
Failed requests are free. If synthesis fails, the charge is returned in full.
Do I Need to Install Extra Libraries?
No. Use the OpenAI SDK or plain HTTP. We do not provide a custom SDK.
Listen to the 8 voices
Each sample below was generated by this API from the same sentence. Generated audio is returned in the response and not retained on our servers, ensuring your specific HR policies remain private.
23 languages
Any voice speaks any of these languages.
