Skip to navigation

Seed ASR 2.0

Seed ASR 2.0
ByteDance · Transcription
POST /v1/audio/transcriptions

Speech-to-text in 67 languages and Chinese dialects, with automatic language detection, speaker labels, word timestamps, hotwords and conversation context, for audio and video files of up to 5 hours.

See Seed ASR 2.0 pricing and specs or try it in the Playground.

At a glance

FieldValue
Model idseed-asr-2-0
Model release date-
Input modalitiesAudio
Output modalitiesText
Context window-
Weight precision-
RegionMalaysia
Featurestranscription, speech_to_text, multilingual, word_timestamps, hotwords, srt_vtt, diarization
Native inferenceNo
NewYes
Supported endpointsPOST /v1/audio/transcriptions
Alternate model idsseed-asr-2.0, bytedance/seed-asr-2.0, bytedance/seed-asr-2-0

Pricing

ChargeSpecRate
Transcriptionper hour of audio$0.24

Example request

curl https://api.empiriolabs.ai/v1/audio/transcriptions \
-H "Authorization: Bearer $EMPIRIOLABS_API_KEY" \
-F model=seed-asr-2-0 \
-F file=@meeting.mp3

Parameters

ParameterTypeRequiredDefaultDescription
filestringyes-The audio or video file to transcribe, as a multipart upload: WAV, MP3, M4A, AAC, OGG, Opus, FLAC, WebM, AMR or MP4, up to 200 MB and 5 hours. Or send audio_url.
audio_urlstringno-Public https URL of the file to transcribe, instead of file.
languageenumno"auto"Language spoken. auto detects it per segment; setting it is most accurate, especially for Nepali, Kannada, Tamil, Telugu, Sindhi, Icelandic and Uzbek. zh also reads English and Chinese dialects. · Allowed: auto, en, zh, yue, ja, ko, es, pt, de, fr, it, nl, ru, uk, pl, tr, ar, he, fa, hi, bn, ur, pa, mr, ta, te, kn, ml, ne, sd, ps, id, ms, fil, ceb, jv, th, vi, km, my, kk, uz, az, ku, el, ro, bg, cs, sk, sl, hr, sr, hu, fi, et, lv, lt, da, sv, no, is, ga, sq, ca, af, sw, ha, zu
response_formatenumno"json"json returns the text; verbose_json adds the language, segments and words; diarized_json returns the segments with their speakers; text, srt and vtt return plain text. · Allowed: json, text, srt, verbose_json, vtt, diarized_json
timestamp_granularitiesarrayno-With verbose_json: segment, word or both. segment is the default. · Allowed: segment, word
diarizebooleannofalseLabel each segment with its speaker: 1, 2 and so on. Best with up to 10 speakers.
channel_splitbooleannofalseTranscribe the two channels of a stereo file separately; each segment names its channel, 1 for left and 2 for right.
vad_segmentationbooleannofalseEnd segments at pauses instead of at sentence ends. Use it with diarize and channel_split for cleaner turns.
end_window_sizeintegerno800With vad_segmentation: the pause in milliseconds that ends a segment, 300 to 5000. · Range: 300 – 5000
promptstringno-Text that helps recognition, up to 4,000 characters: names, terms, or what was said just before. · Max: 4000
hotwordsarrayno-Up to 5,000 words or names to recognize as written, each up to 100 characters. · Max: 5000
contextarrayno-Up to 20 earlier turns of the conversation, most recent first, each a string or an object with text (up to 1,000 characters) and an optional speaker, for example user or assistant. Counted with prompt toward the 20. · Max: 20
itnbooleannotrueWrite numbers, dates and amounts as digits and symbols, for example 20% for twenty percent.
punctuationbooleannotrueAdd punctuation.
disfluency_removalbooleannofalseRemove filler words and repetitions such as um, uh and repeated words. Chinese and English.
traditional_chineseenumno"off"Write Chinese in Traditional characters: traditional, tw (Taiwan) or hk (Hong Kong). off keeps Simplified. · Allowed: off, traditional, tw, hk
sensitive_words_filterobjectno-Hide words in the text: an object with filter_with_empty (words to remove), filter_with_signed (words to replace with *), system_reserved_filter (true also replaces a built-in list of restricted words with *) and wrap_with_marks (true wraps each filtered word in backticks).
show_speech_ratebooleannofalseAdd each segment’s speech rate, in tokens per second.
show_volumebooleannofalseAdd each segment’s volume, in dB.

Notes

Input

  • An audio or video file as a multipart file (WAV, MP3, M4A, AAC, OGG, Opus, FLAC, WebM, AMR or MP4), up to 200 MB and 5 hours, or a public https audio_url.
  • language defaults to auto, which detects the language of each segment. Setting it is the most accurate, especially for Nepali, Kannada, Tamil, Telugu, Sindhi, Icelandic and Uzbek, and for speech that changes language. 67 languages; zh also reads English and Chinese dialects.
  • prompt, hotwords and context (earlier turns of the conversation) help recognize names and terms in every language.

Output

  • response_format: json (default), text, srt, vtt, verbose_json (the language, segments and, with timestamp_granularities, words) or diarized_json (segments with their speakers).
  • diarize labels each segment with its speaker, best with up to 10 speakers. channel_split transcribes the two channels of a stereo file separately. vad_segmentation ends segments at pauses of end_window_size milliseconds.
  • itn and punctuation (both on), disfluency_removal and traditional_chinese shape the text; sensitive_words_filter removes or masks words; show_speech_rate and show_volume add each segment’s rate and volume.
  • Works with the OpenAI SDK’s audio.transcriptions.create. A long file can answer with a job: poll GET /v1/jobs/{job_id} for the transcript.

Billing

  • 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.

Machine-readable schema: GET https://api.empiriolabs.ai/v1/models/seed-asr-2-0.