Frequently asked questions
How do I get an API key?
Sign up on our /get-api-key/ page using Google or an email and password. Your account is specific to this site. Once registered, you can view your active API key, balance, and usage statistics directly on that dashboard page.
Can I use the OpenAI SDK with your API?
Yes. Our endpoint matches the OpenAI speech endpoint shape. You can use the official OpenAI SDKs by changing the base_url to https://api.u333slot.com/v1 and providing your NarratorIO key. This allows you to use familiar client libraries without custom code.
What is the base URL for the API?
The base URL is https://api.u333slot.com/v1. You will use this for all API calls, including the speech endpoint and retrieving available voices. Ensure your authentication header points to this specific domain to route requests correctly.
How do I handle long articles exceeding 4096 characters?
Split your article into parts of up to 4096 characters each. Send each part as a separate request to the speech endpoint. Then, join the resulting audio files together to create a complete audio version of your long article.
What happens if I exceed the rate limit?
You are limited to 60 requests per minute per key. If you exceed this, requests may queue. New accounts start with a 10 requests per minute limit until the first top-up is processed. Monitor your usage to avoid delays.
Can I specify the language explicitly?
Yes, use the optional 'language' field with an ISO code. If omitted, the system guesses the language, defaulting to English for Latin script. Explicitly setting it ensures correct pronunciation for non-English texts, supporting 23 languages including German, Spanish, and French.
Is the voice model consistent across requests?
Yes, each voice preset produces consistent synthetic speech. All generated files carry an inaudible watermark marking them as synthetic. The engine remains stable, ensuring your news readers hear the same voice quality and tone across different articles and days.
How do I handle audio file storage?
Generated audio is returned in the response and not stored by our API. You must handle storage yourself. Input text is used only for synthesis and not for training. Request metadata is kept for billing purposes only.
Can I generate multiple audio formats in one request?
No, each request generates one audio file in a single format. You can choose from mp3, wav, opus, flac, or pcm. To get multiple formats, you must send separate requests for the same text, each specifying a different response format.
What is the maximum input length?
The maximum input length is 4096 characters per request. This limit applies to the 'input' field in your JSON payload. For longer articles, you must split the text into chunks of this size and process them individually.
Do I need to pay for failed requests?
No, failed requests are free. If synthesis fails, the charge is returned in full. You only pay for successful audio generation. This ensures you are not billed for errors or timeouts during the conversion process.
How do I rotate my API key?
You can issue a new key at any time from your account dashboard. When a new key is issued, the old one stops working immediately. This allows for seamless rotation without downtime, ensuring secure access to your TTS services.
Is the API available via WebSocket?
No, the API does not support WebSocket or streaming. It is a standard REST API where you send text and receive an audio file. There is no real-time partial audio delivery, so you must wait for the full file response.
Can I send JSON payloads with special characters?
Yes, you can send standard JSON payloads. The API accepts text up to 4096 characters, including special characters and punctuation. Spaces and punctuation count toward the character limit, so ensure your encoding is correct when sending complex news article text.
First request
curl
curl https://api.u333slot.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.u333slot.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.u333slot.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
Authenticate your API requests by including a valid bearer token in the Authorization header. Each account maintains a single active key, ensuring clear tracking of usage and billing across your newsroom's infrastructure.
API Key format
Your API key is a string starting with tts- followed by alphanumeric characters. It is generated and displayed on your dashboard at /get-api-key/ after signing in with Google or email.
- Keys are unique per account and site.
Bearer token usage
Include the header Authorization: Bearer tts-... in every POST request to the speech endpoint. This token authenticates your identity and allows the system to deduct characters from your balance correctly.
- Format:
Authorization: Bearer tts-xxxxxxxxxx
Key rotation
You can issue a new key at any time via the dashboard. When a new key is generated, the old one stops working immediately, ensuring no overlap or accidental usage with revoked credentials.
Endpoint: Speech
The core of our API is a simple POST request to the speech endpoint. You send text, and we return an audio file. This standard HTTP method fits easily into your existing CMS workflows, allowing you to convert articles into audio without complex infrastructure changes.
Our API follows the same request shape as the OpenAI speech endpoint. This means you can use official OpenAI SDKs by simply changing the base URL to https://api.u333slot.com/v1. It is a straightforward integration that news publishers can implement quickly.
POST request
Send a POST request to https://api.u333slot.com/v1/audio/speech. This endpoint accepts your text input and returns the generated audio file directly in the response.
The request must include a valid Bearer token in the Authorization header. Ensure your API key is active and has sufficient balance.
JSON body structure
The request body is a JSON object containing the parameters for synthesis. You specify the model, input text, voice, and desired output format.
Keep the structure clean and minimal. Only include fields you need to customize; defaults will apply to missing parameters.
Required fields
- model: "tts-1" or "tts-1-hd"
- input: Your article text (up to 4096 characters)
- voice: One of the 8 available presets
- response_format: mp3, wav, opus, flac, or pcm
Models: tts-1 and tts-1-hd
Both tts-1 and tts-1-hd utilize the identical synthesis engine, producing audio with the same vocal characteristics and quality. The distinction lies only in the model identifier you send in the request, which allows you to choose your preferred naming convention without affecting the output generation process.
Same engine
The underlying technology remains consistent across both model strings. Whether you select tts-1 or tts-1-hd, the system applies the same neural network to convert your article text into speech, ensuring uniform voice behavior and latency characteristics for your news readers.
Same price
Since the engine is identical, the cost per character is exactly the same for both models. You are billed $0.01 per 1,000 characters regardless of which model identifier you pass in your JSON body. There is no premium tier for tts-1-hd despite the "HD" label.
- Use
tts-1for simplicity. - Use
tts-1-hdif your CMS expects that specific string.
No difference in cost
You can switch between models dynamically without any financial penalty. This flexibility allows you to test different model strings in your staging environment without worrying about unexpected charges. Your billing remains strictly based on character count, not model version.
This means you can use official OpenAI SDKs by changing the base_url to https://api.u333slot.com/v1.
Voice selection
Publishers can select from eight distinct voice presets to match their brand's audio identity. Each voice is a distinct preset, allowing you to maintain consistency across daily news updates or special features without needing multiple voice actors.
8 presets available
The API offers eight specific voices, each designed for different content types. You can choose from warm narrators for long-form articles or energetic voices for breaking news promos. All voices support all 23 languages, including English, Spanish, German, and Japanese.
- 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
Gender options
The selection includes four female and four male voices. This balance allows newsrooms to diversify their audio lineup, offering variety for different segments like morning briefings versus evening analysis without hiring additional talent.
Tone variety
Voices range from neutral and professional to deep and documentary-style. Atlas provides a neutral news tone, while Orion offers a deeper, authoritative feel. Felix adds energy for promotional content, ensuring the audio fits the article's mood.
Response formats
Choose the format that fits your player. MP3 is the standard for web audio, ensuring broad compatibility across all browsers and devices without extra configuration. WAV offers uncompressed quality for archival or high-fidelity needs. OPUS and FLAC provide efficient compression with excellent sound quality, ideal for mobile data savings or professional audio workflows.
Select your preferred response format via the response_format parameter. Each format serves different use cases, from quick mobile playback to studio-grade storage.
MP3 compatibility
MP3 is the default and most widely supported format. It works seamlessly with standard HTML5 audio players and most CMS plugins. Use it for general web publishing where file size matters but compatibility is key.
- Works in all modern browsers
- Optimal for web embedding
- Balanced quality and size
WAV quality
WAV provides uncompressed, high-quality audio. It is ideal for archival purposes or when your downstream processing requires lossless input. File sizes are larger, so consider storage implications.
- Lossless audio quality
- Ideal for archival
- Larger file sizes
OPUS and FLAC options
OPUS offers high-quality compression, reducing bandwidth usage significantly while maintaining clarity. FLAC is lossless, offering smaller files than WAV without quality loss. Both are excellent for mobile apps or efficient distribution.
- OPUS: Efficient compression
- FLAC: Lossless compressed
- Mobile-friendly options

