---
title: "Speech to Text (REST)"
method: POST
path: "/stt/v3"
tags: ["Speech-to-Text"]
---

# Speech to Text (REST)

`POST /stt/v3`

Convert speech audio to text using Vachana's state-of-the-art Speech-To-Text models.

## Features
- Supports 10 Indian languages with dedicated monolingual models
- Multilingual support for English and Hindi together
- Automatic audio format conversion

## Supported Languages
| Language | Code |
|----------|------|
| Bengali | `bn-IN` |
| English (India) | `en-IN` |
| Gujarati | `gu-IN` |
| Hindi | `hi-IN` |
| Kannada | `kn-IN` |
| Malayalam | `ml-IN` |
| Marathi | `mr-IN` |
| Punjabi | `pa-IN` |
| Tamil | `ta-IN` |
| Telugu | `te-IN` |

## Model Selection
- **Single language**: Uses the dedicated monolingual model for that language
- **Multiple languages**: Uses multilingual model (supports en-IN, hi-IN)

## Audio Constraints
- **Maximum duration**: 30 seconds (Ideal duration is 30 seconds)
- **Supported formats**: WAV, MP3, OGG, FLAC, AAC, M4A
- **Sample rate**: Automatically converted to 16000 Hz mono

## Response
Returns a JSON object containing:
- `success`: Operation status (boolean)
- `timestamp`: Request timestamp (format: YYYYMMDD_HHMMSS.mmm)
- `transcript`: The transcribed text

## Response `200`

Successful transcription

- STTResponse
  - `success` boolean — Indicates if the transcription was successful
  - `timestamp` string — Request timestamp in format YYYYMMDD_HHMMSS.mmm
  - `transcript` string — The transcribed text from the audio

## Other responses

- `400` — Bad Request
- `429` — Too Many Requests
- `500` — Internal Server Error
- `503` — Service Unavailable

---

[API](https://skmtc.net/gnani/apis/vachana-speech-to-text-api.md) · [All operations](https://skmtc.net/gnani/apis/vachana-speech-to-text-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/gnani/vachana-speech-to-text-api/revisions/d9f838824278/schema)
