Legal Document Audio Generation via TTS API

By Clerid editorial team · Updated 2026-11-18

This page introduces Clerid’s text-to-speech API, engineered for product teams managing legal documentation. We transform static text into natural speech with precise character counting and format control. Our solution handles multi-language support and batch generation complexity, allowing your team to focus on compliance and user experience without worrying about infrastructure.

You will find technical specifications for our JSON API, compatible with official OpenAI SDKs by changing the base URL. Discover our eight professional voice presets, including Atlas for neutral legal readings and Sage for instructional content. Learn how to integrate our endpoint, manage API keys with instant revocation, and utilize our transparent billing model based on exact character counts for your legal volumes.

Legal Document Audio Generation via TTS API

Frequently asked questions

What is the maximum character limit per request?

Each API request accepts up to 4096 characters of input text. This limit applies to the entire string sent in the input field. If your legal document exceeds this length, you must split the text into smaller chunks and join the resulting audio files.

Which languages are supported for legal documents?

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, ensuring consistent quality across your multilingual legal documentation.

How does the API handle long legal texts?

You must split long texts into parts of up to 4096 characters each. After receiving the audio files for each part, you join them to create the final audio file. This approach ensures reliable synthesis for documents of any length without exceeding request limits.

Is the generated audio stored on your servers?

No. Generated audio is returned directly in the response and is not stored on our servers. Input text is used only to produce the audio and is not used for training. We retain request metadata like time and status for billing purposes only.

Can I use the OpenAI SDK with this API?

Yes. The endpoint shape matches the OpenAI speech endpoint. You can use the official OpenAI SDKs by changing the base_url to https://api.dkk789casino.com/v1 and providing your site's key. This allows seamless integration for product teams already familiar with OpenAI's developer tools.

What happens if a synthesis request fails?

Failed requests are free. If synthesis fails, the charge is returned in full. This ensures you only pay for successful audio generation. You can retry the request or split the text further if the failure was due to character limits or processing issues.

Are spaces and punctuation counted as characters?

Yes. Spaces and punctuation count as characters toward your 4096-character limit per request and your total character usage for billing. This precise counting ensures accurate cost estimation, with pricing at $0.01 per 1,000 characters, including all whitespace and special characters.

Is there a free trial available for new users?

Yes. Signing in with Google provides a $0.50 credit, valid for 7 days, allowing about 50,000 characters of synthesis. Accounts created with email and password start without trial credit. This allows your team to test the API before committing to USDT top-ups.

How quickly is USDT payment credited?

Payments via USDT on the TRON network (TRC-20) are credited automatically within minutes after the transfer. There are no subscriptions or invoices. The minimum top-up is $5, and your balance does not expire, ensuring uninterrupted service for your legal document audio projects.

Do you offer voice cloning for legal narrators?

No. We do not offer custom voice cloning, voice uploading, or voice design. You choose from 8 preset voices based on licensed recordings. These voices are based on licensed recordings and cannot be customized to match a specific individual's voice.

Can I adjust the speed of the legal narration?

Yes. You can adjust the speed parameter between 0.25 and 4.0. This allows you to control the pacing of the audio, making it easier for listeners to digest complex legal terminology. The default speed is optimized for natural listening, but you have full control.

What formats are supported for legal audio files?

We support mp3, wav, opus, flac, and pcm formats. This flexibility allows you to choose the format that fits your delivery pipeline. Each format is generated directly from the API response.

Is there an SLA or uptime guarantee?

No. We do not offer an SLA, uptime guarantee, or enterprise contract. Requests are processed sequentially, so under load, a request may wait in a queue. Typical speed is roughly real time, but this is not guaranteed. Support is available by email only.

How do I contact support for technical issues?

Support is available by email only. There is no phone number, live chat, or dedicated support line. You can reach us via the contact page or the email provided in your account dashboard. We aim to respond to technical inquiries promptly via email.

First request

curl

