Frequently asked questions
What is the base URL for the API?
The API base URL is https://api.syukur668apk.com/v1. You send POST requests to /v1/audio/speech with your JSON body. This endpoint accepts text and returns an audio file directly. All other endpoints like /v1/voices and /v1/models are relative to this same base URL structure.
Which models are available?
Two models are available: tts-1 and tts-1-hd. Both use the same engine and have identical pricing. You can choose either model depending on your quality needs. The request shape remains the same for both, allowing easy switching between standard and high-definition audio generation.
Can I use the OpenAI SDK with this API?
Yes, the official OpenAI SDKs work perfectly. You just need to change the base_url to https://api.syukur668apk.com/v1. Use your Syukur Voices API key for authentication. This allows you to use familiar code structures without learning a new client library or SDK format.
How do I specify the language?
Include the optional language field with an ISO code in your request. If omitted, the system guesses the language from the script, defaulting to English for Latin text. For non-English Latin text, always set the language field to ensure correct pronunciation and voice selection.
What are the supported response formats?
You can request audio in mp3, wav, opus, flac, or pcm formats. Specify your preferred format using the response_format field in the JSON body. This flexibility allows you to choose the best file type for your specific localization or dubbing workflow requirements.
What is the rate limit for new accounts?
New accounts without a top-up are limited to 10 requests per minute. This lower limit helps manage initial load. Once you add funds, the limit increases to 60 requests per minute per key, allowing for more robust automated workflows and higher volume generation.
How many requests per minute are allowed after top-up?
After topping up your account, you are allowed 60 requests per minute per API key. This limit applies to all keys associated with your account. It provides sufficient throughput for most localization agencies and content creators without requiring enterprise-grade infrastructure adjustments.
Is the API key format the same as OpenAI?
Yes, the API key format is similar but distinct. Your key starts with the prefix tts- followed by alphanumeric characters. Authenticate using the header Authorization: Bearer tts-... This format ensures compatibility with standard HTTP clients and SDKs that expect bearer token authentication.
Do I need to install a specific SDK?
No specific SDK is required. You can use the official OpenAI SDK by adjusting the base URL. Alternatively, you can use any standard HTTP client library like requests in Python or fetch in JavaScript. The API uses standard JSON and HTTP methods.
How do I handle rate limit errors?
If you exceed the limit, you will receive a rate limit error. Implement exponential backoff in your code to retry requests after a short delay. New accounts have a 10 requests/minute limit, while funded accounts allow 60 requests/minute. Monitor your usage to stay within limits.
What happens if the text is too long?
Each request supports up to 4096 characters. For longer texts, split the input into parts of this size. Generate audio for each part separately, then join the resulting audio files. This approach ensures high-quality synthesis for extended content without exceeding character limits per request.
Are SSML tags supported?
No, SSML tags are not supported. The API accepts plain text input only. You cannot use pronunciation dictionaries or custom SSML markup.
Is streaming available in the API?
No, streaming or WebSocket support is not available. The API returns the complete audio file in the response after synthesis is finished. You receive the full audio data once processing is complete, rather than receiving partial audio chunks in real-time during generation.
How do I rotate my API key?
You can issue a new API key at any time from your account dashboard. When you generate a new key, the old one stops working immediately. This ensures secure access control. A new key can be issued any time from the dashboard.
First request
curl
curl https://api.syukur668apk.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.syukur668apk.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.syukur668apk.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
Syukur Voices uses a single active API key per account, issued via your dashboard. The key starts with the prefix tts- and grants full access to all endpoints. Keep it secure, as it controls your billing and usage.
API Key Format
Your key is a string beginning with tts- followed by unique alphanumeric characters. It is generated on the /get-api-key/ page and displayed once upon creation.
Bearer Token
Include your key in the HTTP header as Authorization: Bearer tts-<your_key>. This standard format ensures compatibility with the OpenAI SDK and any standard HTTP client.
Key Rotation
You can issue a new key from the dashboard at any time. The previous key stops working immediately, ensuring no overlap or accidental usage of old credentials.
Base URL and Endpoints
The API base URL is https://api.syukur668apk.com/v1. All requests use standard HTTP methods and JSON payloads, making integration straightforward for localization workflows.
Speech Endpoint
Send text to generate audio via POST https://api.syukur668apk.com/v1/audio/speech. This endpoint accepts your input text and voice configuration, returning the synthesized audio file directly.
Voices Endpoint
Retrieve available voice presets, supported languages, and formats using GET https://api.syukur668apk.com/v1/voices. This helps you select the right voice for Hindi or other supported languages.
- List all 8 voice presets with descriptions
- View supported response formats (mp3, wav, opus, flac, pcm)
- Check available languages
Models Endpoint
Access model details via GET https://api.syukur668apk.com/v1/models. Currently, both "tts-1" and "tts-1-hd" use the same engine and pricing, simplifying your integration decisions.
Request Parameters
Configure the synthesis engine and voice character to match your localization needs. Choose between standard or high-definition models, then select from eight distinct presets ranging from warm narrators to neutral news readers. Each voice supports all 23 languages, ensuring consistent quality across diverse dubbing workflows.
Model Selection
Set the model field to either tts-1 or tts-1-hd. Both engines deliver identical audio quality and pricing, so you can switch freely based on your infrastructure preferences without affecting the output.
Voice Presets
Select one of eight licensed voices. Female options include Aria (warm narrator), Nova (upbeat), Luna (soft storytelling), and Sage (calm instructional). Male options include Felix (energetic promo), Milo (friendly conversation), Atlas (neutral news), and Orion (deep documentary).
- 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 Format
Specify the audio format using the response_format parameter. Supported formats include mp3, wav, opus, flac, and pcm. This allows you to integrate the generated audio directly into your existing media pipelines without additional conversion steps.
- mp3
- wav
- opus
- flac
- pcm
Language Specification
Syukur Voices supports 23 languages, including Hindi, with flexible handling of language detection. You can explicitly define the language or let the system infer it based on the input text script.
ISO Code
Specify the language using an ISO 639-1 code in the language field. For Hindi, use hi. This ensures consistent voice rendering regardless of the input script's visual appearance.
Automatic Detection
If the language field is omitted, the API guesses the language from the script. This works well for standard inputs but may require manual override for mixed-script texts.
Latin Script Default
Text in Latin script defaults to English if no language is specified. For Hindi written in Latin script (Hinglish), explicitly set language: hi to ensure correct pronunciation and voice characteristics.
Curl Example
The API returns audio directly in the response body, allowing you to save the file immediately. This straightforward flow integrates easily into localization pipelines for dubbing content.
Basic Request
Send a POST request to the speech endpoint with your API key and desired parameters. The system processes the text and returns the audio file without requiring complex setup.
JSON Body
Include the text input, voice preset, and language code in the JSON payload. Ensure the text does not exceed 4096 characters; longer texts must be split into parts and joined.
Audio Response
Receive the audio file in the specified format (mp3, wav, etc.). Save the output directly to your storage for use in your final localized video or audio project.

