Accent Detection (batch)
Returnsapplication/json.
There is no top-level duration field. Derive audio length from the last window if it is needed.
Try it
Response
Response
What you can configure
Audio formats
Accepted extensions:.aac, .aiff, .flac, .mov, .mp3, .mp4, .ogg, .opus, .wav, .webm.
Maximum file size is 100 MB. Empty files are rejected with 400.
Labels
American, British, Australian, Southern, Indian, Irish, Scottish, Eastern_European, African, Asian, Latin_American, Middle_Eastern, Unknown.
The same set is used by the accent_signal enrichment on Multilingual Transcription.
Working with the time series
Windows are consecutive and cover the file from the start. A trailing remainder shorter than one full window is dropped. A file shorter than a single window returns an emptytime_series, but accent is still present, so the whole-file label is safe to rely on at any length.
Results for a speaker with a consistent accent are typically stable across windows, and vary more on short or acoustically difficult segments.
Accent alongside a transcript
Multilingual Transcription acceptsaccent_signal=true, which attaches an accent label to every utterance from the same label set, in the same call as the transcript. Use that when a transcript is also needed. This endpoint exists for whole-file classification with no transcript. See Transcription.