Frequently asked questions
What is the base URL for the API?
The API base URL is https://api.boga123.cc/v1. You send requests to https://api.boga123.cc/v1/audio/speech for synthesis. Other endpoints like /v1/voices and /v1/models are also available under this base path. Ensure your client points to this exact domain for all API interactions.
How do I set the API key in requests?
Include your key in the Authorization header as a Bearer token. Use the format: Authorization: Bearer tts-... Your account provides one active key. If you issue a new key, the old one stops immediately. Pass this header with every request to authenticate your usage.
Can I use the OpenAI SDK with this API?
Yes, the official OpenAI SDKs work by changing the base_url to https://api.boga123.cc/v1. Use the same request shape as the OpenAI speech endpoint. Replace your standard OpenAI key with your Voxture key. This allows you to integrate our TTS service using familiar SDK patterns.
What is the maximum character limit per request?
Each request supports up to 4096 characters of input text. If your content exceeds this limit, you must split it into smaller parts. Generate audio for each part separately and then join the resulting audio files to create the complete output for your users.
Which voices support which languages?
All eight voices support all 23 listed languages. You can use any voice with any language, including English, Spanish, German, and Japanese. If the language is not specified, the system guesses it from the script, defaulting to English for Latin text. Explicitly set the language for non-English Latin texts.
How do I handle long texts exceeding 4096 characters?
Split your text into chunks of up to 4096 characters. Send each chunk as a separate request to the speech endpoint. Once you receive the audio files for each part, join them together. This ensures all content is synthesized without hitting the per-request character limit.
What happens if the API returns a 429 error?
A 429 error indicates you have exceeded the rate limit of 60 requests per minute per key. Before your first top-up, the limit is 10 requests per minute. Wait until the window resets or reduce your request frequency. Failed requests are free, so no charge occurs during the wait.
Is there a WebSocket endpoint for real-time audio?
No, there is no WebSocket endpoint for real-time audio streaming. The API returns complete audio files via standard HTTP responses. You cannot receive partial audio chunks in real time. You must wait for the full synthesis to complete before receiving the audio data for each request.
Does the API support SSML tags?
No, the API does not support SSML tags. You cannot use phoneme dictionaries or custom pronunciation lexicons. The input is plain text only. Voice characteristics are controlled via the voice parameter and speed setting, not through markup tags within the text input field.
How do I specify the response format?
Include the response_format field in your JSON body. Supported formats are mp3, wav, opus, flac, and pcm. This field is optional in the request but determines the audio file type returned. The API will generate the audio in the specified format and return it in the response.
Can I change the speed of the generated audio?
Yes, you can adjust the speed using the speed parameter. The valid range is 0.25 to 4.0. A value of 1.0 is normal speed. Lower values slow down the narration, while higher values increase the pace. This allows you to tailor the audio to your specific needs.
What is the typical generation time for long texts?
Generation is roughly real-time, producing about 25 characters of text per second of audio. Short phrases may take a few seconds. Requests are processed sequentially, so under load, your request may wait in a queue. Plan your integration accordingly to handle potential delays during high traffic.
Are audio files stored after generation?
No, generated audio is returned in the response and not stored by the API. Input text is used only to produce the audio and is not used for training. Only request metadata, such as time, characters, and status, is kept for billing purposes. You receive the file directly.
How do I rotate my API key?
You can issue a new key at any time from your account dashboard. When you generate a new key, the old one stops working immediately. This ensures only one active key per account at any time. Use the new key for subsequent requests to maintain security and access.
First request
curl
curl https://api.boga123.cc/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.boga123.cc/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.boga123.cc/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
Start by creating your account at /get-api-key/. Sign in with Google or email to receive your unique Bearer token immediately. This key authenticates every request to the API base https://api.boga123.cc/v1.
Generate your API key
Visit the /get-api-key/ page to generate your key. Accounts created with email start without trial credit, while Google sign-ins include $0.50. Your key appears instantly in the dashboard.
- Sign up via Google or email/password
- Key displayed immediately on /get-api-key/
- One active key per account
Bearer token format
Include your key in the HTTP header as Authorization: Bearer tts-.... Ensure the prefix matches exactly. One key handles all your agency’s requests.
Key rotation policy
Issue a new key anytime from the dashboard. The old key stops working immediately upon generation of the new one. Rotate keys if you suspect exposure.
Endpoints Overview
Voxture’s API follows a familiar structure, making integration straightforward for agencies. You interact with three primary endpoints to generate audio, manage voices, and verify model availability. This design mirrors standard TTS workflows, reducing the learning curve for your development team.
POST /v1/audio/speech
This is your main endpoint. Send text and receive an audio file. It accepts JSON bodies with model, input, voice, and format parameters. Use this to convert product descriptions or blog posts into listenable content.
GET /v1/voices
Retrieve the list of available voices, languages, and supported formats. This helps you dynamically select the right voice preset for different client projects without hardcoding values.
GET /v1/models
Check available models like tts-1 and tts-1-hd. Both use the same engine and price. Use this to verify current model status before generating audio.
Request Parameters
The POST /v1/audio/speech endpoint requires a JSON body containing your input text, selected voice, and preferred audio format. You can choose between tts-1 and tts-1-hd, which use the same engine and pricing, allowing you to prioritize quality or speed without changing your integration logic.
Model selection (tts-1, tts-1-hd)
Both models support the same 8 voice presets and language settings. The choice affects output quality but not cost or available features.
Input text and length limits
Send up to 4096 characters per request. Longer product descriptions should be split into chunks and joined later. Spaces and punctuation count toward the limit.
Voice preset selection
Select from 8 presets like aria for warm narration or atlas for neutral news tones. Each voice supports all 23 languages. Set the language field to avoid incorrect auto-detection for non-English Latin text.
- Female: aria, nova, luna, sage
- Male: felix, milo, atlas, orion
- Supports 23 languages
- Default language is English for Latin script
Response Formats
The API returns audio files in formats like MP3, WAV, Opus, FLAC, or PCM, giving you flexibility for different use cases. You select the format via the response_format parameter in your request, and the server returns the corresponding binary audio data.
MP3 compression support
MP3 is the default choice for most web applications due to its balance of quality and file size. It is ideal for embedding audio players in product pages or blog posts where bandwidth efficiency matters.
WAV for lossless quality
Choose WAV when you need uncompressed, high-fidelity audio. This format is perfect for archival purposes or when downstream processing tools require raw audio data without compression artifacts.
Opus for efficient delivery
Opus delivers excellent audio quality at low bitrates, making it efficient for web delivery. It is a strong alternative to MP3 when you need smaller file sizes without significant quality loss, especially for mobile users.
Rate Limits
Voxture enforces a standard rate limit of 60 requests per minute per API key. This allows your agency to process bulk product descriptions efficiently without overwhelming the synthesis engine. The limit resets every minute, ensuring consistent throughput for regular workloads.
60 requests per minute
After your initial trial credit is used or if you have not yet topped up, your limit drops to 10 requests per minute. Once you add USDT via TRON, the limit immediately returns to 60 requests per minute. This ensures that paying customers have reliable capacity for client projects.
10 requests before top-up
Requests are processed sequentially. If you exceed the limit, subsequent requests may wait in a queue until slots become available. Short phrases take a few seconds to generate, so under heavy load, you might experience slight delays before the audio file is returned.
- Standard limit: 60 requests/minute
- Pre-top-up limit: 10 requests/minute
- Processing is sequential
Queue behavior under load
Long texts are split into parts of up to 4096 characters. Each part counts as one request. Ensure your integration handles the sequential nature of synthesis to avoid unnecessary retries. Failed requests are free, so retry logic remains cost-effective.

