Frequently asked questions
What is the API endpoint URL?
Send your requests to POST https://api.6667p.info/v1/audio/speech. This endpoint accepts JSON bodies containing your text, voice selection, and format preferences. It follows the standard shape used by major TTS providers, ensuring a familiar integration experience for your podcast production workflow.
How do I authenticate requests?
Include your API key in the Authorization header as a Bearer token: Authorization: Bearer tts-.... You generate this key on the /get-api-key/ page. Each account has one active key; issuing a new one immediately invalidates the previous one.
Can I use the OpenAI Python SDK?
Yes. The API request shape matches the OpenAI speech endpoint. You can use the official OpenAI SDKs by simply changing the base_url to https://api.6667p.info/v1 and providing your Vocalora key. This allows you to reuse existing code structures.
What is the character limit per request?
Each request supports up to 4096 characters of input text. If your script exceeds this limit, you must split the text into smaller chunks. The API does not handle long-form splitting automatically, so your application should manage the segmentation.
Which voices are available for podcasts?
Eight presets are available: Aria, Nova, Luna, and Sage (female); Felix, Milo, Atlas, and Orion (male). Voices like Aria offer warm narration, while Atlas provides a neutral news tone. All voices support 23 languages, allowing flexible casting for your episodes.
How do I specify a language?
Pass the optional language field with an ISO code in your request body. If omitted, the system guesses the language based on the script, defaulting to English for Latin text. Explicitly setting it ensures accurate pronunciation for non-English content.
What audio formats can I download?
You can request audio in mp3, wav, opus, flac, or pcm formats via the response_format field. Choose mp3 or opus for efficient storage, or wav/flac for high-quality master files. The format choice directly affects the file size and quality of your output.
What happens if the API is slow?
Requests are processed sequentially, so high load may cause queuing delays. Typical speed is roughly real-time, but short phrases may take a few seconds. Failed requests are free, but you should implement retry logic with exponential backoff for robust podcast automation.
Is SSML supported in requests?
No, the API does not support SSML. You cannot use markup tags for fine-grained control over pauses or emphasis. You must rely on natural punctuation and text structure within the 4096-character limit to influence the speech rhythm and delivery.
Can I stream audio in real-time?
No, the API does not support streaming or WebSocket connections. You receive the complete audio file in the response after synthesis finishes. This is ideal for batch processing podcast episodes where real-time latency is not a requirement for your workflow.
How do I handle rate limits?
You are limited to 60 requests per minute per key (10 per minute before top-up). Monitor your usage on the dashboard. If you exceed the limit, your requests will be rejected. Implement queuing in your script to respect these constraints smoothly.
What is the difference between tts-1 and tts-1-hd?
Both models use the same engine and have identical pricing. The tts-1-hd designation indicates high-definition audio quality. Choose tts-1 for standard processing or tts-1-hd if you prefer higher fidelity for your podcast narration without any difference in cost.
Do I need to install extra libraries?
No, you do not need a dedicated Vocalora SDK. You can use standard HTTP libraries or the OpenAI Python SDK. Since the endpoint matches the OpenAI standard, you can integrate the API directly into your existing podcast production scripts with minimal code changes.
How do I split long texts for audio?
Split your text into parts of up to 4096 characters each. Send each chunk as a separate request to the endpoint. Your application should then join the resulting audio files sequentially. This manual segmentation ensures you stay within the per-request character limit.
First request
curl
curl https://api.6667p.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.6667p.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.6667p.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
Start by visiting /get-api-key/ to create your account. You can sign up using your Google account for quick access, or register with a standard email and password. This step sets up your unique dashboard where you manage credentials and billing.
Once registered, you will receive a valid API key. Copy this key immediately from your dashboard, as it authenticates your requests to the API. Keep it secure, as it provides full access to your account balance and usage history.
Sign up on /get-api-key/
Navigate to the registration page to begin. The process is straightforward and designed for podcast creators who need quick access to the API without lengthy verification steps.
- No credit card required for initial sign-up
- Instant account creation
Use Google or email registration
Choose your preferred method: Google for speed or email for traditional control. Google sign-ups include a $0.50 free trial credit valid for 7 days. Email registrations start with zero trial credit but offer full control over your credentials.
Copy key from dashboard
Your API key appears in the dashboard after login. Use this key in your requests as a Bearer token. You can regenerate the key at any time; the old one stops immediately.
First Request with cURL
To generate your first episode segment, send a POST request to the API endpoint with a JSON body. The payload requires the model, input text, and voice preset. You can include optional parameters like response_format or speed to tailor the output.
Use the curl example below to test the endpoint. Replace YOUR_API_KEY with the key from your dashboard. The response returns the audio file directly, ready to be saved or merged with other segments for your final podcast file.
Basic JSON body structure
The request body is a standard JSON object. It contains the model identifier, the text to synthesize, and the voice preset. You may also specify the audio format and speed. The API validates the structure before processing.
- POST https://api.6667p.info/v1/audio/speech
- Content-Type: application/json
- Authorization: Bearer YOUR_API_KEY
Required fields: model, input, voice
model must be tts-1 or tts-1-hd. Both use the same engine and pricing. input is your script text, limited to 4096 characters. voice selects one of the eight presets, such as aria or felix.
- model: "tts-1" or "tts-1-hd"
- input: "Your script text here..."
- voice: "aria", "nova", "luna", "sage", "felix", "milo", "atlas", or "orion"
Optional language parameter
The language field accepts an ISO code. If omitted, the system guesses the language from the script, defaulting to English for Latin text. Explicitly setting the language ensures correct pronunciation for non-English content.
Integration with OpenAI SDK
Since Vocalora’s API mirrors the OpenAI speech endpoint structure, you can reuse your existing OpenAI SDK implementations with minimal changes. This compatibility allows podcast production pipelines to switch providers without rewriting core audio generation logic.
Change base_url to api endpoint
Update your SDK configuration to point to https://api.6667p.info/v1 instead of the standard OpenAI URL. Ensure you replace the authorization header with your Vocalora Bearer token.
Use official OpenAI SDKs
Leverage the official OpenAI libraries for Python, Node.js, or other supported languages. The familiar methods remain identical, reducing the learning curve for your engineering team.
Compatible request shape
Pass model, input, and voice parameters exactly as you would for OpenAI. Optional fields like response_format and speed work identically, ensuring consistent batch processing for your episodes.
Supported Audio Formats
Vocalora supports five audio formats to match your podcast workflow: MP3, WAV, OPUS, FLAC, and PCM. Each format balances quality, compatibility, and file size differently, allowing you to optimize storage and streaming performance without reprocessing.
Select your format based on where the audio will live. MP3 remains the standard for web delivery, while uncompressed WAV or FLAC suits archival masters. OPUS offers efficient compression for modern streaming platforms, and PCM provides raw data for immediate editing.
MP3, WAV, OPUS, FLAC, PCM
Choose your output format via the response_format parameter. MP3 is widely supported and small. WAV and FLAC offer lossless quality. OPUS is ideal for efficient streaming. PCM delivers raw, uncompressed audio data.
All formats are generated with the same engine quality, differing only in container and compression. Pick the one that fits your editing software and distribution platform requirements.
- MP3: Standard for web and mobile playback.
- WAV: Uncompressed, high compatibility for editing.
- OPUS: Efficient compression for streaming.
- FLAC: Lossless compression for archives.
- PCM: Raw binary audio data.
Choose format based on quality needs
For quick drafts or web embedding, MP3 provides a good balance. Use WAV or FLAC if you need pristine audio for post-production. OPUS is best for apps prioritizing bandwidth. PCM is useful for technical debugging.
Remember that format choice does not affect voice quality or synthesis speed, only the resulting file characteristics.
File size differences by format
File size varies significantly by format. MP3 and OPUS are compact, reducing bandwidth costs. WAV and FLAC files are larger but retain full fidelity. PCM files are the largest as they are uncompressed.
Plan your storage accordingly. Smaller formats like MP3 are easier to manage in batch processing workflows for episodic content.
Voice Selection and Models
Choosing between tts-1 and tts-1-hd is straightforward: both use the same underlying engine and voice presets, but tts-1-hd offers higher fidelity. You select your preferred voice from eight distinct presets, each tailored for specific narration styles like storytelling or news delivery.
The model parameter determines quality, while the voice parameter defines character. Both models support all eight voices.
tts-1 and tts-1-hd models
Select tts-1 for standard generation or tts-1-hd for enhanced audio quality. Both models accept the same voice presets and process text identically, allowing you to upgrade quality without changing your voice configuration.
tts-1: Standard quality, faster processingtts-1-hd: Higher fidelity
8 voice presets available
Choose from eight licensed voices, each designed for specific podcast tones. Female voices include Aria (warm narrator), Nova (upbeat), Luna (soft storytelling), and Sage (calm instruction). Male options feature Felix (energetic promo), Milo (conversational), Atlas (neutral news), and Orion (deep documentary).
Every voice supports all 23 languages. If the language field is omitted, the system guesses from the script, defaulting to English for Latin text.
- Aria, Nova, Luna, Sage (Female)
- Felix, Milo, Atlas, Orion (Male)
Consistent engine for both models
Both tts-1 and tts-1-hd share the same voice engine, meaning your selected voice sounds identical in quality tier. The only difference is the output fidelity and price.
Audio files include an inaudible watermark marking them as synthetic speech, regardless of the model chosen.

