domain

This field identifies your use case type and set of the terminology defined for transcription. e.g. for general audio is ‘generic’. Refer to Supporting Domain to see the available domains.

For Example:

curl --location --request POST 'https://revapi.reverieinc.com/upload' \
--header 'src_lang: hi' \
--header 'domain: generic' \
--header 'REV-API-KEY: <YOUR API KEY>' \
--header 'REV-APPNAME: stt_file' \
--header 'REV-APP-ID: <YOUR API-ID>' \
--form 'file=@"<File Path>"'

format

The audio sampling rate and the data format of the speech. Refer to Supporting Audio Formats to know the supporting audio formats. By default, the format = 16k_int16. (WAV, Signed 16 bit, 16,000 or 16K Hz).

For Example:

curl --location --request POST 'https://revapi.reverieinc.com/upload' \
--header 'src_lang: hi' \
--header 'domain: generic' \
--header 'REV-API-KEY: <YOUR API KEY>' \
--header 'REV-APPNAME: stt_file' \
--header 'REV-APP-ID: <YOUR API-ID>' \
--header 'format: 16k_int16' \
--form 'file=@"<File Path>"'

logging

Possible Values are:

  1. true - stores audio and keep transcripts in logs.

  2. no_audio - does not store audios but keep transcripts in logs.

  3. no_transcript - does not keep transcripts in logs but stores audios.

  4. false - does not keep neither audios nor transcripts in log.

Default value is true

For Example:

curl --location --request POST 'https://revapi.reverieinc.com/upload' \
--header 'src_lang: hi' \
--header 'domain: bfsi' \
--header 'REV-API-KEY: <YOUR API KEY>' \
--header 'REV-APPNAME: stt_file' \
--header 'REV-APP-ID: <YOUR API-ID>' \
--header 'format: wav' \
--header 'logging: true'
--form 'file=@"<File Path>"'

punctuate

It will enable punctuation and capitalisation in the transcript. The values it can take are true and false. Supported languages are: en, hi. Default value is true

For Example:

curl --location --request POST 'https://revapi.reverieinc.com/upload' \
--header 'src_lang: hi' \
--header 'domain: bfsi' \
--header 'REV-API-KEY: <YOUR API KEY>' \
--header 'REV-APPNAME: stt_file' \
--header 'REV-APP-ID: <YOUR API-ID>' \
--header 'format: wav' \
--header 'punctuate: true'
--form 'file=@"<File Path>"'