Skip to main content

Dictate โ€” From audio file

POST 

https://us.api.nabla.com/v1/core/server/dictate

Generate a dictation from an audio file. Only audio/* mime types are supported. The maximum duration is 10 minutes. If you have longer files, please use the asynchronous equivalent.

Requestโ€‹

Bodyrequired

    request_parameters objectrequired

    The object containing all the information needed along with the audio file for which you want dictation.

    speech_localespeech_locale (string)required

    Possible values: [ENGLISH_US, ENGLISH_UK, SPANISH_ES, SPANISH_MX, FRENCH_FR, ARABIC_EG, ARABIC_LB, ARABIC_MA, ARABIC_SA, ARMENIAN_AM, BENGALI_IN, CANTONESE_CN, CROATIAN_HR, FILIPINO_PH, GERMAN_DE, GREEK_GR, GUJARATI_IN, HEBREW_IL, HINDI_IN, ITALIAN_IT, JAPANESE_JP, KHMER_KH, KOREAN_KR, MANDARIN_CN, PERSIAN_IR, POLISH_PL, PORTUGUESE_PT, PUNJABI_IN, RUSSIAN_RU, SERBIAN_RS, TAMIL_IN, TELUGU_IN, THAI_TH, URDU_IN, VIETNAMESE_VN]

    Example: ENGLISH_US
    dictate_punctuationbooleanrequired

    When enabled, the speaker dictating would explicitly dictate the punctuation. For instance, when the dictating provider says:

    The patient inquired quotation mark is this an allergy question mark close quotation mark displaying significant distress.

    the transcription would output:

    The patient inquired "is this an allergy?" displaying significant distress..

    filebinaryrequired

Responsesโ€‹

Results of processing the audio file.

Schema
    dictationstringrequired

Authorization: http

name: bearertype: httpscheme: bearer
curl -L -X POST 'https://us.api.nabla.com/v1/core/server/dictate' \
-H 'Content-Type: multipart/form-data' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <token>'
Request Collapse all
Base URL
https://us.api.nabla.com/v1/core/server
Auth
Body required
required
required
file
ResponseClear

Click the Send API Request button above and see the response here!