curl https://api.dkk789casino.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.mp3

Why Legal Teams Choose Our TTS API

Sound wave illustration for: Why Legal Teams Choose Our TTS API

Legal teams manage dense documentation where precision matters. Our API charges strictly by character count, ensuring predictable costs for large volumes of text. You pay only for successful generations, with failed requests refunded in full.

Choose from 8 professional voices tailored for clear narration. Whether you need a neutral news tone or a calm instructional style, the API handles the complexity so your team can focus on compliance and user experience.

Precise Character Billing for Legal Volumes

Precise Character Billing for Legal Volumes

Billing is transparent and precise: $10 per 1 million characters. Spaces and punctuation count toward this total, eliminating hidden fees. This model suits the heavy textual load typical in legal workflows, allowing exact budget forecasting for document batches.

  • Flat rate: $0.01 per 1,000 characters
  • Failed requests are free
  • No monthly plans or minimum spend

8 Professional Voices for Legal Narratives

Select from voices designed for clarity and authority. Atlas offers a neutral, news-style delivery ideal for legal readings. Sage provides a calm, instructional tone for explainer content. Aria delivers a warm, clear narration suitable for case studies.

  • Atlas: Neutral, news-style
  • Sage: Calm, instructional
  • Aria: Warm, clear narrator

Simple JSON API Compatible with OpenAI SDKs

Integrate quickly using the standard OpenAI SDKs. Simply change the base URL to our endpoint and use your API key. The request shape matches the OpenAI speech endpoint, reducing development time for your product team.

  • POST /v1/audio/speech endpoint
  • Compatible with official OpenAI SDKs
  • Standard JSON body structure

Supported Languages for Global Legal Documents

Sound wave illustration for: Supported Languages for Global Legal Documents

The Clerid API supports 23 languages for global legal documentation, including English, Spanish, German, French, Japanese, and Chinese. Each voice preset can speak any of these languages, ensuring consistent audio quality across your entire document repository.

Language detection works automatically based on script, but you can manually set the ISO language code for Latin-script texts like Dutch or Swedish to prevent defaulting to English. This precision is critical when handling multilingual contracts or international compliance notices.

23 Languages Including English, Spanish, and German

We support 23 languages for legal content, including Arabic, Chinese, Danish, Dutch, English, Finnish, French, German, Greek, Hebrew, Hindi, Italian, Japanese, Korean, Malay, Norwegian, Polish, Portuguese, Russian, Spanish, Swahili, Swedish, and Turkish.

  • Full coverage for major legal jurisdictions

Automatic Language Detection with Manual Override

Set the language field to ensure accurate synthesis. Without it, Latin script defaults to English, which may mispronounce terms in Dutch or Swedish legal texts.

Consistent Voice Quality Across All Languages

All 8 voice presets deliver uniform tone regardless of language. Use Atlas for neutral legal readings or Sage for instructional compliance content in any supported language.

Technical Specifications for Product Teams

Sound wave illustration for: Technical Specifications for Product Teams

Product teams managing legal documentation need precise control over audio generation. Our API accepts standard JSON bodies via the /v1/audio/speech endpoint, ensuring seamless integration with existing infrastructure and existing OpenAI SDK compatibility.

Endpoint POST /v1/audio/speech

Send text up to 4096 characters per request using the standard JSON structure. The endpoint accepts model, input, voice, response_format, speed, and optional language fields. Long texts are handled by splitting into character chunks and joining the resulting audio files.

Response Formats: MP3, WAV, OPUS, FLAC, PCM

Choose the output format that fits your delivery pipeline. Available formats include MP3, WAV, OPUS, FLAC, and PCM. This flexibility ensures compatibility with various legal archiving standards and player requirements without additional conversion steps.

Speed Control from 0.25x to 4.0x

Adjust playback speed between 0.25x and 4.0x to optimize listening experiences. Slower speeds aid comprehension for complex legal terms, while faster speeds help users review large volumes of documentation efficiently.