Error Handling
Errors are returned as standard JSON objects with a clear message field. Always check the status code to determine if the issue is with your request or the API service.
Our API provides specific error codes to help you debug integration issues quickly. This ensures your automation pipeline can handle failures gracefully without manual intervention.
Common HTTP error codes
Use 400 for malformed requests, 401 for missing or invalid API keys, and 429 when you exceed the 60 requests per minute limit.
Failed requests are free, so you can retry safely.
- 400: Bad Request (invalid JSON or parameters)
- 401: Unauthorized (invalid or missing Bearer token)
- 429: Too Many Requests (rate limit exceeded)
- 500: Internal Server Error (synthesis failure, refunded)
Invalid voice ID response
If you provide a voice preset that does not exist, the API returns a 400 error with a message listing available voices.
Ensure your application caches the voice list from the /v1/voices endpoint to avoid this error.
Rate limit exceeded message
Exceeding 60 requests per minute triggers a 429 error. If your key has not been topped up, the limit is 10 requests per minute.
Implement exponential backoff in your client code to handle these limits smoothly during high-volume content generation.
- 60 RPM for standard keys
- 10 RPM before first top-up
- Automatic queueing under load
Code Examples
Integrating Voxture’s TTS into your agency’s workflow is straightforward. Use the standard OpenAI-compatible format to generate audio files for client content, ensuring seamless compatibility with existing tools.
cURL command example
Test the API directly from your terminal. Replace YOUR_API_KEY with your key from /get-api-key/.
- curl -X POST https://api.boga123.cc/v1/audio/speech \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{"model": "tts-1", "input": "Hello world", "voice": "nova", "response_format": "mp3"}'
Python OpenAI SDK snippet
Use the official OpenAI Python library. Point it to our base URL to use our voices and pricing.
- import openai client = openai.OpenAI(base_url="https://api.boga123.cc/v1", api_key="YOUR_API_KEY") response = client.audio.speech.create( model="tts-1", voice="nova", input="Your product description here" )
JavaScript fetch example
Generate audio in the browser or Node.js. Send the text and receive the audio blob directly.
- const response = await fetch('https://api.boga123.cc/v1/audio/speech', { method: 'POST', headers: { 'Authorization': 'Bearer YOUR_API_KEY', 'Content-Type': 'application/json' }, body: JSON.stringify({ model: 'tts-1', voice: 'nova', input: 'Sample text' }) });
Language Support
Voxture supports 23 languages, allowing any voice preset to speak in any supported language. This flexibility lets you maintain consistent audio quality across diverse product catalogs without managing separate voice models.
ISO code language setting
You can explicitly set the language using its ISO code in the request body. This is recommended for non-English Latin-script text to ensure accurate pronunciation and tone.
- Arabic, Chinese, Danish, Dutch, English, Finnish, French, German, Greek, Hebrew, Hindi, Italian, Japanese, Korean, Malay, Norwegian, Polish, Portuguese, Russian, Spanish, Swahili, Swedish, Turkish
Automatic language detection
If the language field is omitted, the API guesses the language from the script. Latin script defaults to English. Explicitly setting the language avoids misinterpretation for mixed or ambiguous texts.
Script-based default language
Non-Latin scripts are generally detected accurately based on character sets. Unsupported languages like Vietnamese or Thai will default to English pronunciation if not specified, so always check your list.
- Not supported: Vietnamese, Indonesian, Thai, Ukrainian, Romanian, Czech, Bengali
Listen to the 8 voices
Each sample below was generated by this API from the same sentence. Match the tone to the product’s vibe to keep listeners engaged.
23 languages
Any voice speaks any of these languages.
