Speech-to-Text Rest API
Synchronous Processing
Process short audio files with immediate response. Best for quick transcriptions and testing with a maximum duration of 30 seconds.
Saaras: State-of-the-Art Speech Recognition (Recommended)
Saaras is our state-of-the-art speech recognition family with flexible output formats. It supports multiple modes for different use cases: transcribe, translate, verbatim, transliterate, and codemix.
Recommended for new integrations. Saaras v4 is the default, recommended model, adding Global English support and keyterm prompting. Saaras v3 remains available. Both accept the same request shape, so switching is a one-line change. Learn more about Saaras.
Output Modes
Code Examples
Saaras v3
Saaras v4
Still available. Supports all five output modes across 22 Indian languages plus Indian English.
Check out our detailed API Reference to explore all available options.
Preparing Your Audio
Most failed STT requests are caused by the audio itself, not the API call. Run through this checklist before uploading:
Not sure whether to use REST, Batch, or Streaming? See the Which API to Use decision table for a side-by-side comparison of limits, latency, and features.
Need Saaras v4 to recognize specific names, places, brands, or technical terms? Pass a keyterms list to bias recognition. See Keyterm Prompting.
Legacy Model (Deprecated Soon)
The following model will be deprecated soon. We recommend migrating to Saaras v3 for new integrations.
Saaras v2.5: Speech to Text Translation
Saaras v2.5 is available in the Speech-to-Text Translate endpoint for translating speech directly to English.
Deprecation Notice: Saaras v2.5 will be deprecated soon. Use Saaras v3 with mode="translate" instead. See the code examples above.
API Response Format
Speech to Text Transcription Response
Speech to Text Translation Response
Supported source languages: hi-IN, bn-IN, kn-IN, ml-IN, mr-IN, od-IN, pa-IN, ta-IN, te-IN, gu-IN, en-IN
Error Responses
All errors return a JSON object with an error field (message, code, request_id). The full error-code table, retry guidance, and SDK exception reference live on the central Errors & Troubleshooting page.
Errors specific to this endpoint:
Error Handling Code Example
Next Steps
Need help? Contact us on discord for guidance.