Language detection for transcripts

Audio language detection runs by default with language set to auto. For AI transcription, each segment reports its own language. Use these labels to work with mixed-language audio, or pass a language hint.

  • language defaults to auto
  • A language on every segment
  • Pass any ISO 639-1 code as a hint

Use automatic detection or supply a language hint

Automatic by default
With language set to auto, AI transcription identifies the language for you.
Per-segment languages
Each segment has its own language field, so mixed-language audio is labeled where it changes.
A dominant language
The transcription object reports the dominant language in language once it is known.
Hints when you know better
Pass a two-letter ISO 639-1 code such as en, de or es to steer AI transcription.
Caption language choice
For YouTube captions, language selects the caption track. With auto, transcript1 picks the video's original language.

Use automatic language detection

Omit language or set it to auto. This is the default for every source. See the language option documentation for its different roles in caption selection and speech-to-text.

Automatic detection is a useful starting point when a queue contains recordings from different speakers or sources. It avoids forcing one language across an entire collection. For an individual recording whose language you know, a two-letter hint can provide more useful guidance than relying on a very short or ambiguous introduction.

Detection depends on the audio available to the transcription process. A clip dominated by music, silence or a brief borrowed phrase gives less evidence than a clear conversation. Review the resulting words as well as the language field; a plausible language label does not guarantee every word is correct.

Audio upload with automatic language detection
curl -X POST "https://api.transcript1.com/v1/transcriptions?wait=60" \
  -H "Authorization: Bearer $TRANSCRIPT1_API_KEY" \
  -F [email protected] \
  -F language=auto

Per-segment language for multilingual transcription

The top-level language is the dominant language. Each segment reports its own language, so you can see where the recording switches languages. The API object reference shows where these fields appear.

Use the top-level field for a broad label on the job and the segment fields when routing individual passages. For example, a bilingual interview can contain an introduction in one language and answers in another. Filtering all segments by the dominant language would discard part of that interview.

The following response is an illustration of per-segment language labels. It does not mean a language change will always occur at a clean sentence boundary. Code-switching within a sentence, names and technical terms may require human review. Preserve the original segment text when preparing a reviewed or translated version elsewhere.

Response (shortened)
{
  "status": "completed",
  "transcript_source": "speech_to_text",
  "language": "en",
  "transcript": {
    "segments": [
      { "start": 0, "end": 3.4, "speaker": null, "language": "en", "text": "Good morning." },
      { "start": 3.4, "end": 7.9, "speaker": null, "language": "de", "text": "Guten Morgen." }
    ]
  }
}

Pass a language when you know it

Use a two-letter ISO 639-1 code. For a file upload, language is a form field in the multipart upload request.

For speech-to-text, the code is a recognition hint. For YouTube captions, it selects the desired caption language instead. In auto mode, caption selection follows the original video language, and automatically translated caption tracks are excluded. Keep those two meanings in mind when a pipeline accepts both uploads and YouTube links.

Requesting en does not ask transcript1 to translate a Spanish recording into English. The service produces a transcription, not a translated document. If translation is the next step in your application, keep it as a separate operation with its own review and retain the original transcript for comparison.

cURL
curl -X POST "https://api.transcript1.com/v1/transcriptions?wait=60" \
  -H "Authorization: Bearer $TRANSCRIPT1_API_KEY" \
  -F [email protected] \
  -F language=de

Review multilingual output before routing it

If your application routes transcripts to language-specific editors or search indexes, keep both the job-level language and segment labels. The dominant language is useful for an overview, but it can hide a substantial answer in another language. Route or index the relevant passages rather than discarding everything that differs from the top-level value.

For an interview that switches languages, review the transition and the surrounding sentences. A name, quotation or borrowed term does not necessarily mean the speaker has changed language for an entire passage. Avoid turning machine labels into confident claims about the speaker’s fluency, background or identity.

When a result looks wrong, listen to the source before changing request parameters. Confirm the recording contains clear speech in the expected language and that you did not select a different soundtrack. If you decide to create a new job with a hint, preserve the earlier result for comparison. Changing processing options can create a new paid transcription; it is different from reading an existing export.

TaskUseful approach
Mixed-language research interviewReview segment languages and preserve the original words beside any later translation.
Short narrated ReelCheck that music or a brief introduction did not obscure the speech you need.
YouTube caption retrievalChoose a matching track language; auto-translated tracks are excluded.

Start with 60 free minutes

60 free minutes after you verify your email. No card required.

Get your API key

Frequently asked questions

Something missing? Ask support

How do I set the language?

Send language in the request: auto, the default, or a two-letter ISO 639-1 code such as en, de or es.

Can I transcribe multiple languages in one recording?

Yes. With AI transcription each segment carries its own language, and the transcription reports the dominant one.

How does language work for YouTube captions?

It selects the caption track. With auto, transcript1 uses the video's original language. Auto-translated tracks are never used.