CLOVA Speech Recognition(CSR) Overview
    • PDF

    CLOVA Speech Recognition(CSR) Overview

    • PDF

    Article Summary

    We are preparing a localization service for the content. We will do our best to provide the localization service as soon as possible.

    The CLOVA Speech Recognition (CSR) API helps you create services such as a secretary application, chatbot and voice memo, which need to recognize and interpret human speech. The API delivers the speech data to the CSR engine, which then recognizes and converts it into text.

    Common information

    You can get a Client ID by registering your application in NAVER Cloud Platform Console.

    1. Go to AI·NAVER API > AI·NAVER API > Application in your web console and register an application. Learn how to register >

    2. Check your Client ID and Client Secret by selecting the application registered in AI·NAVER API > AI·NAVER API > Application.

    3. Click [Edit] of the application to make sure that CLOVA Speech Recognition is selected. If it is not selected, a 429 error (Quota Exceed) occurs.

    How to make an API request

    The CSR API is a REST API that transmits speech data to recognize to the speech recognition server over HTTP communications. The REST API’s URI provided by the speech recognition server is shown below. You should use the POST method to make an API request.

    API URL

    MethodRequest URI
    POSThttps://naveropenapi.apigw.ntruss.com/recog/v1/stt

    Request Header

    HeaderDescription
    X-NCP-APIGW-API-KEY-IDClient ID issued when registering an app
    X-NCP-APIGW-API-KEY-ID:{Client ID}
    X-NCP-APIGW-API-KEYClient Secret issued when registering an app
    X-NCP-APIGW-API-KEY:{Client Secret}
    Content-TypeSet this to application/octet-stream.
    Content-Type: application/octet-stream

    Error Codes

    {
      "error": {
        "errorCode": "300",
        "message": "Not Found Exception"
      }
    }
    

    Common errors

    HTTP status codeError codeError messageDescription
    400100Bad Request ExceptionRequest error in protocol (https) or encoding (UTF-8).
    401200Authentication FailedAuthentication failed.
    401210Permission DeniedAuthentication failed.
    404300Not Found ExceptionAuthentication failed.
    429400Quota ExceededQuota exceeded.
    429410Throttle LimitedRate exceeded.
    429420Rate LimitedRate exceeded.
    413430Request Entity Too LargeContent-length exceeded (10 MB).
    503500Endpoint ErrorEnd point connection error
    504510Endpoint TimeoutEnd point connection timeout
    500900Unexpected ErrorUnexpected error

    API errors

    HTTP status codeError codeError messageDescription
    413STT000Request Entity Too LargeSpeech data volume exceeded (up to 3 MB).
    413STT001Exceed Sound Data lengthSpeech data length exceeded (60 sec.).
    400STT002Invalid Content TypeThe content-type is not application/octet-stream.
    400STT003Empty Sound DataNo speech data entered.
    400STT004Empty LanguageNo language parameter entered.
    400STT005Invalid LanguageInvalid language specified.
    500STT006Failed to pre-processingError occurred while pre-processing speech recognition. Check if speech data is a valid WAV, MP3, or FLAC file.
    500STT998Failed to STTError occurred during speech recognition. Contact us and we will take action as soon as possible.
    500STT999Internal Server ErrorUnknown error occurred. Contact us and we will take action as soon as possible.

    Was this article helpful?

    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.