Frequently asked questions
Is this API suitable for game development?
Yes, VoxFlow is built for indie developers and content tools. You can generate natural-sounding speech for games by sending text to our endpoint. With 23 languages and 8 distinct voice presets, it is easy to add clear audio to your projects.
How many languages does the API support?
The API supports 23 languages, including English, Spanish, Chinese, Japanese, and German. Any voice can speak any of these languages. If you do not specify a language, the system guesses it from the script, but setting it explicitly ensures accuracy for non-English Latin text.
Can I use my own text for voiceovers?
Absolutely. You provide the input text, and we generate the audio. Your text is used only to produce the audio and is not used for training. You can send up to 4096 characters per request, splitting longer texts into parts if needed for your specific voiceover needs.
What audio formats are available?
You can choose from mp3, wav, opus, flac, and pcm formats. Simply specify the desired format in your request body. This flexibility allows you to integrate the generated audio directly into your game engine or application without needing additional conversion tools.
Is there a limit on text length?
Yes, each request accepts up to 4096 characters. Spaces and punctuation count toward this limit. For longer scripts, split the text into smaller parts, generate each audio file, and join them together. This ensures consistent quality and stays within the single-request constraints.
How does the pricing work?
Pricing is $10 per 1 million characters, or $0.01 per 1,000 characters. Failed requests are free. You can top up using USDT on the TRON network. There are no monthly plans, seats, or minimum spends, making it easy to scale costs with your usage.
Can I change my API key?
Yes, you can issue a new key at any time from your account page. When you generate a new key, the old one stops working immediately. This allows you to rotate keys securely without downtime, ensuring your game or app remains protected.
Does the API support speed adjustments?
Yes, you can adjust the speech speed between 0.25 and 4.0. This allows you to make voices sound slower or faster to fit your game’s pacing. Simply include the speed parameter in your request to customize the delivery rate of the generated audio.
What happens if a request fails?
If synthesis fails, the charge is returned in full. You are not billed for failed requests. This ensures you only pay for successful audio generation. You can retry the request or adjust parameters like text length or voice selection to resolve the issue.
Is there a free trial available?
Yes, signing in with Google gives you $0.50 of credit, valid for 7 days. This covers about 50,000 characters. Accounts created with email and password start without trial credit. It is a quick way to test the API before committing to a top-up.
How long is the free trial valid?
The free trial credit is valid for 7 days after you sign in with Google. After this period, the credit expires if not used. This gives you ample time to test the API’s quality and integration with your game or application.
Can I use the API for commercial projects?
Yes, the API is designed for indie developers and commercial content tools. There are no restrictions on using the generated audio in games or apps. The voices are based on licensed recordings, and the generated files carry a synthetic watermark to mark them as AI-generated.
Is my input text used for training?
No, your input text is used only to produce the audio and is not used for training. Generated audio is returned in the response and not stored. Request metadata like time and status is kept for billing purposes, ensuring your data remains private.
Does the API support streaming audio?
No, the API does not support streaming or WebSocket connections. You send a text request and receive the complete audio file in the response. This synchronous approach simplifies integration for indie developers who prefer standard HTTP requests over complex streaming protocols.
First request
curl
curl https://api.pgzeed168casino.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.mp3How It Works
We turn your game dialogue or app narration into natural audio via a simple cloud API. Send a JSON payload with your text and voice preference, and our infrastructure handles the synthesis.
You receive the final audio file in seconds. It’s designed for indie developers who need clear, consistent speech without managing complex infrastructure.
Send text via HTTP POST
Post your script to POST https://api.pgzeed168casino.com/v1/audio/speech with a JSON body. Include your text (up to 4096 characters) and desired parameters like voice and response_format.
Receive audio in seconds
Get back a ready-to-use audio file. Long texts are automatically split into parts and joined, so you only deal with one clean result.
Use standard OpenAI SDKs
Already using the OpenAI SDK? Just change the base_url to https://api.pgzeed168casino.com/v1 and use your VoxFlow key. No new libraries required.
Voices & Languages
VoxFlow offers eight distinct voice presets, each crafted for specific tones ranging from warm narrators to energetic promos. Whether you need a calm instructional guide or a deep documentary style, our library covers the spectrum with licensed recordings from LibriTTS-R and LibriVox. Every audio file includes an inaudible watermark to identify synthetic speech.
Our API supports 23 languages, including English, Spanish, Japanese, and Hindi. Any voice can speak any supported language, giving you flexibility for global indie games and apps. We do not support Vietnamese, Indonesian, Thai, Ukrainian, Romanian, Czech, or Bengali.
8 distinct voice presets
Choose from female voices like Aria (warm, clear narrator) and Nova (bright, upbeat), or male voices like Felix (energetic, promo) and Orion (deep, documentary). Each preset is based on licensed recordings, ensuring consistent quality without complex infrastructure.
All voices are generated via our cloud API. You can mix and match voices within a single project to create diverse character dialogues for your games or applications.
- 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
23 supported languages
We support Arabic, Chinese, Danish, Dutch, English, Finnish, French, German, Greek, Hebrew, Hindi, Italian, Japanese, Korean, Malay, Norwegian, Polish, Portuguese, Russian, Spanish, Swahili, Swedish, and Turkish. If a language isn't listed, it is not supported.
Every voice can speak any of these 23 languages, allowing you to localize your content without hiring multiple voice actors. Our API handles the synthesis uniformly across all supported languages.
Automatic language detection
If you do not specify a language, the API guesses it from the text script. Latin script defaults to English, so set the language field for non-English Latin text to ensure accuracy.
This automatic detection simplifies your workflow, but explicit language codes provide better results for less common scripts or mixed-language inputs.
Formats & Speed
To deliver production-ready audio for your game or app, VoxFlow supports MP3, WAV, OPUS, FLAC, and PCM formats. Choose the balance of quality and file size that fits your platform’s requirements without extra conversion steps.
MP3, WAV, OPUS, FLAC, PCM
Select the format that best matches your distribution needs. All outputs are standard audio files that integrate easily into existing pipelines.
- MP3 for web and mobile
- WAV for high-fidelity needs
- OPUS for efficient streaming
- FLAC for lossless quality
- PCM for raw data processing
Adjustable speed 0.25–4.0x
Fine-tune the pacing of your narration with speed control ranging from 0.25x to 4.0x. This lets you match the tone of your game’s characters or adjust voiceover timing for precise synchronization with animations.
- Slow down for dramatic effect
- Speed up for quick tutorials
- Match character personality
- Adjust for dubbing sync
Real-time generation speed
Generation speed Expect roughly real-time generation on longer texts, averaging 25 characters per second. Short phrases may take a few seconds to process, while longer inputs are handled efficiently. Under load, requests queue naturally, ensuring consistent delivery.
Developer Experience
VoxFlow is designed for indie developers who want straightforward integration without complex infrastructure. Our API accepts standard HTTP requests, allowing you to generate natural-sounding speech quickly and efficiently using tools you already know.
Simple curl examples
You can test the API immediately with a curl command. This allows you to verify integration and audio quality before writing application code.
JSON request body
Send your text and voice preferences in a simple JSON payload. The structure mirrors standard TTS endpoints, making it easy to adapt existing workflows.
Bearer token authentication
Secure your requests with a Bearer token. Each account holds one active key, which can be rotated instantly if needed, ensuring consistent access control.
Pricing Model
We charge $10 for every million characters processed. This rate applies to all models and voices, with spaces and punctuation counting toward the total. Failed requests are free, so you only pay for successful audio generation.
$10 per million characters
The cost is straightforward: $0.01 per 1,000 characters. This includes all voices and formats. You can start with a $0.50 free trial credit valid for 7 days when signing in with Google.
- Standard rate: $10 per 1,000,000 characters
No monthly subscriptions
There are no monthly plans, seats, or minimum spends. You can pause usage at any time without penalty. The service is designed for variable workloads, typical in indie game development.
Pay only for what you use
Top up using USDT on the TRON network (TRC-20) with a $5 minimum. Balances do not expire. New keys invalidate old ones instantly, ensuring you only pay for active access.
- Payment: USDT (TRC-20) only

