Frequently asked questions
What is the difference between Aria and Nova?
Aria is a warm, clear narrator voice, while Nova is a bright, upbeat female voice. Both are available for game dialogue. Choose Aria for calm storytelling or clear instructions. Select Nova for energetic, positive character interactions or promotional in-game announcements.
What is the difference between Felix and Milo?
Felix is an energetic, promotional male voice suitable for hype or action sequences. Milo is a friendly, conversational male voice ideal for natural dialogue. Use Felix for sales pitches or battle cries, and Milo for standard character conversations.
What is the difference between Atlas and Orion?
Atlas is a neutral, news-style male voice, providing clear and objective delivery. Orion is a deep, documentary-style male voice suited for serious or atmospheric narration. Atlas works for objective game updates, while Orion fits lore or cinematic intros.
Which voice is best for a female protagonist?
Any of our four female voices suits a protagonist depending on her personality. Aria offers a warm, clear narrator tone, while Nova provides a bright, upbeat energy. Luna is ideal for soft, storytelling moments, and Sage delivers a calm, instructional style. Since all voices support all 23 languages, choose the preset that best matches your character’s specific narrative role and emotional range.
Which voice is best for a male narrator?
For male narration, Atlas offers a neutral, news-like delivery ideal for objective content, while Orion provides a deep, documentary-style tone. Felix suits energetic, promotional narration, and Milo is best for friendly, conversational storytelling. Since all voices can speak any supported language, choose based on the specific character personality and emotional impact you need for your NPC or narrator.
Can one voice speak multiple languages?
Yes. Any of the eight voices can speak any of the 23 supported languages. You do not need different voices for different languages. Simply specify the target language in your API request to generate speech in that language.
Does language affect voice quality?
The voice timbre remains consistent across languages. The same voice preset is used regardless of the language spoken. Quality depends on the engine and voice model, not the language itself. All supported languages are handled by the same voice presets.
How do I set the language in the API?
Include the optional language field in your JSON request body with the ISO code. For example, "language": "fr" for French. This ensures accurate pronunciation and intonation for non-English texts, especially those using Latin script but not English.
What happens if I don't set a language?
The system guesses the language from the script. Latin script text defaults to English. If you provide non-English Latin text without setting the language, it may be pronounced incorrectly. Always set the language field for non-English Latin text.
Which voice is best for storytelling?
Luna is optimized for soft, storytelling delivery, while Aria offers a clear, warm narration style. Both voices are suitable for narrative-driven games. Luna’s tone suits emotional stories, whereas Aria provides clarity for complex plot points. Since any voice can speak any supported language, choose based on the desired character personality rather than a single "best" option.
Which voice is best for instructions?
Sage is a calm, instructional female voice ideal for tutorials and guidance. Aria is also clear and suitable for clear instructions. Use Sage for onboarding or help menus. Use Aria for straightforward, neutral instructional dialogue.
Which voice is best for news?
Atlas is a neutral, news-style male voice. It provides an objective, clear delivery suitable for in-game news broadcasts or announcements. It avoids emotional bias, making it ideal for factual content or world-building updates delivered in a professional tone.
Which voice is best for documentaries?
Orion is a deep, documentary-style male voice. It suits serious, atmospheric, or historical content. Use Orion for lore videos, cinematic intros, or serious narrative segments. Its deep tone adds gravity and professionalism to documentary-style game elements.
Are all voices the same price?
Yes. All eight voices use the same engine models (tts-1 or tts-1-hd). Pricing is based on characters, not voices. You pay $10 per 1 million characters regardless of which voice or language you select for your generation.
Do voices sound different in different languages?
The voice characteristics remain consistent. The same voice preset is used across all 23 supported languages. Differences arise only from language-specific pronunciation and intonation patterns, not from changes in the voice’s fundamental timbre or style.
Can I clone my own voice for a game character?
No. We do not offer custom voice cloning. You must choose from the eight available presets. These voices are based on licensed recordings from LibriTTS-R and LibriVox. You cannot upload your own voice or design a custom one.
Do voices have emotion tags?
No. The API does not support emotion tags. Voices have fixed styles: warm, upbeat, soft, calm, energetic, friendly, neutral, or deep. You cannot dynamically adjust emotion within a single request. Choose the preset that best matches your character’s tone.
Do voices use SSML?
No. The API does not support SSML. You cannot use SSML tags for pauses, emphasis, or pronunciation. Control pacing using the speed parameter (0.25–4.0). For detailed control, split text into smaller segments and adjust speed per segment.
Is the voice generation real-time?
No. Generation is not real-time. Requests are processed sequentially, often with queue delays under load. Typical speed is roughly real-time for long texts (25 chars/sec), but short phrases take a few seconds. Plan for latency in your game loop.
Can I stream the audio as it generates?
No. There is no streaming or WebSocket support. You send a POST request and receive the full audio file in the response. The entire file is generated before being returned. You must wait for the complete response before playing audio.
Understand Voice Archetypes
Selecting the right voice archetype ensures your NPCs feel distinct and consistent. Our library offers eight presets based on licensed recordings, allowing you to map specific personality traits to character roles without complex pipeline overhead.
Warm and Clear Narrators
Aria serves as a reliable narrator voice. Her tone is warm and clear, making her ideal for exposition-heavy characters or guides who deliver lore and instructions to the player.
- Best for: Story narrators, tutorial guides, calm advisors
Bright and Upbeat Characters
Nova provides a bright, energetic delivery. Use her for sidekicks, shopkeepers, or energetic companions who maintain a high-energy presence throughout the game world.
- Best for: Cheerful companions, announcers, lively merchants
Soft and Storytelling Voices
Luna offers a soft, storytelling quality. She is well-suited for mystical characters, elders, or anyone requiring a gentle, immersive narrative tone.
- Best for: Mystical beings, elder NPCs, gentle storytellers
Male Voice Presets
Male presets cover distinct personality archetypes essential for NPC design. Felix delivers high-energy delivery ideal for promotional loops or action sequences. Milo provides a warm, conversational tone suited for dialogue-heavy interactions where the player needs to feel a personal connection with the character.
Energetic Promo: Felix
Felix uses an energetic delivery style that cuts through ambient game noise. This voice works best for short alerts, item descriptions, or hype-driven dialogue where attention must be grabbed quickly. Its clarity ensures the message lands even during chaotic gameplay moments.
- Ideal for action sequences and alerts
- High energy, clear articulation
- Best for short, punchy lines
Friendly Conversational: Milo
Milo offers a friendly, conversational tone that feels natural for extended dialogues. Use this voice for quest givers, shopkeepers, or companions who speak frequently. The tone remains approachable without sounding robotic, helping maintain immersion during long conversations.
- Natural, approachable tone
- Best for quest givers and shopkeepers
- Sustains immersion in dialogue
Neutral News: Atlas
Atlas provides a neutral, steady voice suitable for informational NPCs or news broadcasts within the game world. It lacks strong emotional bias, making it perfect for objective narrators or system announcements. Use Atlas when clarity and neutrality are prioritized over personality.
- Neutral, steady delivery
- Perfect for system announcements
- Objective narrator tone
Female Voice Presets
Selecting the right female voice preset depends on how your characters speak and interact with players. Each voice offers a distinct emotional tone, allowing you to differentiate roles without complex engine setups.
Warm Narrator: Aria
Aria provides a clear, warm delivery ideal for exposition or calm dialogue. Her voice cuts through background noise without sounding robotic, making her suitable for guides or thoughtful protagonists.
- Best for: Narrative-heavy games, RPGs, calm interfaces.
Bright Upbeat: Nova
Nova brings energy and positivity to conversations. Use her for sidekicks, cheerful shopkeepers, or high-energy action scenes where a lively tone enhances player engagement.
- Best for: Arcade games, cheerful NPCs, upbeat tutorials.
Soft Storytelling: Luna
Luna offers a gentle, soothing tone perfect for bedtime stories, mysterious lore, or emotional moments. Her softness creates intimacy without sacrificing clarity.
- Best for: Horror, mystery, emotional cutscenes.
Specialized Male Voices
While Aria and Luna handle narrative warmth, Sage and Orion provide distinct structural voices for your game’s world-building. Sage delivers calm, instructional clarity ideal for tutorials or system prompts, while Orion offers a deep, documentary-style tone suitable for lore or environmental storytelling.
Calm Instructional: Sage
Sage is designed for clarity and neutrality, making it perfect for tutorial guides, inventory instructions, or AI companions that need to sound helpful without being overly emotional. Its steady pacing ensures players process critical information without distraction.
- Ideal for UI voiceovers and help menus
- Clear enunciation for complex instructions
Deep Documentary: Orion
Orion’s deep timbre adds gravitas to historical logs, ancient texts, or omniscient narrators. It provides a sense of authority and timelessness, distinguishing serious plot points from standard dialogue.
- Best for lore entries and historical records
- Adds weight to cinematic cutscenes
Matching Voice to Role
Assign Sage to technical or supportive NPCs who guide the player through mechanics. Use Orion for ancient beings, historians, or serious quest givers where a grounded, deep presence enhances immersion.
- Sage: Tutorials, Help, System Alerts
- Orion: Lore, History, Serious Quests
Language and Accent Considerations
Selecting the right voice for your NPCs requires more than matching tone; it demands precise language handling. Our API supports 23 languages, allowing any of the 8 presets to speak any supported language, giving you flexible casting options for diverse game worlds without needing separate voice actors for each linguistic variant.
The system also includes intelligent default behavior for language detection, but explicit control ensures accuracy. Understanding these mechanics prevents unintended accents or mispronunciations in your game’s dialogue system, ensuring a polished audio experience across all regions.
Universal Language Support
Every voice preset can perform in any of the 23 supported languages, including Arabic, Chinese, English, French, German, Hindi, Japanese, Korean, Spanish, and others. This means you can cast your favorite character voice for a French knight or a Japanese merchant without losing the specific tonal qualities you designed.
There is no need to hire additional voice talent for different linguistic versions of the same character. A single voice model delivers consistent personality across language boundaries, simplifying your production pipeline and reducing audio asset management overhead.
- Supports 23 languages including English, Spanish, Japanese, German, and Hindi.
- All 8 voices can speak any supported language fluently.
- No need for separate voice recordings per language.
Default Language Detection
If you do not specify a language, the API guesses it based on the text script. Latin script text defaults to English. This works well for standard English dialogue but may fail if your text contains non-English words or mixed scripts.
For example, if you send French text without setting the language field, the system might default to English pronunciation, resulting in a robotic or accented delivery that breaks immersion for players expecting native speech.
- Defaults to English for Latin script if unspecified.
- Guessed from the input text script.
- May cause errors for non-English Latin text.
Explicit Language Setting
To guarantee correct pronunciation, always set the language field in your API request. Pass the ISO code (e.g., fr for French, ja for Japanese) to force the engine to use the correct phonetic rules for that voice.
This is critical for non-English Latin-script languages. Without an explicit language tag, the system assumes English, leading to incorrect accentuation. Explicit settings ensure your NPCs sound authentic regardless of the text's script structure.
You can also use this field to lock a voice to a specific language even if the text contains mixed scripts, ensuring consistent delivery for multilingual dialogue trees.
- Set the
languagefield with ISO codes (e.g.,de,ko). - Prevents incorrect accentuation for non-English Latin text.
- Ensures consistent pronunciation in mixed-script dialogues.
Testing Voices in Context
Selecting the right voice requires hearing it in context, not just in isolation. Test short phrases for natural intonation and long texts for pacing consistency. Adjusting speed helps match the character's energy level to the gameplay scenario.
Use the API to generate samples quickly. Compare how each voice handles dialogue versus narration. Ensure the audio quality remains clear under different speed settings.
Short Phrase Testing
Generate short phrases to check intonation and clarity. Use these tests to evaluate how well a voice conveys emotion or urgency in dialogue snippets.
Test common game lines like greetings, combat cues, or quest instructions. This helps identify if a voice feels too stiff or overly dramatic for your game's tone.
- Test greetings, combat cues, and quest instructions
- Evaluate intonation and clarity in dialogue snippets
- Check for natural flow in short sentences
Long Text Generation
Generate longer texts to assess pacing and consistency. The API processes texts up to 4096 characters, allowing you to test extended monologues or narrative sections.
Check for natural pauses and rhythm over longer durations. This ensures the voice remains engaging and doesn't sound monotonous during extended gameplay sequences.
Note that generation time is roughly real-time, so longer texts may take a few seconds to process. Plan your asset pipeline accordingly.
Speed Adjustment Testing
Adjust the speed parameter (0.25–4.0) to match character personality. Faster speeds can convey excitement or urgency, while slower speeds suit calm or authoritative roles.
Test how speed changes affect clarity. Ensure that faster voices remain understandable and slower voices don't drag too much for the intended use case.
Audio Format Selection
Selecting the correct audio format balances file size, quality, and engine compatibility for your game’s audio pipeline.
MP3 for Efficiency
MP3 is the standard choice for NPC dialogue due to its small file size and universal support. It offers sufficient quality for background speech while minimizing storage overhead and bandwidth usage for large dialogue trees.
WAV for Quality
WAV provides uncompressed, lossless audio ideal for critical voice lines or high-fidelity requirements. Use this format when audio integrity is paramount, though be mindful of the significantly larger file sizes compared to compressed formats.
OPUS and FLAC Options
OPUS offers compression for streaming or web-based games, while FLAC provides lossless compression for archive-quality assets. Choose based on your platform’s codec support and storage constraints.

