Please enable JavaScript to ensure the best experience.

Loading the page

Moknah API Documentation

Integrate powerful Arabic text-to-speech capabilities into your applications with our enterprise-grade API

API Hero

API Overview

Our Arabic TTS API delivers natural-sounding, high-quality speech with easy integration across web, mobile, and backend platforms.

High-Performance

Generate speech in milliseconds with 99.9% uptime and global CDN delivery for minimal latency.

~100ms
Response Time
99.9%
Uptime

Scalable Architecture

Built on a distributed architecture designed to scale automatically and handle high volumes of API requests.

1M+
Daily Capacity
Zero Downtime
Seamless scalability & failover

Enterprise Security

Bank-grade encryption with API key authentication and comprehensive audit logging for full traceability.

TLS 1.3
Encryption
GDPR
Compliant

API Reference

Complete documentation for integrating with the Moknah TTS API across multiple programming languages.

curl -X POST 'https://api.moknah.io/process-text' \
-H 'Private-Key: <PRIVATE_KEY>' \
-H 'Content-Type: application/json' \
-d '{
"text": "<TEXT_CONTENT>",
"postData": {
"name": "<NAME_OR_NULL>",
"articleId": "<ARTICLE_ID>",
"voiceId": "<VOICE_ID>",
"callbackURL": "<CALLBACK_URL>",
"preprocessType": "<PREPROCESS_TYPE>"
}
}'

Request Parameters

text
Required

The Arabic text content to convert to speech.

postData.name
Optional

Optional identifier for the request.

postData.articleId
Required

Unique identifier for the content being processed.

postData.voiceId
Required

The voice to use for speech synthesis.

postData.callbackURL
Optional

URL to receive completion notification for asynchronous processing.

postData.preprocessType
Optional

Type of text preprocessing to apply.

Integration Process

1

Request API Access

Contact us at sales@moknah.io with your requirements for API access.

2

Sandbox Testing

Evaluate our API with sample requests and explore voice options in our sandbox environment.

3

Production Integration

Implement the API in your application with your production credentials.

4

Scaling & Optimization

Fine-tune your integration and scale as needed with our enterprise support.

Frequently Asked Questions

Common questions about our API integration and capabilities

What is the maximum text length?

To ensure optimal performance and reliability, we recommend keeping requests under 10,000 characters. While the API can handle longer inputs, breaking very large texts into smaller segments helps prevent timeouts and ensures faster responses.

How is API usage billed?

API usage is billed based on the number of characters processed. Volume discounts are available for enterprise customers with high usage requirements.

Is real-time streaming supported?

Yes, real-time speech generation is available through our WebSocket-based streaming API, offered upon request for enterprise customers. It’s ideal for interactive applications, voice assistants, and dynamic speech experiences.

What file formats are supported?

By default, generated audio is delivered in MP3 format. Support for additional formats like WAV, OGG, or FLAC is available upon request for enterprise customers.

Need Technical Support?

Our team of API specialists is ready to help you with integration and technical questions. Enterprise customers receive priority support with guaranteed response times.

Support