Frequently asked questions
What is a fictional character voice generator?
It is a cloud text-to-speech API that converts written text into audio files via a simple POST request. You send text and receive an audio file in formats like mp3 or wav. This allows developers to generate distinct character voices programmatically without needing voice actors or complex recording equipment for their interactive fiction or game projects.
How do I choose a voice for a game character?
Select from eight presets based on your character’s tone. Use Aria for a warm narrator, Nova for upbeat scenes, or Felix for energetic promos. For male roles, Atlas offers a neutral news style, while Orion provides a deep documentary voice. Each voice is distinct, allowing you to quickly assign unique audio identities to different characters in your game.
Can I generate voices in different languages?
Yes, the API supports 23 languages including English, Spanish, Japanese, and German. Any voice can speak any supported language. If the language is not specified, the system guesses from the script, but you should explicitly set the ISO code for non-English Latin text to ensure accurate pronunciation and delivery for your international game audience.
Is the API suitable for real-time game dialogue?
It is suitable for most dialogue but not for instant real-time streaming. Typical speed is roughly real-time, generating 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. For instant feedback, pre-generate audio files during development rather than on-the-fly during gameplay.
How much does it cost to generate 1000 voice lines?
Pricing is $0.01 per 1,000 characters, not per line. You must count spaces and punctuation in your text. If a synthesis fails, the charge is returned in full. There are no monthly plans or minimum spends, so you only pay for the exact character volume your game’s dialogue requires, making it cost-effective for indie developers.
Do I need to record the voices myself?
No, you do not need to record voices. The API generates audio from text using licensed recordings from LibriTTS-R and LibriVox. You simply send text via the API and receive the audio file. This eliminates the need for voice actors, microphones, or recording studios, allowing you to generate distinct character voices quickly and consistently.
Can I use the generated audio in commercial games?
Yes, you can use the generated audio commercially. The voices are based on licensed recordings from LibriTTS-R (CC BY 4.0) and public-domain audiobook readings. Generated files carry an inaudible watermark marking them as synthetic speech. You can integrate the audio directly into your game projects, subject to the CC BY 4.0 license terms.
How do I handle character name pronunciation?
The API does not support custom pronunciation lexicons or SSML. You must spell names phonetically in the input text to ensure correct pronunciation. For example, write 'Schwarzenegger' as 'Shvarzeneguh' if needed. Since there are no phoneme dictionaries, accurate spelling is the only way to control how specific character names are spoken by the engine.
Is there a limit to how many characters I can generate?
There is no limit to the number of characters you can generate. The only constraint is the 4,096 character limit per request. For longer dialogues, split the text into parts and join the audio files. You can generate as many distinct voices as you need by selecting from the eight available presets for each character.
What happens if the API goes down?
There is no SLA or uptime guarantee. If the API is unavailable, requests may fail. Failed requests are free, and the charge is returned in full. Since there is no on-premise install option, you rely on the cloud service. For critical games, consider pre-generating audio files during development to avoid runtime dependency on the API.
Do I need technical skills to use this API?
You need basic technical skills to send HTTP POST requests with a JSON body. The endpoint matches the OpenAI speech format, so existing OpenAI SDKs work by changing the base URL. You must handle authentication with a Bearer token and manage character splitting for long texts. It is designed for developers, not non-technical users.
Can I change the voice of a character mid-game?
Yes, you can change voices dynamically by sending new text requests with a different voice preset. The API generates audio on demand, so you can switch from Aria to Orion instantly based on game events. Since audio is returned in the response and not stored, you can generate new audio files for each voice change as needed.
Understanding Character Voice Needs
Defining character voice needs begins with identifying the core archetypes your game requires, such as a calm instructor or an energetic promo host. This step ensures you select voices that align with your narrative structure without overcomplicating the audio pipeline.
Defining Character Archetypes
Start by mapping each character to a specific role within your interactive fiction or e-learning module. Assigning archetypes like "narrator" or "conversational guide" helps streamline your voice selection process, ensuring consistency across different dialogue branches.
- Identify primary roles (e.g., narrator, student, guide)
- Map roles to voice personalities
- Limit initial archetypes to reduce complexity
Tone and Personality
Tone defines how the voice delivers the script. A warm narrator suits storytelling, while a bright, upbeat voice works better for quick instructions. Matching tone to personality prevents dissonance between the visual character and the audio output.
- Warm narrator for storytelling
- Bright, upbeat for instructions
- Calm tone for complex info
Audience Expectations
Consider who will listen to your content. E-learning modules often benefit from clear, instructional voices that reduce cognitive load. Game dialogue may require more dynamic expressions to keep players engaged without sounding robotic.
- Clear voices for learning
- Dynamic voices for games
- Avoid robotic tones
Selecting the Right Voice
Choosing the right voice establishes your character’s identity immediately. With eight distinct presets, you can assign specific emotional tones to different roles without hiring voice actors.
Female Voice Options
Aria offers a warm, clear narration style ideal for protagonists. Nova provides a bright, upbeat tone suitable for energetic companions or tutorials. Luna delivers a soft, storytelling voice perfect for atmospheric scenes. Sage brings a calm, instructional quality well-suited for guide characters.
Male Voice Options
Felix uses an energetic, promo-style delivery for hype moments or sales pitches. Milo offers a friendly, conversational tone for casual dialogue. Atlas provides a neutral, news-like voice for exposition or objective narration. Orion features a deep, documentary style for serious or historical contexts.
Matching Voice to Role
Pair voice traits with character archetypes to ensure consistency. For example, use Aria for a wise mentor and Felix for a charismatic merchant. Each voice supports all 23 languages, allowing you to maintain character identity across localized versions by setting the language parameter explicitly.
- Aria: Warm, clear narrator
- Nova: Bright, upbeat
- Luna: Soft, storytelling
- Sage: Calm, instructional
- Felix: Energetic, promo
- Milo: Friendly, conversational
Technical Integration
Integration begins by setting your API key in the Authorization header as Bearer tts-.... This key authenticates all requests to the base URL https://api.wlnbd.info/v1. You can generate a new key at any time via the dashboard, which instantly invalidates the previous one.
Use the official OpenAI SDKs by pointing them to this base URL, or send standard HTTP POST requests. This flexibility allows you to integrate TTS into your game engine or server logic without learning a proprietary protocol.
API Key Setup
Retrieve your unique key from the /get-api-key/ dashboard. Include it in every request header: Authorization: Bearer tts-.... The key grants access to your balance and usage limits (60 requests/minute).
Sending Text Requests
Send a POST request to /v1/audio/speech with a JSON body. Include model ("tts-1" or "tts-1-hd"), voice (e.g., "aria", "atlas"), and input (text up to 4096 characters). You can also specify response_format (mp3, wav, etc.) and speed.
- Use
POST https://api.wlnbd.info/v1/audio/speech - Set
modelto "tts-1" or "tts-1-hd" - Limit
inputto 4096 characters per request
Handling Audio Responses
The API returns the audio file directly in the response body. Save this file to your game assets or play it locally. Failed requests are free, so you only pay for successful synthesis.
Managing Voice Lines
Managing voice lines efficiently ensures your game’s audio assets are organized and performant. By structuring your text input correctly, you can handle long dialogues without hitting character limits or losing narrative flow. This section covers how to split, maintain, and process voice lines for consistent results.
Consistency in voice delivery is key for character recognition. Whether you’re generating a single line or a full scene, ensuring the same voice preset is used across all lines helps maintain character identity. Batch processing allows you to generate multiple lines quickly, reducing development time.
Splitting Long Dialogues ['When dialogue exceeds 4096 characters, split the text into smaller segments and process them individually. Each segment should be a complete thought or sentence to avoid awkward pauses in the generated audio. Combine the resulting audio files to create a seamless dialogue sequence.', "Use the API’s character limit to your advantage by breaking down long monologues or complex conversations. This approach ensures that each segment is processed efficiently and maintains the intended tone and pacing of the character's speech."] ['Split text at natural pauses (e.g., end of sentences) to maintain audio quality.', 'Combine audio files sequentially to recreate the full dialogue without noticeable gaps.', 'Keep each segment under 4096 characters to avoid truncation or quality loss.']
Maintaining Consistency ["To maintain character consistency, always use the same voice preset (e.g., 'aria' for a warm narrator or 'felix' for energetic promo) across all lines for that character. This ensures that the tone and personality remain uniform, even when the text varies significantly.", 'Consistency is crucial for immersion. If a character’s voice changes mid-dialogue, it can break the player’s experience. Use the same voice preset for all lines attributed to the same character, regardless of the content.', "For multi-language support, ensure that the same voice preset is used across different languages to maintain character identity. The API supports 23 languages, so you can localize your game without losing the character's distinct voice."] ['Use the same voice preset for all lines of a character.', 'Maintain consistent speed and tone across all generated audio files.', 'Test voice consistency by playing back lines in sequence.']
Batch Processing ['Batch processing allows you to send multiple text requests, speeding up the generation of voice lines. This is particularly useful for large projects with extensive dialogues. By processing multiple lines at once, you can reduce the overall time required to generate all voice assets.', 'Use the API’s rate limit of 60 requests per minute to optimize your batch processing. Send multiple requests in parallel, ensuring that you stay within the limit to avoid delays. This approach is efficient for generating a large number of voice lines in a short period.', 'For example, if you have a scene with 10 lines of dialogue, you can send all 10 requests at once. The API will process them sequentially, and you can combine the resulting audio files to create the full scene audio track.'] ['Send multiple requests simultaneously to speed up generation.', 'Stay within the 60 requests per minute rate limit.', 'Combine audio files to create a complete scene or sequence.']
Language and Localization
SynapseSpeak supports 23 languages, enabling startups to localize game dialogue or e-learning content without hiring separate voice talent for each region. You can generate distinct character voices that maintain their core identity across different linguistic markets.
Consistency is key for immersion. Since any voice can speak any supported language, you can assign the same voice preset to a character in both English and Japanese versions of your game, ensuring auditory continuity for players.
Supporting Multiple Languages
Our API handles Arabic, Chinese, Danish, Dutch, English, Finnish, French, German, Greek, Hebrew, Hindi, Italian, Japanese, Korean, Malay, Norwegian, Polish, Portuguese, Russian, Spanish, Swahili, Swedish, and Turkish. This covers most major global markets for indie games and educational modules.
- Arabic, Chinese, Danish, Dutch, English, Finnish, French, German, Greek, Hebrew, Hindi, Italian, Japanese, Korean, Malay, Norwegian, Polish, Portuguese, Russian, Spanish, Swahili, Swedish, Turkish
Voice Consistency Across Languages
Each of the 8 voice presets is designed to remain recognizable regardless of the language spoken. Whether your character is a calm instructor (Sage) or an energetic promo host (Felix), their tonal qualities persist across all supported languages.
This allows you to build a consistent audio brand for your characters without needing to manage multiple voice actor contracts for different language versions.
Setting Language Codes
By default, the API guesses the language from the script (Latin text defaults to English). For non-English Latin-script text, you should explicitly set the language field to ensure accurate pronunciation.
For example, send language: 'fr' for French text to avoid misinterpretation. This ensures the synthetic speech matches the intended linguistic context accurately.
Cost Management
Understanding costs early helps startups budget accurately for interactive fiction and e-learning modules. Since pricing is based on character count, precise estimation prevents unexpected charges during development.
The API charges $10 per 1 million characters, equivalent to $0.01 per 1,000 characters. This includes spaces and punctuation. Failed requests incur no charge, protecting your budget during testing phases.
Estimating Character Costs
Calculate total characters by summing all dialogue lines across characters. For example, a 500-character line costs $0.005. Use the character count from your script editor to project monthly expenses based on expected playthroughs.
Remember that short phrases may take a few seconds to generate, but cost remains strictly proportional to length. Long texts are split internally, but you pay for the total character count.
- $0.01 per 1,000 characters
- Includes spaces and punctuation
- Failed requests are free
Optimizing Text Length
Keep dialogue concise to reduce costs. Remove unnecessary filler words where possible. The API supports up to 4,096 characters per request, allowing you to batch longer monologues efficiently.
Use the free trial credit of $0.50 (approx. 50,000 characters) to test volume costs before scaling. This helps validate your budget estimates without immediate financial commitment.
- Max 4,096 characters per request
- Use trial credit for testing
- Split long texts into parts
Monitoring Usage
Check your dashboard to track characters consumed and balance remaining. The interface shows real-time usage and helps you stay within budget limits.
Set alerts if your usage spikes unexpectedly. Since rate limits apply (60 requests/minute), monitor queue times to avoid delays that might affect user experience in real-time scenarios.
- Track characters in dashboard
- Monitor balance in real-time
- Watch for rate limit queues
Testing and Iteration
Testing character voices requires a structured loop of generation, listening, and adjustment. Start by generating short prototype lines for each archetype to verify that the synthesized audio matches your intended personality before committing to full dialogue scripts.
Gather feedback from your team or early playtesters to identify mismatches between the voice and the character’s role. Use this input to adjust parameters or switch voices, ensuring the final audio enhances immersion without distracting players.
Prototype Voice Lines
Generate 10–20 character lines using the API to test voice suitability. Use the tts-1 model for rapid iteration and tts-1-hd for higher fidelity comparisons. Verify that the output audio clearly conveys the intended emotion or tone for each character archetype.
- Use
tts-1for quick drafts - Test
tts-1-hdfor final quality checks - Keep lines under 4096 characters
Gathering Feedback
Share generated audio clips with your development team or a small group of testers. Ask specific questions about clarity, personality fit, and naturalness. Record their reactions to determine if a voice feels too robotic or mismatched to the character’s role.
- Ask about clarity
- Check personality fit
- Note naturalness issues
Refining Tone
Adjust the speed parameter between 0.25 and 4.0 to fine-tune pacing. If a voice feels too flat, try a different preset that better matches the character’s energy. Re-generate lines with adjusted settings until the audio aligns with your creative vision.
- Adjust
speed0.25–4.0 - Switch presets if needed
- Re-generate with new settings