Rate Limits and Queues
To keep generation stable, each API key allows 60 requests per minute. This limit applies per key, so using a single key for multiple scripts requires careful pacing to avoid rejection during peak production hours.
60 requests per minute per key
Maintain a steady output rate. If you exceed this threshold, the API returns an error, but no characters are deducted from your balance.
10 requests before first top-up
New accounts without a top-up are limited to 10 requests per minute. This ensures fair usage while you test your integration before purchasing USDT credits.
Queueing under load
During high demand, requests are processed sequentially. Longer texts may wait in a queue, causing slight delays. Plan your batch processing to avoid simultaneous spikes.
Handling Long Texts
Podcast scripts often exceed the 4,000-character limit per API call. You must split your text into smaller segments before sending them to the endpoint. This ensures each chunk is processed independently without truncation or errors.
Once you receive the audio files for each segment, your application must concatenate them into a single continuous file. This client-side merging maintains the narrative flow, allowing you to download one complete episode file instead of managing dozens of individual clips.
Split text into 4096 char chunks
Calculate the character count of your script, including spaces and punctuation. Divide the text into blocks of no more than 4,096 characters. Send each block as a separate POST request to the /v1/audio/speech endpoint. This approach prevents data loss and ensures consistent audio quality across all segments.
Remember that longer texts take roughly real-time to generate. Splitting allows you to process multiple segments in parallel if your rate limit allows, speeding up batch production for multi-part series.
- Count characters strictly, including spaces and punctuation.
- Ensure no single chunk exceeds 4,096 characters.
- Send each chunk as a separate API request.
- Track the order of segments for correct playback.
Join audio files client-side
After receiving all audio responses, combine the files in the order you sent them. Use a library or tool appropriate for your chosen response_format (MP3, WAV, OPUS, FLAC, or PCM) to merge the streams. This creates a seamless listening experience for your audience.
Since the API does not provide a built-in stitching service, handling the join process locally gives you full control over the final file structure and metadata, such as episode titles or chapter markers, before distribution.
- Maintain the original segment order.
- Use tools compatible with your selected audio format.
- Verify the merged file plays without gaps or clicks.
- Test with a short sample before processing full episodes.
Manage character limits effectively
Plan your script breaks at natural pause points, such as the end of sentences or paragraphs. This prevents audio files from cutting off mid-sentence, which can disrupt the listener’s experience. Leaving a small buffer of 50–100 characters within each chunk helps avoid edge-case limits.
Monitor your usage dashboard to track total characters consumed. Since pricing is based on character count, efficient splitting ensures you only pay for the audio you actually generate, avoiding waste from overly large or redundant segments.
- Break text at natural speech pauses.
- Leave a small character buffer per chunk.
- Track total characters in your dashboard.
- Avoid redundant splits to save processing time.
Error Handling and Status Codes
When synthesis fails, the request is free, so you won’t be charged for errors. This protects your budget while you debug voice or format issues without financial risk.
Always check the HTTP status code to understand what went wrong. Transient network issues are common, so implementing a retry mechanism ensures your podcast production pipeline stays reliable.
Failed requests are free
If the API cannot generate audio due to internal errors, the charge is returned in full. You only pay for successful synthesis, making it safe to experiment with different voices and formats.
Check response status codes
Use standard HTTP status codes to diagnose issues. A 200 OK means success, while 4xx errors indicate client-side problems like invalid keys or missing parameters. 5xx errors suggest temporary server issues.
- 400: Bad Request (invalid JSON or parameters)
- 401: Unauthorized (invalid or expired API key)
- 429: Too Many Requests (rate limit exceeded)
- 500: Internal Server Error
Retry logic for transient errors
For 5xx errors, implement retry logic. This handles temporary spikes in demand or brief outages without manual intervention. Avoid retrying 4xx errors unless you are correcting the request data.
Listen to the 8 voices
Each sample below was generated by this API from the same sentence. Her warm, clear tone delivers content with clarity, making complex stories easy to follow.
23 languages
Any voice speaks any of these languages.
