Skip to content
Yash Shah edited this page Feb 11, 2026 · 1 revision

Welcome to Zaban

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.


🚀 Quick Start

Get Started in 3 Steps

  1. Sign Up - Authenticate with Google SSO
  2. Generate API Key - Create your API key from the dashboard
  3. Start Building - Use the API key to access all services

Quick Example

# 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"
  }'

📚 Documentation

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

API Endpoints

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

✨ Key Features

🎯 AI-Powered Services

  • 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

🔐 Security & Authentication

  • 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

🛠️ Developer Experience

  • 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

🌍 Supported Languages

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.


🏗️ Architecture

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)

📖 Common Use Cases

1. Multilingual Content Creation

Generate audio content in multiple languages from a single text source.

2. Voice Transcription

Transcribe audio recordings in 100+ languages with automatic language detection.

3. Content Translation

Translate content between Indian languages and English with high accuracy.

4. Script Conversion

Convert text between different scripts (e.g., Romanized Hindi to Devanagari).

5. Language Detection

Automatically detect the language of user-generated content.


🔗 Documentation

For complete API documentation, including all endpoints, parameters, examples, authentication guide, and language codes, see the API Documentation.


💡 Example Requests

Text-to-Speech

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.wav

Speech-to-Text

curl -X POST https://your-url.com/api/v1/stt \
  -H "X-API-Key: sk-your-secret-key" \
  -F "audio=@recording.wav" \
  -F "lang=hi"

Translation with Auto-Detection

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
  }'

🆘 Need Help?

  • 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

📝 License

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.