Deployment Strategies
Choosing between pre-generated assets and real-time generation depends on your game’s architecture and budget constraints. Pre-generated files ensure consistent quality and zero latency during gameplay, while real-time synthesis allows for dynamic dialogue variations without storing massive audio libraries.
This section outlines practical deployment patterns for startups building interactive fiction or game dialogue, focusing on efficiency and character consistency.
Pre-generating Assets
Generate all voice lines during the build phase using the API. This approach guarantees consistent audio quality and eliminates runtime latency, which is critical for rhythm-based or fast-paced games. Store the resulting MP3 or WAV files in your game’s asset bundle.
With a 4096-character limit per request, you can batch-process entire dialogue trees. This method is cost-effective for linear narratives where voice lines do not change based on player choice.
- Ensures zero-latency playback during gameplay
- Guarantees consistent tone across all dialogue
- Reduces runtime CPU usage for audio decoding
Real-time Generation
Send text to the API endpoint when a player triggers dialogue. This allows for dynamic variations, such as random greetings or reactive responses, without pre-recording every possibility. Use the OpenAI SDK or plain HTTP to send requests and receive audio files.
Note that generation takes a few seconds for short phrases. Use this for less time-sensitive interactions, such as NPC conversations in turn-based strategy games or exploratory dialogue in point-and-click adventures.
- Enables dynamic, non-linear dialogue
- Supports reactive player choices
- Requires handling generation latency
Caching Audio
Cache generated audio files locally or on a CDN to avoid redundant API calls. If a character says the same phrase multiple times, serving the cached file reduces costs and improves load times. Implement a simple key-value store mapping text hashes to audio URLs.
Monitor your usage dashboard to identify frequently spoken lines. Pre-generating these high-frequency lines ensures a smoother player experience while keeping your API key usage within the 60 requests per minute limit.
- Reduces redundant API charges
- Improves load times for repeated phrases
- Simplifies backend logic for common dialogues
Common Challenges
Generating distinct voices for multiple characters introduces specific technical hurdles. While the API simplifies voice selection, maintaining uniqueness and performance in a game environment requires careful planning.
Voice Repetition
With only eight preset voices, distinct characters may sound similar if not differentiated by tone or speed. Use the speed parameter to alter pacing, making a character feel hurried or calm without changing the voice model.
- Vary speed between 0.7 and 1.5 for subtle differences.
- Combine voice choice with specific phrasing to enhance uniqueness.
Pronunciation Issues
The engine guesses language from script, which can misinterpret proper nouns or acronyms. For non-English Latin text, always set the language field explicitly to ensure correct articulation of names and terms.
- Set
languageISO code for non-default languages. - Test unique character names before full production.
Latency in Games
Requests are processed sequentially, so high concurrency may cause queuing delays. Short phrases take a few seconds to generate, which may be noticeable in real-time dialogue. Pre-generating assets is recommended for critical scenes.
- Pre-generate voice lines for main story arcs.
- Use caching to store generated audio locally.
Best Practices for Startups
Startups often over-invest in voice assets before validating gameplay. Using SynapseSpeak’s API allows you to generate distinct character voices for your Minimum Viable Product without upfront recording costs. With eight presets and 23 languages, you can prototype dialogue quickly and iterate based on player feedback.
As your game gains traction, you can scale voice lines proportionally. The API handles up to 4,096 characters per request, and failed requests are free, ensuring you only pay for successful generations. Monitor your usage dashboard to align costs with your growing player base.
Start with MVP Voices
Focus on core characters first. Use the tts-1 model for standard quality to keep initial costs low. Generate voice lines for primary interactions and test them in your engine. This approach validates the audio experience without overcommitting resources to unused dialogue.
Avoid trying to voice every minor NPC initially. Prioritize main quest lines and critical game states. You can always add secondary voices later when the game’s narrative structure is solidified.
- Use
tts-1for cost-effective prototyping - Voice only essential dialogue first
- Test audio integration early in the engine
Scale with Demand
The API supports 60 requests per minute, which is sufficient for most game dialogue systems. If you need higher throughput, consider pre-generating assets for static scenes. For dynamic interactions, rely on the API’s real-time generation, keeping latency in mind.
Top up your balance with USDT (TRC-20) only when necessary. Since balance does not expire, you can accumulate credits for peak launch periods. This flexible model avoids monthly subscription fees that may not match your actual usage patterns.
Keep It Simple
Stick to the eight available voice presets. Each has a distinct personality, such as aria for narrators or felix for energetic promos. You do not need custom voice cloning or SSML to achieve consistency. Use the language parameter to ensure correct pronunciation for localized content.
Avoid over-engineering voice settings. Simple text-to-speech integration via the OpenAI SDK or cURL is often enough. Focus on gameplay and narrative rather than complex audio pipelines until your startup has established revenue streams.
Tools and SDKs
SynapseSpeak is built for developers who need reliable audio integration without learning new tools. By matching the OpenAI speech endpoint structure, you can use your existing codebase with minimal changes.
OpenAI SDK Compatibility
The API uses the same request shape as the OpenAI speech endpoint. You can use the official OpenAI SDKs by simply changing the base_url to https://api.wlnbd.info/v1 and providing your SynapseSpeak key. This allows you to generate voice lines in your game engine or backend with familiar code patterns.
cURL for Quick Tests
For rapid prototyping, use cURL to test voice synthesis directly from your terminal. This is ideal for verifying character tones and speed settings before integrating into your application logic.
- Send a POST request to the
/v1/audio/speechendpoint. - Include your
Authorization: Bearerkey in the headers. - Specify
model,voice, andinputin the JSON body.
No Custom SDK Needed
We do not provide a proprietary SDK. Instead, we rely on standard HTTP requests that work with any programming language. This ensures flexibility and avoids vendor lock-in for your game's audio pipeline.
Licensing and Rights
Our voices are derived from licensed recordings under the CC BY 4.0 license, allowing you to use generated audio in commercial game projects without additional attribution complexities beyond the license terms.
Each audio file contains an inaudible synthetic watermark, clearly marking the content as AI-generated speech for transparency and rights management.
CC BY 4.0 Licenses
The underlying voice models are based on LibriTTS-R, which is licensed under Creative Commons Attribution 4.0 International (CC BY 4.0). This permits commercial use, provided you comply with the license terms.
- Commercial use is allowed.
- Attribution may be required per CC BY 4.0.
Synthetic Watermark
Every audio file generated via the API includes an inaudible digital watermark. This marks the file as synthetic speech, helping identify AI-generated content in your game assets.
Commercial Use
You can integrate these voices into games, e-learning modules, and interactive fiction for commercial distribution. The generated audio is yours to use within the scope of the underlying licenses and our terms.
Listen to the 8 voices
Each sample below was generated by this API from the same sentence. Generating distinct character voices quickly is essential for interactive fiction and game dialogue.
23 languages
Any voice speaks any of these languages.