Speed control
Adjust the speed parameter between 0.25 and 4.0 to match your audience’s listening preferences. This allows you to offer faster summaries or slower, more deliberate readings without re-generating audio files.
0.25x to 4.0x
The API accepts float values from 0.25 to 4.0, giving you precise control over the playback rate. Standard news reading typically benefits from speeds between 1.0 and 1.5, making content easier to digest during commutes.
Adjustable pace
You can set different speeds for different content types. Use slower rates for complex financial reports or technical updates, and higher speeds for breaking news headlines where brevity is key.
News reading speed
Generates audio at roughly real-time speeds, producing about 25 characters of text per second of audio at normal pace. This ensures the audio feels natural and synchronizes well with on-screen text in your CMS.
Rate limits
Rate limits define how many synthesis requests your system can send per minute. This ensures fair usage and consistent performance for all news publishers on the platform. Understanding these constraints helps you design your CMS integration to handle traffic spikes without errors.
The limits apply per API key, so each active key has its own quota. Proper key management and rotation strategies can help maintain steady audio generation for your readers.
60 requests per minute
Once your account is active, you can send up to 60 requests per minute. This limit is per API key, so ensure you are using the correct key for your production environment.
This rate is sufficient for most newsrooms, allowing you to generate audio for multiple articles simultaneously without significant delays.
- Limit: 60 requests/minute per key
- Applies to all successful and failed requests
10 requests before top-up
If your account has not yet been topped up, the limit is lower at 10 requests per minute. This allows you to test the API with your free trial credit without overwhelming the system.
Once you add USDT to your balance, the limit increases to the standard 60 requests per minute.
- Initial limit: 10 requests/minute
- Increases to 60 after top-up
Queue behavior
Requests are processed in the order they are received. Under load, requests may wait in a queue before being processed.
This queueing mechanism ensures that no requests are lost, but may introduce slight delays during high traffic periods.
- Requests are queued if limit is exceeded
- Processed in order of receipt
Error handling
Synthesis failures are rare but possible. If the API returns an error, the character count is not deducted from your balance, and the charge is fully refunded.
Understanding common errors helps you debug quickly. We provide clear codes so you can adjust your integration without guesswork.
Failed request refunds
Failed requests are free: if synthesis fails, the charge is returned in full. This applies to network errors or invalid inputs that prevent generation.
Common error codes
We return standard HTTP codes. 400 indicates bad input (e.g., text over 4096 characters). 401 means your API key is invalid or expired. 429 signals you have hit the rate limit of 60 requests per minute.
- 400: Invalid parameters or input length exceeded.
- 401: Unauthorized or invalid API key.
- 429: Rate limit exceeded (60 req/min).
Retry logic
Implement exponential backoff for 429 errors. For 500 server errors, retry once after a short delay. Since requests are processed sequentially, under load a request may wait in a queue, so patience is key.
Listen to the 8 voices
Each sample below was generated by this API from the same sentence. Publishers must adapt rapidly as audiences increasingly consume breaking stories through social media platforms rather than traditional newspapers.
23 languages
Any voice speaks any of these languages.
