Text Translation API
Translation Types
Translate from English to various Indian languages with support for different translation modes.
Convert Indian languages to English with high accuracy and natural output.
Translate between different Indian languages while preserving context and meaning.
Translation Modes
Highly professional, uses pure language forms. Ideal for official documents and legal papers.
Balanced mix of languages, slightly informal. Perfect for business emails and general communication.
Casual and direct style with mixed language. Best for chatbots and social media content.
Code Examples
Basic Translation
Advanced Options
Python
JavaScript
cURL
API Features
- Multiple Indian languages support - Three translation modes - Gender-specific translations - Code-mixed text support
- Multiple script options - Native/International numerals - Customizable formatting - Transliteration support
- Automatic language detection - Context preservation - Entity handling - Preprocessing options
- Simple REST API - Multiple language SDKs - Comprehensive documentation - Easy-to-follow examples
API Response Format
Response Schema
Example Response
Unique identifier for the request
The translated text result in the requested target language
Example: "नमस्ते, आप कैसे हैं?"
The detected or provided source language of the input text in BCP-47 format
Supported Languages:
- mayura:v1: bn-IN, en-IN, gu-IN, hi-IN, kn-IN, ml-IN, mr-IN, od-IN, pa-IN, ta-IN, te-IN
- sarvam-translate:v1: All mayura:v1 languages plus as-IN, brx-IN, doi-IN, kok-IN, ks-IN, mai-IN, mni-IN, ne-IN, sa-IN, sat-IN, sd-IN, ur-IN
Example: "en-IN"
Need help with translation? Contact us on discord for guidance.