Skip to main content

Speech-to-Text

This API endpoint transcribes audio into text. The audio must be base64-encoded.

Header Parameters
    Content-Type string

    The content type should be application/json

    Example: application/json
    User-Agent string

    Specifies the user agent string.

    Example: iOS
    x-client string

    Specifies the client name

    Example: jiocoupons
    Authorization string required

    API key for authorization

Request Body
    audio object
    content string

    Base64-encoded audio content.

    config object
    encoding string

    The encoding format of the audio.

    language string
    • The language of the audio content.
      • Supported languages: [ "English", "Hindi", "Gujarati", "Marathi", "Telugu", "Bengali", "Kannada", "Malayalam", "Tamil", "Spanish", "German", "Italian", "French", "Urdu", "Punjabi", "Assamese", "Oriya", "Arabic", "Simplified Chinese", "Traditional Chinese", "Bahasa", "Dutch", "Korean", "Malay", "Polish", "Portuguese", "Russian", "Tagalog", "Thai", "Turkish", "Vietnamese" ]
    sampleRateHertz integer

    The sample rate in Hertz of the audio content.

    platform string

    Possible values: [jiotranslate, google, azure]

    Platform used for translation

    duration integer

    The duration of the audio in seconds.

Responses

Success


Schema
    status string

    Status of response of the API

    recognized_text string

    The translated text from the audio.

Loading...