Frequently asked questions
What is a Mexican Spanish accent in TTS?
Our API supports Spanish, one of 23 available languages. Voices are preset models, not region-specific dialects. To ensure correct pronunciation, explicitly set the language parameter to 'es' in your request. The system does not offer specific Mexican accent controls; it uses the selected voice’s standard Spanish output.
Which voice sounds most natural for legal texts?
For legal documents, we recommend atlas (neutral, news) or sage (calm, instructional). These voices provide clear, professional delivery suitable for compliance texts. You can test all eight presets via the /v1/voices endpoint to determine which best matches your specific regulatory tone requirements.
How do I specify the language in the request?
Include the 'language' field in your JSON body with the ISO code, such as 'es' for Spanish. If omitted, the system guesses the language, defaulting to English for Latin script. For precise legal terminology, always explicitly set the language to avoid misinterpretation.
Does the API support legal jargon?
The API processes text up to 4096 characters without special jargon handling. It does not support custom pronunciation lexicons or SSML. Complex legal terms are read using standard voice models. You may need to test specific terms to ensure acceptable pronunciation accuracy for your documents.
Can I adjust the speed for legal reading?
Yes, use the 'speed' parameter with values between 0.25 and 4.0. This allows you to slow down audio for clearer legal reading or speed up processing. The default speed is 1.0. Adjusting speed does not affect the voice model or language capabilities.
Is the audio suitable for court recordings?
Generated audio contains an inaudible watermark marking it as synthetic speech. While high quality, it is not certified for official court recordings. We do not provide SLAs or specific certifications. Verify with your legal team if synthetic audio with watermarks meets your jurisdiction’s evidence standards.
How accurate is the pronunciation?
Accuracy depends on the voice model and input text. The API does not guarantee perfect pronunciation for all legal jargon. Test specific terms using the free trial credit. The system supports Spanish, but specific regional nuances are not explicitly controlled beyond the language code.
Do I need SSML for legal texts?
No, SSML is not supported. The API uses plain text input. You cannot add pauses or emphasis via SSML tags. Control pacing using the 'speed' parameter. For precise control, you may split text into smaller segments and adjust speed per segment in your application logic.
What is the best format for legal archives?
We support mp3, wav, opus, flac, and pcm. For archival purposes, FLAC or WAV are recommended for lossless quality. MP3 is suitable for general distribution. Choose the format that best fits your storage and playback requirements. All formats are returned directly in the API response.
How much does it cost to narrate a contract?
Pricing is $0.01 per 1,000 characters, including spaces and punctuation. A standard contract might cost a few cents. Failed requests are free. You can estimate costs by counting characters in your text file before sending the POST request to the speech endpoint.
Can I use this for client notifications?
Yes, the API is suitable for automated client notifications. Generate audio from text and deliver it via your existing channels. The API returns audio files that can be integrated into your notification system. Ensure you comply with any specific legal requirements for synthetic voice notifications in your region.
Is the speech synthetic or human?
The speech is synthetic, generated from licensed recordings of human speakers. Each file includes an inaudible watermark indicating it is synthetic. The voices are based on LibriTTS-R and LibriVox data. It is not real-time human speech but a high-fidelity text-to-speech synthesis.
How do I handle special characters?
Send text as plain UTF-8 JSON in the 'input' field. The API handles standard special characters. If pronunciation issues arise with specific symbols, consider removing them or spelling them out in the text. There is no special character mapping feature; the model interprets standard text.
What if the text exceeds 4096 characters?
Split your text into chunks of up to 4096 characters. Send each chunk as a separate request. Then, join the resulting audio files in your application. The API does not automatically handle long texts. You must manage the splitting and concatenation logic on your side.
Understanding the Accent
VerbaLaw’s text-to-speech API processes Mexican Spanish through the standard ISO 639-1 language code, ensuring consistent pronunciation across all eight available voices. The system does not offer region-specific accent presets; it uses a unified model where any voice can speak any supported language.
Voice Selection
All eight voices support Spanish, but their tonal characteristics vary. For legal documents requiring neutral delivery, Atlas provides a standard news-style narration, while Milo offers a conversational tone suitable for explanatory compliance notes. Aria and Luna deliver clear, structured outputs ideal for reading lengthy clauses.
The choice of voice does not alter the underlying accent. Spanish pronunciation is governed by the language parameter; the API does not distinguish between regional dialects like Mexican or Castilian Spanish.
- Atlas: Neutral, professional narration
- Milo: Conversational, clear enunciation
- Aria: Warm, precise articulation
- Luna: Soft, steady pacing
Language Code
Explicitly set the language field to es-MX in your API request to enforce Mexican Spanish phonology. While the API can guess the language from Latin script text, legal documents often contain mixed terminology (e.g., English loanwords or legal Latin), which may lead to incorrect language detection.
Setting the language code ensures that stress patterns and intonation align with Mexican Spanish norms. This is critical for maintaining the formal register required in regulatory filings and corporate agreements.
- Use
es-MXfor Mexican Spanish - Avoid reliance on auto-detection for mixed-language texts
- Ensures consistent regional phonetics
Pronunciation Accuracy
The underlying model handles standard Spanish pronunciation accurately. However, specialized legal terms or proper nouns may require normalization. The API does not support SSML or phoneme dictionaries, so precise spelling is essential for correct output.
Test complex terms with a short sample request before batch processing. The watermark in the generated audio confirms synthetic origin, aiding in audit trails for compliance documentation.
- Standardized pronunciation for legal terms
- No SSML for custom pronunciation
- Inaudible watermark for auditing
Technical Implementation
Generating legal audio requires precise configuration to ensure regulatory compliance and clarity. The API endpoint processes requests as JSON bodies, accepting text up to 4096 characters. For Mexican Spanish documents, specify the language code as "es" to guide pronunciation without assuming regional dialects. Using the tts-1-hd model ensures the highest fidelity for complex legal terminology.
Accurate speech synthesis depends on correctly mapping voice presets to the document's intended use case. The system supports eight distinct voices, each optimized for specific tones. You must define the voice, format, and speed parameters within the request body to match your compliance standards.
Setting the Language
Specify language: "es" in the JSON body to ensure the engine applies Spanish phonetic rules. While the system can guess languages from script, explicitly setting the code prevents ambiguity for Latin-script legal terms. This ensures consistent pronunciation across all generated audio files.
- Use
esfor all Spanish documents. - Explicit codes prevent dialect guessing errors.
- Supported in all eight voices.
Voice Parameters
Select voices based on the document's context. atlas provides a neutral tone suitable for news-style readings, while milo offers a conversational style for explanatory sections. The tts-1-hd model is recommended for high-fidelity output, ensuring clear articulation of dense legal text.
Adjust the speed parameter between 0.25 and 4.0 to control playback rate. Default speed is suitable for most legal readings. Faster speeds may reduce clarity for complex terminology, so test with sample clauses before batch generation.
Request Structure
Send a POST request to https://api.winpk.cc/v1/audio/speech. Include the Authorization: Bearer header with your API key. The JSON body must contain model, input, voice, and response_format. Ensure the input text does not exceed 4096 characters; split longer documents into multiple requests.
Legal Text Preparation
Legal texts often exceed the 4,096-character limit per request. You must split documents into manageable segments before synthesis to ensure complete audio generation without truncation.
Accurate character counting includes spaces and punctuation, as these count toward your character limit. Precise segmentation prevents unnecessary costs from partial failures.
Character Counting
Each API call accepts a maximum of 4,096 characters. Calculate the total length of your legal draft, including all spaces and punctuation marks, to determine the number of required requests.
- Count every character, including spaces.
- Split text into segments under 4,096 chars.
- Failed requests refund the character count.
Special Characters
Standard ASCII and Unicode characters are supported. Ensure your text encoding is UTF-8 to preserve legal symbols, citations, and accented letters used in Spanish legal terminology.
- Use UTF-8 encoding.
- Supports standard punctuation.
- No custom lexicons available.
Text Normalization
Pre-process text to remove non-verbal annotations or complex formatting that the TTS engine does not interpret. Simple plain text yields the most reliable pronunciation for regulatory standards.
- Remove HTML tags.
- Simplify complex formatting.
- Ensure clear sentence structures.
Quality Assurance
Quality assurance ensures your generated legal audio meets compliance standards before distribution. By verifying audio clarity and adjusting playback speed, you guarantee that complex terminology is articulated precisely for auditors and clients.
Audio Verification
Listen to the output to confirm accurate pronunciation of legal terms. The inaudible watermark confirms the file is synthetic, which is essential for audit trails in regulatory environments.
Speed Settings
Adjust the speed parameter between 0.25 and 4.0 to optimize clarity. Slower speeds improve understanding of dense regulatory text, while faster rates suit routine notifications.
Format Choice
Select mp3 for efficient storage or wav for lossless quality. Choose opus or flac based on your specific archival requirements, ensuring compatibility with your legal tech stack.
Compliance Considerations
For legal auditors, synthetic speech must be distinguishable from human recordings. Every generated audio file contains an inaudible watermark, providing proof that the document was machine-generated rather than recorded by a person. This supports transparency in compliance reporting and internal audits.
Input text is used solely for synthesis and is not retained for training models. Generated audio is returned in the response and not stored on our servers. Only request metadata—time, character count, and status—are kept for billing and verification purposes, ensuring minimal data footprint.
Watermarking
All output files carry a synthetic watermark. This allows legal teams to verify the origin of audio evidence or narrated compliance documents without altering the user experience.
Watermarks are inaudible and do not affect the clarity of the speech, ensuring the audio remains suitable for professional use.
- Inaudible synthetic marker in all audio formats.
Data Retention
Input text is not used for training. Generated audio is not stored after delivery. Request metadata is retained strictly for billing and audit trails.
This approach minimizes liability and aligns with strict data minimization principles often required in legal tech environments.
Auditing
Each request logs time, character count, and status. These logs provide a clear audit trail for usage verification and cost reconciliation.
Failed requests are refunded, and the metadata reflects this status, ensuring accurate financial auditing without ambiguity.
Common Pitfalls
Developers generating legal audio often encounter predictable failure modes when handling Mexican Spanish texts. Misconfigured language codes or exceeding character thresholds are primary causes of synthesis errors or degraded output quality.
Incorrect Language Code
Setting language to es-MX is critical for accurate pronunciation. Without it, the system defaults to generic Spanish or English, altering stress patterns in legal terminology.
- Always specify
es-MXfor Mexican Spanish. - Omitting the field triggers default language guessing.
Character Limits
Each request accepts a maximum of 4096 characters. Exceeding this limit causes immediate rejection. Split longer contracts or regulatory documents into chunks before sending.
- Max 4096 characters per POST request.
- Count spaces and punctuation toward the limit.
Encoding Issues
Ensure UTF-8 encoding for special characters like ñ or accented vowels. Invalid encoding results in malformed audio or silent segments in the generated file.
- Use UTF-8 for all input text.
- Verify JSON body encoding before sending.