OpenAI SDK Integration
The API follows the same request shape as the OpenAI speech endpoint, allowing you to use the official OpenAI SDKs with minimal configuration. You only need to point the SDK to our base URL and use your Syukur Voices key.
Base URL Change
Set your SDK's base URL to https://api.syukur668apk.com/v1. This simple change directs all requests to our infrastructure while maintaining standard OpenAI compatibility.
SDK Compatibility
Since the request structure mirrors OpenAI’s speech endpoint, existing OpenAI SDK implementations work directly. Ensure your authorization header uses the Bearer token format with your Syukur API key.
- Uses standard JSON body structure
- Supports all OpenAI-compatible parameters
- No custom client library required
Code Snippet
Initialize your client with the custom base URL and your API key. The code below demonstrates a basic Hindi speech generation request using the OpenAI Python SDK.
- Install openai package
- Set base_url to https://api.syukur668apk.com/v1
- Use tts-1 or tts-1-hd model
- Specify voice and language parameters
Rate Limits
Our API enforces a strict rate limit of 60 requests per minute for standard accounts. This ensures stable performance for localization workflows, preventing sudden spikes from disrupting audio generation. Requests are processed one after another, so under load a request may wait in a queue.
The limit applies per API key, so managing multiple keys can help scale throughput. Failed requests are free and do not consume character credit.
Requests Per Minute
The system allows a maximum of 60 API calls every 60 seconds. This ceiling is designed to balance speed with cost efficiency for agencies generating dubbing audio at scale. If you exceed this limit, your requests will be queued until capacity frees up.
- Maximum: 60 requests/minute
Initial Limit
New accounts start with a reduced limit of 10 requests per minute. This lower threshold helps manage resource load before your account is fully verified or topped up. The limit increases to 60 requests per minute automatically within minutes after the transfer.
Post Top-Up Limit
Once you top up your balance via USDT (TRC-20), your rate limit increases to the full 60 requests per minute. The upgrade is automatic and takes effect within minutes of the transfer confirmation. There is no need to wait for manual approval or support intervention.
- Top-up required for full speed
Error Handling
When synthesis fails, the charge is returned in full, ensuring you only pay for successful audio generation. Common errors typically stem from invalid JSON formatting or exceeding the 4096-character input limit. Always verify your request payload matches the required schema before sending.
The API returns standard HTTP status codes to indicate the result. A 200 OK confirms successful audio generation, while 400 Bad Request indicates malformed input. For authentication issues, a 401 Unauthorized appears if the Bearer token is missing or invalid.
HTTP Status Codes
The API uses standard HTTP status codes to communicate request outcomes. A 200 OK response includes the audio file in the body. Use 400 for malformed JSON or invalid parameters, 401 for invalid API keys, and 500 for internal server errors during synthesis.
- 200: Success; audio file returned
- 400: Bad Request; invalid input format
- 401: Unauthorized; invalid or expired key
- 500: Internal Server Error; temporary service issue
429
A 429 Too Many Requests error occurs when you exceed the rate limit of 60 requests per minute per key. If you are below the initial threshold of 10 requests per minute, this error may appear sooner. Implement exponential backoff in your integration to handle these limits gracefully without wasting characters.
- Limit: 60 requests per minute (post top-up)
- Limit: 10 requests per minute (initial)
- Action: Use exponential backoff on retry
Refund on Error
If a synthesis request fails due to a server error or invalid input, the character charge is returned in full. You only pay for successfully generated audio files. Failed requests do not consume your balance, ensuring accurate billing for your localization workflow.
Listen to the 8 voices
Each sample below was generated by this API from the same sentence. This voice works best for longer texts where a steady, engaging pace is required to maintain audience interest.
23 languages
Any voice speaks any of these languages.
Sources and further reading
- Wikipedia
- LibriTTS-R paper (arXiv 2305.18802)
- ISO 639 language codes
- openai-python on GitHub
- TRON developer hub: TRC-20
- LibriTTS-R corpus (OpenSLR 141)
- openai-node on GitHub
- Creative Commons Attribution 4.0
- LibriVox public-domain audiobooks
- W3C WAI: making audio and video accessible
- FFmpeg documentation
- OpenAI API reference: create speech