Character Personality Matching
Selecting a voice that aligns with character personality enhances immersion without requiring complex audio pipelines. Match vocal tone to narrative role to maintain consistency across dialogue trees.
The eight presets cover distinct archetypes, allowing you to assign specific voices to heroes, villains, and supporting cast members based on their narrative function.
Hero vs. Villain Voices
Use Atlas for a neutral, authoritative hero or Orion for a deep, ominous villain. Their distinct tones help players instantly recognize character alignments without visual cues.
Atlas provides a clear, news-like delivery suitable for determined protagonists, while Orion’s lower register adds gravity to antagonistic roles.
- Atlas: Neutral, reliable protagonist tone
- Orion: Deep, serious antagonist presence
Sidekick and Comic Relief
Assign Felix or Milo to sidekicks. Felix’s energetic delivery suits promotional or high-energy dialogue, while Milo’s friendly conversational style works well for casual banter.
These voices bring approachability and humor to supporting roles, distinguishing them from main narrative drivers.
- Felix: Energetic, high-energy lines
- Milo: Friendly, conversational interactions
Ancient and Wise Characters
Sage offers a calm, instructional tone ideal for mentors or ancient beings. Luna’s soft storytelling voice suits legendary figures recounting history.
Both voices convey depth and experience, enhancing the perceived wisdom of elder characters in your game world.
- Sage: Calm, instructional mentor
- Luna: Soft, storytelling elder
Technical Constraints
Technical constraints directly impact your game’s audio pipeline. Understanding character limits and generation speeds ensures smooth NPC dialogue without disrupting gameplay flow.
Character Limit Impact
Each request accepts up to 4,000 characters. For longer dialogues, split text into parts and join the resulting audio files. This ensures consistent quality and avoids truncation.
- Maximum 4096 characters per request
- Split long texts manually for reliability
- Join audio files programmatically
Queue Wait Times
Requests are processed sequentially. Under heavy load, your synthesis job may wait in a queue before generating. Plan your audio pre-loading accordingly to avoid in-game stutters.
- Sequential processing model
- Queuing possible under high load
- Pre-generate audio for critical scenes
Real-Time Generation Speed
Long texts generate at roughly real-time speed (25 characters per second). Short phrases may take a few seconds. This delay is minimal but should be accounted for in live dialogue systems.
- ~25 characters per second for long texts
- Short phrases take a few seconds
- Suitable for pre-rendered or buffered audio
Licensing and Usage
All voices in LineVoice are based on licensed recordings from LibriTTS-R (CC BY 4.0) and public-domain audiobook readings from LibriVox. This foundation ensures that the synthetic speech retains a natural, human-like quality while operating within established licensing frameworks for your game assets.
Licensed Recordings
The underlying audio data is derived from CC BY 4.0 licensed sources, providing a clear legal basis for using these voice models in commercial projects. Each voice preset is a distinct synthetic interpretation, ensuring variety across your NPC roster without requiring separate licensing for each character type.
Synthetic Watermark
Every generated audio file contains an inaudible watermark that explicitly marks the speech as synthetic. This invisible marker helps identify AI-generated dialogue in your game without affecting the player's immersion or audio quality, providing a transparent layer of authenticity for your production pipeline.
Commercial Use
You are free to use generated audio in commercial game releases, including mobile, PC, and console platforms. The input text is used solely for synthesis and is not stored for training purposes, ensuring your unique dialogue scripts remain proprietary. Generated audio is returned in the response and not stored by our servers.
Cost Implications
Choosing the right voice does not increase your costs, as every preset shares the same character-based pricing structure. This uniformity allows you to experiment with different character personalities without worrying about tiered rates or premium voice fees.
Understanding this flat rate helps indie developers allocate their budget efficiently, focusing on content volume rather than voice selection complexity.
Voice Cost Uniformity
All eight voices, from Aria to Orion, are priced identically. Whether you need a deep documentary tone or a bright upbeat narrator, the cost per character remains constant. This simplifies financial planning for games with large casts.
- No premium voice tiers
- Consistent pricing across all styles
Length-Based Pricing
Pricing is strictly based on character count, including spaces and punctuation, at $0.01 per 1,000 characters. Failed requests are free, ensuring you only pay for successful audio generation. This model scales linearly with your dialogue volume.
- $10 per 1 million characters
- Failed requests are free
Budgeting for NPCs
With a free trial of $0.50 (approx. 50,000 characters), you can test voice fit before committing. For larger projects, USDT top-ups start at just $5. Since no monthly fees or subscriptions exist, your costs are directly tied to usage, making it ideal for variable development cycles.
- $0.50 free trial
- No minimum spend
- USDT top-ups from $5
Integration Tips
Integrating LineVoice into your game engine requires managing the API key securely and handling potential synthesis delays gracefully. Since requests are processed sequentially, you must anticipate queue waits during peak loads.
Caching generated audio assets locally reduces repeated API calls and ensures consistent playback. Use the standard HTTP methods to fetch voices once and store them in your project's assets folder.
API Key Management
Store your single active API key in your game’s build settings or a secure configuration file. Rotate the key via the dashboard if needed; the old key stops immediately upon issuing a new one.
Pass the key in the Authorization: Bearer tts-... header for all POST requests to https://api.dior678app.com/v1/audio/speech.
- Keep one active key per account.
- Rotate keys instantly via the dashboard.
- Use standard HTTP headers for auth.
Error Handling in Games
If synthesis fails, the request is free, so no credit is lost. Check for network timeouts or invalid character limits (max 4096 chars per request).
Implement retry logic for transient errors. If a voice file is missing or corrupted, regenerate it using the same parameters.
- Failed requests incur no charge.
- Retry on transient network errors.
- Validate input length before sending.
Caching Generated Audio
Cache audio files locally to avoid re-synthesizing identical lines. This is crucial for NPC dialogue with repetitive phrases.
Use the returned audio file directly or store it in your engine’s asset pipeline. Formats like MP3 or WAV are supported.
- Cache identical lines to save credits.
- Store assets in your engine’s folder.
- Supports MP3, WAV, OPUS, FLAC, PCM.
Listen to the 8 voices
Each sample below was generated by this API from the same sentence. Her tone is approachable and steady, making her ideal for characters who need to convey information without emotional intensity.
23 languages
Any voice speaks any of these languages.
Sources and further reading
- Wikipedia
- Python documentation
- curl documentation
- TRON developer hub: TRC-20
- Creative Commons Attribution 4.0
- FFmpeg documentation
- W3C WAI: making audio and video accessible
- LibriTTS-R paper (arXiv 2305.18802)
- LibriVox public-domain audiobooks
- MDN: Web Speech API
- IETF RFC 7845: Ogg Opus
- LibriTTS-R corpus (OpenSLR 141)