Voice Presets for Legal Contexts

Sound wave illustration for: Voice Presets for Legal Contexts

Legal audio requires tonal precision. Our eight voice presets deliver consistent, professional narration tailored to specific document types, ensuring clarity and appropriate pacing for complex legal content.

Atlas: Neutral News and Legal Readings

Atlas provides a neutral, news-style voice ideal for reading statutes, case summaries, or regulatory updates. Its balanced tone minimizes emotional bias, making it perfect for objective legal documentation where clarity is paramount.

  • Neutral, news-style delivery
  • Ideal for statutes and case summaries
  • Minimizes emotional bias in readings

Sage: Calm Instructional and Explainer Content

Sage offers a calm, instructional tone suited for explaining legal concepts or guiding users through compliance procedures. Its steady pacing helps listeners digest complex information without feeling rushed, enhancing comprehension for onboarding or educational materials.

  • Calm, instructional pacing
  • Optimized for compliance explanations
  • Enhances comprehension for onboarding

Aria: Warm and Clear Narrator for Case Studies

Aria brings a warm, clear narrator quality perfect for case studies and client-facing narratives. Her tone adds a human touch to legal stories, making technical details more accessible and engaging for non-legal audiences.

  • Warm, clear narrative style
  • Engaging for case studies
  • Humanizes technical legal details

How It Works: From Text to Audio

Sound wave illustration for: How It Works: From Text to Audio

Our API accepts plain text and returns synthesized audio, streamlining the conversion of legal documents into audible formats. You send a JSON payload with your text and preferred voice settings, and the system processes the request through a standard endpoint compatible with existing OpenAI SDKs.

Send Text via JSON Body

Construct a POST request to /v1/audio/speech with your API key in the authorization header. Include the text in the input field, select a voice from our eight presets, and specify the desired response_format such as MP3 or WAV. You can also adjust the speed between 0.25x and 4.0x to match reading preferences.

  • Use standard JSON structure for requests.
  • Supports 4096 characters per request.
  • Optional language parameter for precision.

Receive Audio File Directly

Upon successful synthesis, the API returns the audio file directly in the response body. There is no need to poll for completion or download from a separate storage bucket. The file is generated in the format you specified, ready for immediate integration into your legal document workflows.

Handle Long Texts with Character Splitting

For legal documents exceeding 4096 characters, split the text into segments of up to that length. Generate audio for each segment individually and then join the resulting files. This ensures consistent quality and avoids truncation, allowing you to process lengthy contracts or case studies efficiently.

  • Split text at 4096 characters.
  • Generate segments individually.
  • Join audio files for final output.
How It Works: From Text to Audio

Integration for Legal Product Workflows

Sound wave illustration for: Integration for Legal Product Workflows

Legal product teams can integrate Clerid’s TTS API using official OpenAI SDKs by simply changing the base_url to https://api.dkk789casino.com/v1. This allows your existing infrastructure to handle legal audio generation without rewriting core logic, ensuring seamless compatibility with standard JSON request shapes and authentication headers.

Use Official OpenAI SDKs with Base URL Change

By updating the API endpoint, your application sends text payloads directly to our synthesis engine. This approach maintains your current development patterns while leveraging our precise character counting and format control, reducing integration friction for teams managing high-volume legal documentation.

  • Compatible with standard OpenAI SDKs
  • Simple base URL configuration
  • Standard JSON request bodies

Manage API Keys with Instant Revocation

Each account holds one active API key, which can be issued anew at any time. When you generate a new key, the previous one stops working immediately, ensuring tight control over access for your legal product workflows without waiting for propagation delays.

Monitor Usage via Dashboard and API

Track your character consumption and billing status through the dashboard or API endpoints. Since requests are processed sequentially, monitoring usage helps you anticipate queue times under load.

Data Privacy and Compliance

Sound wave illustration for: Data Privacy and Compliance

