Recognition language
Set the recognition language via language
.
- For
whisper
, this is required. - For
sommers
, this is optional. Supported languages:ko
(Korean),ja
(Japanese). If omitted, the default isko
.
Supported languages
Sommers model
- Supports Korean (
ko
) and Japanese (ja
). - If
language
is not set, it defaults toko
(Korean).
Whisper model
- ISO 639-1 two-letter codes. See the whisper list.
Language detection and multi-language (Whisper-only)
detect
: Detect a single language for the whole audio.multi
: Handle multiple languages mixed at sentence level.
language_candidates
option (Whisper-only)
Used with detect
or multi
to narrow candidates.
- Default: ["ko", "ja", "zh", "en"]
caution
language
is required forwhisper
.- For
sommers
,language
is optional (supportsko
,ja
; defaultko
). detect
/multi
andlanguage_candidates
are Whisper-only features (not supported bysommers
).- Too many candidates may reduce accuracy.
Examples
In the POST Request body, set language
(required for whisper). Optionally provide language_candidates
for detect
/multi
.
POST example: Example
Unified example (presets): Example