Frequently asked questions
What is a text-to-audio API?
It is a cloud service where you send text via a POST request and receive an audio file. The endpoint is https://api.play7u.com/v1/audio/speech. It uses a JSON body similar to the OpenAI speech endpoint, allowing indie developers to integrate audio generation into their applications with straightforward HTTP requests.
How many characters can I send in one request?
You can send up to 4096 characters per request. If your text exceeds this limit, you must split it into parts of up to 4096 characters each and join the resulting audio files. Spaces and punctuation count toward this character limit.
Which languages are supported?
We support 23 languages: Arabic, Chinese, Danish, Dutch, English, Finnish, French, German, Greek, Hebrew, Hindi, Italian, Japanese, Korean, Malay, Norwegian, Polish, Portuguese, Russian, Spanish, Swahili, Swedish, and Turkish. Any voice can speak any of these languages, and non-English Latin text requires explicit language setting.
Can I change the speaking speed?
Yes, you can adjust the speaking speed between 0.25 and 4.0. This parameter is included in the JSON request body sent to the API endpoint, allowing you to control the pace of the generated audio to suit your specific content needs.
What audio formats are available?
You can choose from mp3, wav, opus, flac, and pcm formats. Specify your preferred format in the response_format field of your request. Each generated file also contains an inaudible watermark to identify it as synthetic speech.
How does the pricing work?
Pricing is $10 per 1 million characters, or $0.01 per 1,000 characters. Failed requests are free with a full charge return. There are no monthly plans, seats, or minimum spends. Balance does not expire, and you pay only for what you use.
Is there a free trial?
Yes, signing in with Google provides $0.50 of credit, valid for 7 days. Accounts created with email and password start without trial credit. This allows you to test the API before topping up your balance via USDT on the TRON network.
How do I top up my balance?
Top up using USDT on the TRON network (TRC-20) only. The minimum amount is $5. Credits are credited automatically within minutes after the transfer. We do not accept cards, PayPal, or subscriptions, and no invoices with VAT are issued.
Can I use the OpenAI SDK?
Yes, the API uses the same request shape as the OpenAI speech endpoint. You can use official OpenAI SDKs by changing the base_url to https://api.play7u.com/v1 and using your VocalForge key. This allows for easy integration into existing workflows.
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 speed or voice as needed.
Are the voices licensed properly?
Voices are based on licensed recordings from LibriTTS-R (CC BY 4.0) and LibriVox public-domain audiobook readings. This ensures proper licensing for the synthetic speech generated. The voices are presets and cannot be cloned or customized by individual customers.
Is my input text used for training?
No, 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. Only request metadata like time, characters, and status are kept for billing purposes.
How long does generation take?
Generation is roughly real time on long texts, about 25 characters per second. Short phrases take a few seconds. Requests are processed sequentially, so under load, a request may wait in a queue.
Do I need to split long texts manually?
Yes, you must split texts longer than 4096 characters into parts. Each part is sent as a separate request. You then join the resulting audio files. The API does not handle automatic splitting or joining of multiple audio segments for you.
First request
curl
curl https://api.play7u.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
VocalForge converts text into natural speech through a single cloud API call. Send your input as JSON and receive an audio file ready for playback or download.
Send text via POST request
Post a JSON body to the speech endpoint with your text, chosen voice, and format preference. The API processes up to 4,096 characters per request; for longer texts, you must split the text and join the resulting audio files.
- Endpoint: POST /v1/audio/speech
- Input field: 'input' (max 4096 chars)
- Authentication: Bearer token in header
Receive audio in MP3, WAV, or FLAC
The response returns the generated audio file directly in your requested format. Choose MP3 for web efficiency, WAV for lossless quality, or FLAC for compressed lossless storage.
Simple JSON integration
Structure your request with standard fields like 'model', 'voice', and 'input'. The consistent JSON shape allows for straightforward parsing and immediate integration into your application logic.
Voices & Languages
VocalForge offers eight distinct voice presets designed for clear, natural-sounding speech. Female voices like Aria (warm narrator) and Luna (soft storytelling) pair with male options such as Atlas (neutral news) and Orion (deep documentary). Each voice is derived from licensed recordings, ensuring consistent quality without the need for complex engineering.
8 distinct voice presets
Choose from four female and four male voices tailored for different contexts. Nova provides a bright, upbeat tone for promos, while Sage delivers calm, instructional clarity. Mil offers a friendly, conversational style, and Felix adds energy to dynamic content. All voices are based on licensed LibriTTS-R and LibriVox recordings.
- Aria: Warm, clear narrator
- Nova: Bright, upbeat
- Luna: Soft, storytelling
- Sage: Calm, instructional
- Felix: Energetic, promo
- Milo: Friendly, conversational
Support for 23 languages
Generate speech in Arabic, Chinese, Danish, Dutch, English, Finnish, French, German, Greek, Hebrew, Hindi, Italian, Japanese, Korean, Malay, Norwegian, Polish, Portuguese, Russian, Spanish, Swahili, Swedish, and Turkish. Any voice can speak any of these languages, allowing you to localize your app content quickly without hiring voice actors.
Auto-detection or explicit language codes
The API guesses the language from the script if you do not specify one, defaulting to English for Latin-script text. For non-English Latin-script text, set the language parameter explicitly to ensure accuracy. This flexibility simplifies integration while maintaining high synthesis quality across diverse linguistic contexts.
Pricing & Limits
VocalForge charges $0.01 per 1,000 characters, with spaces and punctuation counting toward the total. Failed requests are free, ensuring you only pay for successful audio generation.
$0.01 per 1,000 characters
Pricing is straightforward: $10 per 1 million characters. You can monitor your usage and balance directly in your account dashboard.
- Spaces and punctuation count as characters
- Failed requests are refunded in full
No monthly subscriptions
There are no monthly plans, seats, or minimum spend requirements. You pay only for what you generate, making it ideal for variable workloads.
Free trial credit included
Sign up with Google to receive $0.50 in trial credit, valid for 7 days. Email-based accounts start without trial credit.
- $0.50 credit for Google sign-ups
- 7-day validity period
Technical Specs
The API endpoint mirrors the standard OpenAI speech interface, allowing you to reuse existing OpenAI SDKs by simply updating the base_url to https://api.play7u.com/v1. This compatibility ensures straightforward integration without learning a new client library or handling custom authentication wrappers.
Authentication relies on a standard Authorization: Bearer header using your unique API key. A single active key manages your account, and issuing a new key instantly invalidates the previous one, providing secure key rotation without downtime or complex permission scopes.
OpenAI SDK compatible
Send requests using the same JSON structure as the OpenAI /v1/audio/speech endpoint. This includes fields for model, input, voice, response_format, and speed. The official OpenAI SDKs work after pointing them to our base URL.
- Standard JSON request body
- Compatible with official OpenAI SDKs
- No custom client library required
Rate limits: 60 req/min
Each API key allows up to 60 requests per minute once funded. New accounts start with a limit of 10 requests per minute until the first top-up is processed. Requests are processed sequentially, so high-volume jobs may queue briefly during peak times.
- 60 requests/minute per key
- 10 requests/minute for new accounts
- Sequential processing under load
Character limit: 4096 per request
Each API call accepts a maximum of 4,096 characters in the input field. For longer texts, split the content into chunks and join the resulting audio files client-side. This approach keeps individual requests lightweight and predictable.
- Max 4,096 characters per request
- Split and join for longer texts
- Predictable request sizes
Integration Guide
Integration is straightforward for indie developers who already use the OpenAI SDK. By simply pointing your client to our base URL, you can leverage existing code with minimal changes. This approach eliminates the need for learning a proprietary client library or managing custom request formatting.
Authentication relies on a single bearer token. Once you generate your key, it is active immediately across all endpoints. This ensures that your development workflow remains uninterrupted from the moment you sign up, allowing for rapid prototyping and testing.
Use base_url for OpenAI SDKs
Configure your SDK client to use https://api.play7u.com/v1 as the base URL. The request body structure matches the standard OpenAI speech endpoint exactly. This means you can use the official OpenAI SDKs for Python, Node.js, or Go without writing custom HTTP handlers.
The model field accepts tts-1 or tts-1-hd, both using the same engine. You pass input for text, voice for the preset, and response_format for the output type. This compatibility allows you to swap providers or test alternatives with a single variable change.
- Set
base_urltohttps://api.play7u.com/v1 - Use standard
POSTrequest with JSON body - Supports official OpenAI SDKs (Python, JS, etc.)
Standard authorization header
Include your API key in the Authorization header as Bearer tts-.... This key is unique to your account and provides access to all generation endpoints. You can rotate this key at any time from the dashboard; the old key stops working immediately upon issuing a new one.
This standard header format ensures compatibility with most HTTP clients and proxy tools. It simplifies debugging and logging since the token is visible in standard headers without requiring custom query parameters or body fields.
- Format:
Authorization: Bearer tts-<your-key> - One active key per account
- Instant invalidation of old keys upon rotation
Immediate key activation
Your API key is active as soon as you sign up and view it in the dashboard. There is no approval process or waiting period. You can start making requests to POST /v1/audio/speech immediately to test integration.
Rate limits apply from the start: 10 requests per minute initially, increasing to 60 per minute after your first top-up. This allows you to validate your workflow with a small volume of text before scaling up for production use.
- No waiting period for activation
- Start testing immediately after sign-up
- Rate limits apply from first request
Why Indie Developers Choose Us
VocalForge eliminates the friction of traditional enterprise contracts. We offer a straightforward API without complex infrastructure requirements, allowing indie developers to integrate speech synthesis directly into their applications without negotiating minimum spend or seat counts.
Our billing model is transparent and predictable. You pay only for what you use, with no hidden fees or monthly subscriptions. This simplicity ensures that your audio costs scale linearly with your project's growth.
No enterprise overhead
We don't lock you into long-term commitments or require minimum spend thresholds. Our platform is designed for agility, letting you start small and scale as your user base grows without administrative burden.
Transparent usage billing
Every character counts, and our pricing reflects that clearly at $0.01 per 1,000 characters. Failed requests are free, and your balance never expires. You can track exact usage in real-time without surprise invoices.
- Pay only for successful synthesis requests
- Balance does not expire
- No hidden fees or VAT invoices
Direct email support
We skip the phone trees and live chat queues. Support is by email only. Get direct email support for technical questions without waiting in line.
Audio Formats
Choose the output format that fits your deployment needs. MP3 is the standard for web delivery, offering small file sizes and broad compatibility across all modern browsers and mobile apps.
MP3 for web delivery
Use mp3 for general web playback where bandwidth efficiency matters. It provides a good balance between quality and file size, ensuring fast load times for your users.
WAV for high quality
Select wav when you need uncompressed, lossless audio. This format is ideal for local processing, high-fidelity playback, or when you need to pass the audio through other encoding pipelines without generation loss.
Opus and FLAC options
Opus offers excellent compression for voice-heavy content, while FLAC provides lossless compression for archival purposes. Both are available alongside mp3 and wav for specific use cases.
Voice Customization
VocalForge provides eight distinct voice presets, each crafted for specific tonal needs like narration, news, or conversation. These are based on licensed recordings from LibriTTS-R and LibriVox, ensuring consistent, high-quality synthetic speech. Every generated file includes an inaudible watermark to mark it as synthetic audio.
Adjustable speed (0.25–4.0x)
Control the pacing of your audio output directly via the API. Adjust the speed parameter between 0.25 and 4.0 to match your content's rhythm, whether it’s a slow, instructional guide or a fast-paced promo.
Pre-set voice personalities
Choose from eight specific voices: Aria, Nova, Luna, and Sage for female tones; Felix, Milo, Atlas, and Orion for male tones. Each voice has a distinct character, allowing you to select the perfect fit for your project without complex configuration.
- Aria: Warm, clear narrator
- Felix: Energetic, promo style
- Atlas: Neutral, news delivery
- Orion: Deep, documentary tone
No custom cloning needed
We do not offer custom voice cloning or uploading your own voice. This keeps integration simple and predictable.
Get Started
Start by creating an account via Google or email on the /get-api-key/ page. You receive $0.50 in trial credit (valid for 7 days) instantly, allowing immediate testing without payment details.
Your single API key activates immediately upon creation. Use it to generate audio via POST requests, with usage tracked transparently in your dashboard.
Sign up with Google or email
Visit the sign-up page to create your account. Google sign-in includes a $0.50 trial credit; email accounts start with zero balance.
Get your API key instantly
Your API key is available immediately after registration. Copy it from the dashboard to use in your Authorization header.
Test with our curl example
Use the provided curl command to send a POST request to https://api.play7u.com/v1/audio/speech. Replace the placeholder key with your actual token.
- Replace YOUR_API_KEY
- Set model to tts-1 or tts-1-hd
- Specify input text and voice
Listen to the 8 voices
Each sample below was generated by this API from the same sentence. You can issue a new key at any time; the previous one stops immediately.
23 languages
Any voice speaks any of these languages.