We prioritize the confidentiality of your legal texts. When you send content through our API, the input is processed solely to generate the corresponding audio file. It is not retained for any other purpose beyond that immediate synthesis.

Unlike many other services, we do not use your legal document data to train our models. Your texts remain yours, ensuring that sensitive case details or contract clauses stay private and are never repurposed for improving our engine.

Input Text Used Only for Generation

Your text is transmitted, synthesized into audio, and returned to you. It is not kept in long-term storage for model improvement.

This ensures that proprietary legal language remains strictly within the scope of your specific request.

No Training on Legal Document Data

We do not use your input text to train our AI models. Your legal documents are not added to our training dataset.

This distinction is critical for teams managing sensitive client information or unpublished case files.

Audio Not Stored After Response

The generated audio file is returned directly in the API response and is not stored on our servers after delivery.

Only request metadata (time, characters, status) is kept for billing purposes.

This minimizes the data footprint and reduces potential compliance risks for your team.

  • Input text: used only for generation
  • Audio: not stored after response
  • Metadata: kept for billing only

Performance and Reliability

Sound wave illustration for: Performance and Reliability

We process requests sequentially, which means generation typically takes a few seconds for short phrases. For longer legal documents, the speed approaches real-time, producing approximately one second of audio for every 25 characters of input text.

Real-Time Speed on Long Texts

Longer texts are automatically split into parts of up to 4096 characters and joined seamlessly. This ensures consistent delivery without exceeding input limits.

Queue Processing Under Load

Requests are processed one after another, so under load a request may wait in a queue. This sequential handling guarantees that character counts remain accurate for billing purposes without complex state management.

60 Requests Per Minute Limit

You have a limit of 60 requests per minute per API key (10 per minute before the first top-up). This rate limit is sufficient for most batch generation workflows and can be managed via the dashboard.

Getting Started with Clerid

Sound wave illustration for: Getting Started with Clerid

Accessing the Clerid API begins at /get-api-key/, where product teams create an account using either Google authentication or a standard email and password. This simple registration establishes your unique environment for legal document audio generation.

Upon registration, you receive a single active API key visible on your dashboard. You can issue a new key at any time, which instantly revokes the previous one, ensuring secure access control for your team’s integrations.

Sign Up with Google or Email

Visit the /get-api-key/ page to register your account. You may choose Google for quick onboarding or use a traditional email and password setup. Note that accounts created with email and password start without trial credit, while Google sign-ins receive immediate benefits.

Get Your API Key Instantly

Once registered, your dashboard displays your active API key, current balance, and usage statistics. The key follows the format tts-... and is used via the Authorization: Bearer header. You can generate a new key at any time, which stops the old one immediately.

Try the Free Trial Credit

Sign in with Google to receive $0.50 of trial credit, valid for 7 days. This allows you to generate approximately 50,000 characters of audio to test voice presets and integration workflows before committing to a top-up. Email-based accounts do not receive this initial credit.

Listen to the 8 voices

Each sample below was generated by this API from the same sentence. Product teams must carefully review the legal documents before launching new features to ensure compliance with all relevant regulations.

Avatar of the voice aria
ariafemale
Avatar of the voice nova
novafemale
Avatar of the voice luna
lunafemale
Avatar of the voice sage
sagefemale
Avatar of the voice felix
felixmale
Avatar of the voice milo
milomale
Avatar of the voice atlas
atlasmale
Avatar of the voice orion
orionmale

23 languages

Any voice speaks any of these languages.

Sources and further reading

  1. Wikipedia
  2. Node.js documentation
  3. FFmpeg documentation
  4. OpenAI API reference: create speech
  5. TRON developer hub: TRC-20
  6. Python documentation
  7. LibriVox public-domain audiobooks
  8. Tether (USDT)
  9. curl documentation
  10. openai-node on GitHub
  11. MDN: Web Speech API
  12. LibriTTS-R corpus (OpenSLR 141)

More on this site