--- title: "STT (Speech-to-Text)" slug: "ai-naver-clovaspeechrecognition-stt" updated: 2026-09-17T09:35:47Z published: 2026-09-17T09:35:47Z canonical: "api.ncloud-docs.com/ai-naver-clovaspeechrecognition-stt" --- > ## Documentation Index > Fetch the complete documentation index at: https://api.ncloud-docs.com/llms.txt > Use this file to discover all available pages before exploring further. # STT (Speech-to-Text) Available in Classic and VPC Accept speech data in MP3, AAC, AC3, OGG, FLAC, and WAV formats, as well as the language to be used for speech recognition, and convert the recognition results to text. ## Request The following describes the request format for the endpoint. The request format is as follows: | Method | URI | | --- | --- | | POST | /stt | ### Request headers For headers common to all CLOVA Speech Recognition (CSR) APIs, see [CLOVA Speech Recognition (CSR) request headers](/docs/en/ai-naver-clovaspeechrecognition#%EC%9A%94%EC%B2%AD%ED%97%A4%EB%8D%94). ### Request query parameters The following describes the request query parameters. | Field | Type | Required | Description | | --- | --- | --- | --- | | `lang` | String | Required | Language of the converted text - `Kor` \| `Eng` \| `Jpn` \| `Chn` - `Kor`: Korean - `Eng`: English - `Jpn`: Japanese - `Chn`: Chinese (Simplified) | ### Request body The following describes the request body. | Field | Type | Required | Description | | --- | --- | --- | --- | | Voice data to convert | Binary | Required | Binary voice data in MP3, AAC, AC3, OGG, FLAC, or WAV format - Playback time up to 60 seconds | ### Request example The following is a sample request. ``` curl --location --request POST 'https://naveropenapi.apigw.ntruss.com/recog/v1/stt ?lang=Kor' \ --header 'x-ncp-apigw-api-key-id: {Client ID issued when registering the app}' \ --header 'x-ncp-apigw-api-key: {Client secret issued when registering the app}' \ --header 'Content-Type: application/octet-stream' \ --data '@{file}' ``` ## Response The following describes the response format. ### Response body The following describes the response body. | Field | Type | Required | Description | | --- | --- | --- | --- | | `text` | String | - | Converted text from voice file | ### Response status codes For response status codes common to all CLOVA Speech Recognition (CSR) APIs, see [CLOVA Speech Recognition (CSR) response status codes](/docs/en/ai-naver-clovaspeechrecognition#%EC%9D%91%EB%8B%B5%EC%83%81%ED%83%9C%EC%BD%94%EB%93%9C). ### Response example The following is a sample example. ``` { "text": "Hello," } ```