Identifies the language (e.g., en-IN, hi-IN) and script (e.g., Latin, Devanagari) of the input text, supporting multiple languages.
Your unique subscription key for authenticating requests to the Sarvam AI APIs. Here are the steps to get your api key
The text input for language and script identification.
Successful Response
The detected language code of the input text.
Available languages:
en-IN: Englishhi-IN: Hindibn-IN: Bengaligu-IN: Gujaratikn-IN: Kannadaml-IN: Malayalammr-IN: Marathiod-IN: Odiapa-IN: Punjabita-IN: Tamilte-IN: TeluguThe detected script code of the input text.
Available scripts:
Latn: Latin (Romanized script)Deva: Devanagari (Hindi, Marathi)Beng: BengaliGujr: GujaratiKnda: KannadaMlym: MalayalamOrya: OdiaGuru: GurmukhiTaml: TamilTelu: Telugu