Voice Options
Selecting the correct voice preset ensures your legal audio aligns with the intended delivery context, whether for narration, broadcast, or conversational review.
Aria for Narration
Aria provides a warm, clear narrator tone ideal for reading lengthy compliance documents. Her steady pacing helps maintain listener engagement during extended legal text synthesis.
- Best for: Long-form regulatory reports
- Tone: Clear and professional
Atlas for News
Atlas offers a neutral, news-style delivery suitable for formal announcements or standardized legal updates. His consistent pitch and measured rhythm make complex terminology easy to follow in high-volume processing scenarios.
- Best for: Standardized legal updates
- Tone: Neutral and precise
Milo for Conversational
Milo delivers a friendly, conversational voice appropriate for client-facing explanations or internal training materials. His approachable tone softens the rigidity of legal jargon, making dense content more accessible for review.
- Best for: Client-facing explanations
- Tone: Friendly and approachable
Cost Estimation
The cost structure is linear and transparent, priced at $0.01 per 1,000 characters. This rate applies to all models, including tts-1 and tts-1-hd, ensuring predictable expenses for large-scale document synthesis.
Document Length
Input text is capped at 4,000 characters per request. For longer legal contracts, split the text into segments and join the resulting audio files. Each segment incurs its own character charge, so total cost scales directly with the document size.
Character Count
Spaces, punctuation, and special symbols all count toward the 4,000-character limit and the final bill. Ensure accurate character counting before submission to avoid unexpected charges from truncated or repeated requests.
Budgeting
Start with a free trial credit of $0.50 (approx. 50,000 characters) if signing in via Google. Otherwise, top up using USDT (TRC-20) with a minimum of $5. Credits do not expire, allowing you to manage cash flow for ongoing legal audio production.
- Failed requests are refunded in full.
- Balance does not expire.
- Minimum top-up is $5 via USDT.
Integration Steps
Integrating the VerbaLaw TTS API into your legal tech stack requires precise configuration of authentication headers and base URLs. This section outlines the critical steps for establishing a secure connection and executing your first synthesis request.
API Key Setup
Retrieve your API key from the /get-api-key/ dashboard after signing in. Include it in every request header as Authorization: Bearer tts-<your-key>. Ensure your key is active and has sufficient balance, as failed requests do not incur charges but successful ones do.
- Keep your key secure; rotate it anytime via the dashboard if compromised.
- Verify balance before bulk generation to avoid unexpected service interruption.
Code Example
Use the OpenAI SDK by setting base_url to https://api.winpk.cc/v1. Send a POST request to /audio/speech with the JSON body containing model, input, voice, and response_format. For Mexican Spanish legal texts, explicitly set the language parameter to es-MX to ensure correct pronunciation of regulatory terms.
- Endpoint:
POST https://api.winpk.cc/v1/audio/speech - Supported formats:
mp3,wav,opus,flac,pcm
Testing
Begin with short, complex legal clauses to verify accent accuracy and terminology handling. Monitor the response time, which averages roughly 25 characters per second for long texts. Verify that the generated audio file contains the inaudible synthetic watermark, confirming its origin for audit trails.
Support
VerbaLaw provides dedicated support via email for legal tech teams requiring precise assistance with API integration and billing queries. Unlike phone support, our email channel ensures a documented trail of communications, aligning with audit requirements for compliance documents.
Our team responds to technical and account-related inquiries within standard business hours. All interactions are logged, providing a clear record for internal auditing processes.
Email Contact
Send inquiries to [email protected]. Include your API key and specific details about the issue for faster resolution.
- Email: [email protected]
- Response time: within 24 hours
Documentation
Access detailed API references, code examples, and integration guides on our docs page. The documentation covers all voice parameters and language codes.
- API Reference
- Code Samples
- Integration Guides
FAQ
Review common questions regarding character limits, voice selection, and billing cycles. The FAQ addresses frequent technical and compliance queries.
Conclusion
The API delivers auditable, synthetic speech optimized for complex regulatory text, ensuring consistent output across high-volume document batches. By leveraging precise language codes and standard voice presets, legal teams can automate narration without manual intervention.
Scalability is inherent to the cloud architecture, allowing seamless processing of large compliance libraries. With a $0.01 per 1,000 character rate and no minimum spend, costs remain predictable as document volume grows.
Efficiency Gains
Automated synthesis eliminates manual reading for internal reviews, accelerating the distribution of legal notices. The 4096-character limit per request allows straightforward batching strategies for longer contracts, reducing overhead significantly.
Scalability
The system handles concurrent requests efficiently, with processing times aligning closely with real-time speech. This ensures that even during peak usage, document generation remains reliable without requiring infrastructure upgrades.
Reliability
Every audio file carries an inaudible watermark, confirming synthetic origin for audit trails. Input text is not used for training, preserving client confidentiality while maintaining consistent quality across all 23 supported languages.
Listen to the 8 voices
Each sample below was generated by this API from the same sentence. Managing this key is straightforward, with one active key per account that can be rotated instantly if needed.
23 languages
Any voice speaks any of these languages.