Technical Specs
Each API call accepts up to 4,096 characters. Spaces and punctuation count toward this limit. If your script exceeds this, split the text into chunks before sending them to the endpoint.
Longer dialogues or narration benefit from automatic splitting logic on the client side. Generate each chunk separately and join the resulting audio files to create a seamless track.
4096 character limit per request
Keep individual payloads under 4,096 characters. This ensures fast processing and consistent latency. Exceeding this limit causes the request to fail.
- Limit: 4,096 characters per request
- Includes spaces and punctuation
- Optimal for short dialogues or single lines
Automatic text splitting
The API does not split text automatically; you must split the text into parts of up to 4096 characters and join the audio files. Your application must handle chunking. Join the resulting audio files client-side to maintain continuity in longer content.
- Client-side splitting required
- Join audio files manually
- Ensures precise control over segment boundaries
Standard REST endpoints
Endpoints follow standard REST conventions. Use POST for synthesis and GET for metadata. This simplicity allows easy integration with any HTTP client or SDK.
- POST /v1/audio/speech
- GET /v1/voices
- GET /v1/models
Integration
VoxFlow’s API mirrors the OpenAI speech endpoint structure, allowing you to drop it into existing projects with minimal code changes. By simply adjusting the base URL, you can leverage familiar OpenAI SDKs to handle authentication and request formatting without learning a new client library.
Works with OpenAI SDKs
Our JSON request body and response format are identical to the OpenAI speech endpoint. This means you can use the official OpenAI SDKs for Python, Node.js, or other languages, ensuring a smooth transition for teams already familiar with that ecosystem.
Base URL configuration
To switch providers, update only the base_url in your SDK configuration. Set it to https://api.pgzeed168casino.com/v1 and ensure your authorization header uses your unique tts-... key. The rest of your code remains unchanged.
Easy key management
Each account holds one active API key. If you suspect a leak or need to rotate credentials, you can issue a new key at any time from your dashboard. The previous key stops working immediately, ensuring tight security without downtime.
- Rotate keys instantly via the dashboard
- Single active key per account
- Inaudible watermark on all generated audio
Reliability
VoxFlow’s API is engineered for steady, predictable performance. Requests are processed one after another, so under load a request may wait in a queue.
60 requests per minute
Each API key supports up to 60 requests per minute, allowing smooth integration even during peak usage. This limit ensures fair resource distribution across all indie developers using the platform.
- Standard limit: 60 req/min per key
- Initial limit: 10 req/min until first top-up
- Automatic queue handling under load
Failed requests are free
If synthesis fails for any reason, you are not charged. The credit is returned in full, ensuring you only pay for successfully generated audio files without hidden costs for errors.
Consistent audio quality
Audio generation takes roughly real-time on long texts (about 25 characters per second); short phrases take a few seconds. While short phrases may take a few seconds, longer texts process at about 25 characters per second, keeping your user experience seamless.
Support
VoxFlow keeps support simple and direct. Support is by email only. You can expect clear, written responses that address your specific integration needs.
Email support only
Our team monitors a dedicated support inbox to assist with API quirks, billing questions, or integration tips. Support is by email only.
Clear documentation
We provide straightforward guides and curl examples to help you get started quickly. Our docs cover authentication, request formats, and voice selection, making it easy for indie developers to integrate VoxFlow into their games or apps.
No phone support
We focus on asynchronous communication to keep costs low and efficiency high. This means no hold times or scheduled calls, just reliable email support that fits into your development workflow.
Listen to the 8 voices
Each sample below was generated by this API from the same sentence. You send text and receive an audio file, keeping the workflow simple.
23 languages
Any voice speaks any of these languages.
Sources and further reading
- Wikipedia
- W3C WAI: making audio and video accessible
- IETF RFC 7845: Ogg Opus
- LibriTTS-R corpus (OpenSLR 141)
- LibriVox public-domain audiobooks
- FFmpeg documentation
- openai-python on GitHub
- openai-node on GitHub
- Python documentation
- MDN: Web Speech API
- OpenAI API reference: create speech
- TRON developer hub: TRC-20
