nova-2

This documentation is valid for the following list of our models:

  • #g1_nova-2-automotive

  • #g1_nova-2-conversationalai

  • #g1_nova-2-drivethru

  • #g1_nova-2-finance

  • #g1_nova-2-general

  • #g1_nova-2-medical

  • #g1_nova-2-meeting

  • #g1_nova-2-phonecall

  • #g1_nova-2-video

  • #g1_nova-2-voicemail

Model Overview

Nova-2 builds on the advancements of Nova-1 with speech-specific optimizations to its Transformer architecture, refined data curation techniques, and a multi-stage training approach. These improvements result in a lower word error rate (WER) and better entity recognition (including proper nouns and alphanumeric sequences), as well as enhanced punctuation and capitalization.

Nova-2 offers the following model options:

  • automotive: Optimized for audio with automotive oriented vocabulary.

  • conversationalai: Optimized for use cases in which a human is talking to an automated bot, such as IVR, a voice assistant, or an automated kiosk.

  • drivethru: Optimized for audio sources from drivethrus.

  • finance: Optimized for multiple speakers with varying audio quality, such as might be found on a typical earnings call. Vocabulary is heavily finance oriented.

  • general: Optimized for everyday audio processing.

  • medical: Optimized for audio with medical oriented vocabulary.

  • meeting: Optimized for conference room settings, which include multiple speakers with a single microphone.

  • phonecall: Optimized for low-bandwidth audio phone calls.

  • video: Optimized for audio sourced from videos.

  • voicemail: Optimized for low-bandwidth audio clips with a single speaker. Derived from the phonecall model.

Setup your API Key

If you don’t have an API key for the AI/ML API yet, feel free to use our Quickstart guide.

API Schemas

Creating and sending a speech-to-text conversion task to the server

post
Body
modelstring · enumRequiredPossible values:
urlstring · uriOptional
custom_intentany ofOptional

A custom intent you want the model to detect within your input audio if present. Submit up to 100.

stringOptional
or
string[]Optional
custom_topicany ofOptional

A custom topic you want the model to detect within your input audio if present. Submit up to 100.

stringOptional
or
string[]Optional
custom_intent_modestring · enumOptional

Sets how the model will interpret strings submitted to the custom_intent param. When strict, the model will only return intents submitted using the custom_intent param. When extended, the model will return its own detected intents in addition those submitted using the custom_intents param.

Possible values:
custom_topic_modestring · enumOptional

Sets how the model will interpret strings submitted to the custom_topic param. When strict, the model will only return topics submitted using the custom_topic param. When extended, the model will return its own detected topics in addition to those submitted using the custom_topic param.

Possible values:
detect_languageboolean · nullableOptional

Enables language detection to identify the dominant language spoken in the submitted audio.

detect_entitiesboolean · nullableOptional

When Entity Detection is enabled, the Punctuation feature will be enabled by default.

detect_topicsboolean · nullableOptional

Detects the most important and relevant topics that are referenced in speech within the audio.

diarizeboolean · nullableOptional

Recognizes speaker changes. Each word in the transcript will be assigned a speaker number starting at 0.

dictationboolean · nullableOptional

Identifies and extracts key entities from content in submitted audio.

diarize_versionstringOptional
extrastringOptional

Arbitrary key-value pairs that are attached to the API response for usage in downstream processing.

filler_wordsboolean · nullableOptional

Filler Words can help transcribe interruptions in your audio, like “uh” and “um”.

intentsboolean · nullableOptional

Recognizes speaker intent throughout a transcript or text.

keywordsstringOptional

Keywords can boost or suppress specialized terminology and brands.

languagestringOptional

The BCP-47 language tag that hints at the primary spoken language. Depending on the Model and API endpoint you choose only certain languages are available

measurementsboolean · nullableOptional

Spoken measurements will be converted to their corresponding abbreviations

multi_channelboolean · nullableOptional

Transcribes each audio channel independently

numeralsboolean · nullableOptional

Numerals converts numbers from written format to numerical format

paragraphsboolean · nullableOptional

Splits audio into paragraphs to improve transcript readability

profanity_filterboolean · nullableOptional

Profanity Filter looks for recognized profanity and converts it to the nearest recognized non-profane word or removes it from the transcript completely

punctuateboolean · nullableOptional

Adds punctuation and capitalization to the transcript

searchstringOptional

Search for terms or phrases in submitted audio

sentimentboolean · nullableOptional

Recognizes the sentiment throughout a transcript or text

smart_formatboolean · nullableOptional

Applies formatting to transcript output. When set to true, additional formatting will be applied to transcripts to improve readability

summarizestringOptional

Summarizes content. For Listen API, supports string version option. For Read API, accepts boolean only.

tagstring[]Optional

Labels your requests for the purpose of identification during usage reporting

topicsboolean · nullableOptional

Detects topics throughout a transcript or text

utterancesboolean · nullableOptional

Segments speech into meaningful semantic units

utt_splitnumberOptional

Seconds to wait before detecting a pause between words in submitted audio

Responses
200Success
application/json
generation_idstringRequired
post
/v1/stt/create
200Success

Requesting the result of the task from the server using the generation_id

get
Path parameters
generation_idstringRequired
Responses
200Success
application/json
idstringRequired
statusstring · enumRequiredPossible values:
outputany ofRequired
or
or
get
/v1/stt/{generation_id}
200Success

Quick Code Examples

Let's use the #g1_nova-2-meeting model to transcribe the following audio fragment:

Example #1: Processing a Speech Audio File via URL

Response

Example #2: Processing a Speech Audio File via File Path

Response

Last updated

Was this helpful?