-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Zaban is a SaaS platform offering AI-powered APIs for multilingual speech and text processing. Built with developer experience in mind, Zaban provides easy-to-integrate APIs for Text-to-Speech (TTS), Speech-to-Text (STT), Translation, Transliteration, and Language Detection.
- Sign Up - Authenticate with Google SSO
- Generate API Key - Create your API key from the dashboard
- Start Building - Use the API key to access all services
# Translate text from English to Hindi
curl -X POST https://your-url.com/api/v1/translate \
-H "Content-Type: application/json" \
-H "X-API-Key: sk-your-secret-key" \
-d '{
"text": "Hello, world!",
"source_lang": "eng_Latn",
"target_lang": "hin_Deva"
}'Complete API documentation is available. This includes:
- Comprehensive API reference with all endpoints, parameters, and examples
- Authentication guide and API key management
- Language codes reference
- Error handling and troubleshooting
| Service | Endpoint | Description |
|---|---|---|
| Translation | POST /api/v1/translate |
Translate text between 22+ languages |
| Text-to-Speech | POST /api/v1/tts |
Convert text to natural-sounding speech |
| Speech-to-Text | POST /api/v1/stt |
Transcribe audio to text (100+ languages) |
| Transliteration | POST /api/v1/transliterate |
Convert text between scripts |
| Language Detection | POST /api/v1/detect-language |
Detect language from text |
- Text-to-Speech (TTS): Generate natural-sounding audio in 21+ languages using IndicParler TTS
- Speech-to-Text (STT): Transcribe audio with support for 100+ languages using OpenAI Whisper
- Translation: Translate between 22+ Indian languages and English using IndicTrans2
- Transliteration: Convert text between different scripts (e.g., Latin ↔ Devanagari)
- Language Detection: Automatically detect language from text using FastText
- Google SSO integration for seamless authentication
- API key management with secure key generation and rotation
- All endpoints protected with API key authentication
- Secure key storage with HMAC hashing
- RESTful API with JSON responses
- Comprehensive API documentation
- Multiple input formats (multipart form, JSON)
- Auto-detection capabilities for language and scripts
- Detailed error messages and status codes
Zaban supports 22+ languages including:
-
English (
eng_Latn) -
Hindi (
hin_Deva) -
Bengali (
ben_Beng) -
Tamil (
tam_Taml) -
Telugu (
tel_Telu) -
Gujarati (
guj_Gujr) -
Kannada (
kan_Knda) -
Malayalam (
mal_Mlym) -
Marathi (
mar_Deva) -
Punjabi (
pan_Guru) -
Odia (
ory_Orya) -
Assamese (
asm_Beng) -
Urdu (
urd_Arab) - And 10+ more languages...
See the complete API documentation for the full list of supported languages and BCP-47 language codes.
Zaban is built with modern, scalable technologies:
- Backend: Python FastAPI with SQLAlchemy and Alembic
- Frontend: Next.js with React and Tailwind CSS
- Database: PostgreSQL
- Infrastructure: Docker & Docker Compose
-
AI Models:
- IndicParler TTS (local)
- OpenAI Whisper STT (local)
- Vistaar IndicWhisper STT (local, for Indian languages)
- IndicTrans2 Translation (local)
- FastText Language Detection (local)
Generate audio content in multiple languages from a single text source.
Transcribe audio recordings in 100+ languages with automatic language detection.
Translate content between Indian languages and English with high accuracy.
Convert text between different scripts (e.g., Romanized Hindi to Devanagari).
Automatically detect the language of user-generated content.
For complete API documentation, including all endpoints, parameters, examples, authentication guide, and language codes, see the API Documentation.
curl -X POST https://your-url.com/api/v1/tts \
-H "Content-Type: application/json" \
-H "X-API-Key: sk-your-secret-key" \
-d '{
"text": "नमस्ते",
"language": "hi"
}' \
-o speech.wavcurl -X POST https://your-url.com/api/v1/stt \
-H "X-API-Key: sk-your-secret-key" \
-F "audio=@recording.wav" \
-F "lang=hi"curl -X POST https://your-url.com/api/v1/translate \
-H "Content-Type: application/json" \
-H "X-API-Key: sk-your-secret-key" \
-d '{
"text": "नमस्ते दुनिया",
"target_lang": "eng_Latn",
"auto_detect": true
}'- API Issues: Check the API Documentation for detailed endpoint information, examples, and error handling
- Authentication: See the Authentication section in the API Documentation
- Support: Contact support or open an issue in the repository
Private repository. All rights reserved.
Ready to get started? Check out the API Documentation for complete setup instructions, authentication guide, and all API endpoints with examples.