Sarvam AI Language Identification API
Automatically detects the language and script of input text, returning BCP-47 language and script codes for routing to the appropriate Indic-language model.
Documentation
Documentation
https://docs.sarvam.ai/api-reference-docs/endpoints/text-lid
APIReference
https://docs.sarvam.ai/api-reference-docs/text/identify-language