Overall Understanding of the API Calls

This architectural guide explains the lifecycle of Bhashini API calls, how AI models are hosted on ULCA, how task pipelines are structured, and which Pipeline ID to select for your application.

End-to-End API Call Flow

Integrators follow a unified 3-step sequence to execute inference across any Bhashini capability:

AI Models on the ULCA Platform

Bhashini aggregates cutting-edge AI/ML models developed by India's premier institutes (including IIT Madras, IIT Bombay, IIIT Hyderabad, and C-DAC). Each model is uniquely identified by a modelId and exposed through standardized pipelines for Speech Recognition, Machine Translation, Speech Synthesis, and OCR across Indian languages.

When to Use Which Pipeline ID

Depending on whether your application requires single-task processing or chained multimodal execution, select the pipeline matching your sequence:

[NMT]
Case 1: Text-to-Text Translation Only

Translating a sentence from one Indian language to another (e.g. English → Hindi, Tamil → Telugu) without intermediate pivoting.

Supported by any pipeline containing NMT (e.g. Pipeline P1 or P2).
[NMT + TTS]
Case 2: Translation with Spoken Audio Output

Translating input text into a target language, then synthesizing speech audio so users can both read and hear the result.

Supported by pipelines combining NMT and TTS sequentially.
[ASR + NMT]
Case 3: Voice Input to Translated Text

Transcribing spoken audio into source text, then translating that text into another Indian language.

Supported by speech-enabled pipelines offering ASR for the source dialect and NMT for the pair.
Composed Pipeline
Case 4: Multi-Pipeline Chaining

Utilizing specialized ASR from Pipeline P1 (e.g. IIT Madras) and domain NMT from Pipeline P2 (e.g. IIT Bombay).

Achieved by coordinating the two compute calls with your inference API key.

ISO-639 Language Standard

Bhashini standardizes on ISO-639 language codes across all API endpoints (e.g. hi for Hindi, en for English, ta for Tamil).

For a comprehensive mapping of all 22 scheduled Indian languages, native scripts, ISO-639-1, and ISO-639-2 codes, see the Interactive Language Appendix →