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
Request
- Base URLhttps://api.sarvam.ai
- Authnone declared. Required headers: api-subscription-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
api-subscription-keystring required
Request body multipart/form-data
Response
Successful Response
Changes
No recorded changes to this operation across all 2 revisions of this API.