Languages
Parameter transcribes 15 languages, 19 locales in all. Each request is transcribed in
one language, which you name with language. Leave it off and the audio is transcribed
as en-US.
| Language | language |
|---|---|
| English (US) | en-US |
| English (UK) | en-GB |
| Spanish (US) | es-US |
| Spanish (Spain) | es-ES |
| French (France) | fr-FR |
| French (Canada) | fr-CA |
| Portuguese (Brazil) | pt-BR |
| Portuguese (Portugal) | pt-PT |
| Italian | it-IT |
| Dutch | nl-NL |
| German | de-DE |
| Turkish | tr-TR |
| Russian | ru-RU |
| Arabic | ar-AR |
| Hindi | hi-IN |
| Japanese | ja-JP |
| Korean | ko-KR |
| Vietnamese | vi-VN |
| Ukrainian | uk-UA |
A bare language code works too (hi, de), and so does another region of a supported
language (en-IN, es-MX): each maps to the first matching locale in the table, so pt
is pt-BR and en-IN is en-US. Name the exact locale when the variant matters.
wss://api.parameterlabs.ai/v1/stream?tier=standard&language=hi-INOne language per request
Section titled “One language per request”The language is not detected from the audio. A stream or a file is transcribed in the language it names, from start to finish, so name the one being spoken. To change language, open a new connection.
Streams confirm the language straight after ready:
{ "type": "language", "languages": ["hi-IN"] }Anything else
Section titled “Anything else”A language outside the table is refused before any audio is processed or billed:
{ "error": { "type": "invalid_language", "message": "Unsupported language 'ta-IN'. Supported: en-US, en-GB, ...", "supported_languages": ["en-US", "en-GB", "..."] }}