v2

latestOpenAPI 3.1.02026-07-2628105122.0 KB
speechToText

Speech to Text

Speech to Text API

This API transcribes speech to text in multiple Indian languages and English. Supports transcription for interactive applications.

Available Options:

  • REST API (Current Endpoint): For quick responses under 30 seconds with immediate results
  • Batch API: For longer audio files, Follow This Documentation
    • Supports diarization (speaker identification)

Note:

  • Pricing differs for REST and Batch APIs
  • Diarization is only available in Batch API with separate pricing
  • Please refer to here for detailed pricing information
post/speech-to-text

Headers

api-subscription-keystring required

Response

Successful Response

request_idstring nullable required
transcriptstring required

The transcribed text from the provided audio file.

language_codestring nullable required

This will return the BCP-47 code of language spoken in the input. If multiple languages are detected, this will return language code of most predominant spoken language. If no language is detected, this will be null

language_probabilitynumber double nullable

Float value (0.0 to 1.0) indicating the probability of the detected language being correct. Higher values indicate higher confidence.

When it returns a value:

  • When language_code is not provided in the request
  • When language_code is set to unknown

When it returns null:

  • When a specific language_code is provided (language detection is skipped)

The parameter is always present in the response.

All 28 operations