VoxLingua107 Language ID

VOXLINGUA107_LANG_ID

Spoken language identification over 107 languages, Azerbaijani, Turkish, Russian, Kazakh and Uzbek among them; the most likely language of a recording with the probabilities of the top candidates.

Speech Recognitionspeech-recognitionlanguage-identificationmultilingualecapa-tdnnapache-2.0Fine-tunable
VoxLingua107 Language ID: Speech Recognition model on Kainguru

About VoxLingua107 Language ID

Capabilities

  • 107 languages — from Abkhazian to Chinese, including Azerbaijani, Turkish, Russian, Persian, Kazakh, Uzbek, Georgian and Armenian
  • Probabilities — the top candidates with their probabilities, so you can set your own confidence threshold
  • Routing — detect the language first, then send the recording to the right transcription model
  • Fine-tunable — train a classifier over your own labels, such as the languages or dialects of your callers, from labelled clips

Good to know

  • Audio is resampled to 16 kHz mono; a recording may be 0.5 to 60 seconds long. Under about 3 seconds the answer is less reliable.
  • Trained on VoxLingua107, speech collected from YouTube; strong accents, music and noise lower the accuracy.
  • Closely related languages, such as Russian and Belarusian, can be confused; the other candidates show how close the call was.
  • Language codes are written as the training data writes them: ISO 639-1, except ceb, haw, sco and war (ISO 639-3), and the older iw for Hebrew and jw for Javanese.
  • A fine-tuned model answers only with the labels it was trained on, with their probabilities.
  • Billed per second of audio sent.

VoxLingua107 Language ID inputs and output

NameTypeRequiredDefaultDetails
audiofileYes—A speech recording (WAV, MP3, FLAC, OGG, M4A, AAC or WebM) of 0.5 to 60 seconds and up to 50 MB, ideally one speaker in one language.
Max 2048 characters · audio/wav, mpeg, flac, ogg, mp4, aac, webm
top_kintegerNo5How many of the most likely languages to return with their probabilities.
1–107

Output. JSON: {"language": "az", "name": "Azerbaijani", "probability": 0.93, "candidates": [{"language", "name", "probability"}, ...]}, the top_k most likely languages with their codes (see Good to know); a fine-tuned model answers with its own labels.

Run VoxLingua107 Language ID with the API

Send your API key in the X-API-Key header. The run is asynchronous: submit it, then poll it until it finishes. Create an API key.

cURL
curl -X POST "https://api.kainguru.com/api/v1/executions?mlFlowId=VOXLINGUA107_LANG_ID" \
  -H "X-API-Key: kg_your_api_key" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "audio": "https://example.com/input.png",
    "top_k": 5
  },
  "outputFormat": "json"
}'

# Poll until the execution reaches a terminal state
curl "https://api.kainguru.com/api/v1/executions/{executionId}" \
  -H "X-API-Key: kg_your_api_key"
Python
from kainguru import KainguruClient

with KainguruClient(api_key="kg_your_api_key", base_url="https://api.kainguru.com/api") as client:
    submitted = client.executions.execute(
        "VOXLINGUA107_LANG_ID",
        {
          "audio": "https://example.com/input.png",
          "top_k": 5
        },
        output_format="json",
    )
    result = client.executions.await_completion(submitted.id)
    print(result.execution.output)

Fine-tune VoxLingua107 Language ID

You can fine-tune VoxLingua107 Language ID on your own data and run the tuned model through the same API. Dataset: 4 to 2000 {file, text} items: a clip of speech in one language (1 to 30 seconds, up to 50 MB) and its label, such as az (up to 32 characters); 2 to 200 different labels.

The steps are in the docs.

VoxLingua107 Language ID pricing

Price per second: 0.006555 credits ($0.00006555). The price is shown again before every run; all prices are on the pricing page.

Licence and source

Granite Speech 4.1 2B Plus: Speech Recognition model on Kainguru
Speech Recognition

Granite Speech 4.1 2B Plus

Speech-to-text in English, French, German, Spanish and Portuguese that can also label who is speaking and time every…

Fine-tunable
Granite Speech 4.1 2B: Speech Recognition model on Kainguru
Speech Recognition

Granite Speech 4.1 2B

Speech-to-text with punctuation and capitalization in English, French, German, Spanish, Portuguese and Japanese, and…

Fine-tunable
MOSS Transcribe Diarize: Speech Recognition model on Kainguru
Speech Recognition

MOSS Transcribe Diarize

Transcription with speaker labels and timestamps for meetings, calls and podcasts of up to 60 minutes in one pass, in…

Fine-tunable
OmniASR CTC 1B: Speech Recognition model on Kainguru
Speech Recognition

OmniASR CTC 1B

Speech-to-text in 1,600+ languages, Azerbaijani, Turkish, Russian, Kazakh and Uzbek among them, by a 1B-parameter CTC…

Fine-tunable
Qwen3 ASR 1.7B: Speech Recognition model on Kainguru
Speech Recognition

Qwen3 ASR 1.7B

Speech-to-text in 30 languages with automatic language detection, for recordings up to an hour, speech over music and…

Fine-tunable
Qwen3 Forced Aligner 0.6B: Speech Recognition model on Kainguru
Speech Recognition

Qwen3 Forced Aligner 0.6B

Word-level timestamps for a recording and its transcript: the start and end of every word, for up to 5 minutes of…

Fine-tunable