BinerAI · Models · Docs · Pricing

victor-upmeet / whisperx

Accelerated transcription, word-level timestamps and diarization with whisperX large-v3

Run victor-upmeet/whisperx with the API

curl -s https://binerai.biner.dev/v1/predictions \
  -H "Authorization: Bearer $BINERAI_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"model":"victor-upmeet/whisperx","input":{"audio_file":"https://example.com/input.png"}}'

Then poll GET https://binerai.biner.dev/v1/predictions/:id or pass a webhook URL. Full reference: API docs.

Input

FieldTypeDescription
taskstring, default "transcribe"Task to perform on the audio file. Options are: transcribe, translate (English only)
debugboolean, default falsePrint out compute/inference times and memory usage information
languagestring, default nullISO code of the language spoken in the audio, specify None to perform language detection
vad_onsetnumber, default 0.5VAD onset
audio_filestringAudio file
batch_sizeinteger, default 64Parallelization of input audio transcription
user_agentstring, default nullOverride the User-Agent used to download the audio file. Useful when the host " "blocks the default value.
vad_offsetnumber, default 0.363VAD offset
diarizationboolean, default falseAssign speaker ID labels
temperaturenumber, default 0Temperature to use for sampling
align_outputboolean, default falseAligns whisper output to get accurate word-level timestamps
max_speakersinteger, default nullMaximum number of speakers if diarization is activated (leave blank if unknown)
min_speakersinteger, default nullMinimum number of speakers if diarization is activated (leave blank if unknown)
initial_promptstring, default nullOptional text to provide as a prompt for the first window
huggingface_access_tokenstring, default nullTo enable diarization, please enter your HuggingFace token (read). You need to accept " "the user agreement for the models specified in the README.
language_detection_min_probnumber, default 0If language is not specified, then the language will be detected recursively on different " "parts of the file until it reaches the given probability
language_detection_max_triesinteger, default 5If language is not specified, then the language will be detected following the logic of " "language_detection_min_prob parameter, but will stop after the given max retries. If max " "retries is reached, the most probable language is kept.

Examples

Example runs from Replicate.

  • Example input

Description via replicate.