victor-upmeet / whisperx
Accelerated transcription, word-level timestamps and diarization with whisperX large-v3
- Price: $0.0004 per second of GPU time, billed from prepaid credit. Failed runs are free.
- License: BSD-3-Clause
- Source: https://github.com/victor-upmeet/whisperx-replicate
- Collection: Transcribe audio
- Status: available now
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
| Field | Type | Description |
|---|---|---|
task | string, default "transcribe" | Task to perform on the audio file. Options are: transcribe, translate (English only) |
debug | boolean, default false | Print out compute/inference times and memory usage information |
language | string, default null | ISO code of the language spoken in the audio, specify None to perform language detection |
vad_onset | number, default 0.5 | VAD onset |
audio_file | string | Audio file |
batch_size | integer, default 64 | Parallelization of input audio transcription |
user_agent | string, default null | Override the User-Agent used to download the audio file. Useful when the host " "blocks the default value. |
vad_offset | number, default 0.363 | VAD offset |
diarization | boolean, default false | Assign speaker ID labels |
temperature | number, default 0 | Temperature to use for sampling |
align_output | boolean, default false | Aligns whisper output to get accurate word-level timestamps |
max_speakers | integer, default null | Maximum number of speakers if diarization is activated (leave blank if unknown) |
min_speakers | integer, default null | Minimum number of speakers if diarization is activated (leave blank if unknown) |
initial_prompt | string, default null | Optional text to provide as a prompt for the first window |
huggingface_access_token | string, default null | To 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_prob | number, default 0 | If 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_tries | integer, default 5 | If 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.