Home Blog

How to Use the Seed ASR 2.0 API

Seed ASR 2.0 API blog cover

Nov 28, 2026

EmpirioLabs AI

Disclosure: This article was written with AI assistance and reviewed by EmpirioLabs AI.

Seed ASR 2.0 is available on EmpirioLabs. It is ByteDance's speech recognition model: it transcribes audio and video files in 67 languages and Chinese dialects, detects the language of each segment, labels speakers, and returns word timestamps, subtitles or plain text. It answers on POST /v1/audio/transcriptions, so the OpenAI SDK works with it as it is.

Try it in the Playground, read the parameters in the docs, and see the current rate on the Seed ASR 2.0 model page.

Your first transcription

Send a file with the OpenAI SDK. verbose_json adds the segments and words, and diarize labels each segment with its speaker:

import os
from openai import OpenAI

client = OpenAI(base_url="https://api.empiriolabs.ai/v1", api_key=os.environ["EMPIRIOLABS_API_KEY"])

with open("interview.mp3", "rb") as audio:
    result = client.audio.transcriptions.create(
        model="seed-asr-2-0",
        file=audio,
        response_format="verbose_json",
        timestamp_granularities=["segment", "word"],
        extra_body={"diarize": True, "hotwords": ["EmpirioLabs"]},
    )

print(f"{result.duration:.1f} s, {len(result.words)} words")
for segment in result.segments[:4]:
    print(f"speaker {segment.speaker}: {segment.text}")

On a two-person recording it printed 14.9 s, 46 words, then the first segments with their speakers: speaker 1: Hi, Mark., speaker 2: Yes, I did. and so on.

What to send

  • Files: WAV, MP3, M4A, AAC, OGG, Opus, FLAC, WebM, AMR or MP4 video, up to 200 MB and 5 hours, as a multipart file, or a public https audio_url.
  • language defaults to auto, which detects the language of each segment. Setting it is the most accurate, and it matters most for speech that changes language.
  • hotwords, prompt and context help the model spell names and terms it would not know, such as product names, in every language.

What comes back

  • response_format: json, text, srt, vtt, verbose_json or diarized_json.
  • diarize labels speakers; with vad_segmentation on, segments end at pauses, which keeps each speaker's turns apart. channel_split transcribes the two channels of a stereo call separately.
  • itn writes numbers as digits (on by default), disfluency_removal drops filler words, traditional_chinese writes Traditional characters, and show_speech_rate and show_volume add each segment's rate and loudness.

Watch the launch film

The film shows the real request on the Seed ASR 2.0 model page and what the model offers through the EmpirioLabs API. Watch it on YouTube.

Operational notes

  • Billed per second of audio, rounded up to the whole second, at the hourly rate. A file with no speech returns empty text and is billed for its length.
  • A long file can answer with a job. Poll GET /v1/jobs/{job_id} for the transcript.
  • Live audio: for a microphone or a call, use Seed ASR 2.0 Stream over a WebSocket.

Ready to use better endpoints?

Explore our models, or contact us about business inquiries, custom deployments, or anything else.