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
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
API Response 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 languages +
as-IN,brx-IN,doi-IN,kok-IN,ks-IN,mai-IN,mni-IN,ne-IN,sa-IN,sat-IN,sd-IN,ur-IN
More Response Examples
With Roman Script Output:
With Native Numerals:
Auto-Detected Source Language:
Error Responses
All errors return a JSON object with an error field containing details about what went wrong.
Error Response Structure
Error Codes Reference
Example Error Response
Error Handling Code Example
Check out our detailed API Reference to explore Translation and all available options.
Need help with translation? Contact us on discord for guidance.