RepositoryPythonDEGermany
ahmetoner

ahmetoner/whisper-asr-webservice

OpenAI Whisper ASR Webservice API

3.4kstars
581forks
29issues
6views

Featured achievements

The project's latest awards

2
TINIX TRENDING·Topic: openai-whisper

#2 Repository of the week

1
TINIX TRENDING·Topic: openai-whisper

#1 Repository of the week

3
TINIX TRENDING·Topic: speech-recognition

#3 Repository of the week

Release Docker Pulls Build Licence

🚀 Try Speech Box Desktop App | Offline, multi-language desktop transcriptions: https://speechbox.gumroad.com/l/desktop-app

Whisper ASR Box

Whisper ASR Box is a general-purpose speech recognition toolkit. Whisper Models are trained on a large dataset of diverse audio and is also a multitask model that can perform multilingual speech recognition as well as speech translation and language identification.

🎉 Join our Discord Community! Connect with other users, get help, and stay updated on the latest features: https://discord.gg/4Q5YVrePzZ

Features

Current release (v1.9.1) supports following whisper models:

Quick Usage

CPU

docker run -d -p 9000:9000 \
  -e ASR_MODEL=base \
  -e ASR_ENGINE=openai_whisper \
  onerahmet/openai-whisper-asr-webservice:latest

GPU

docker run -d --gpus all -p 9000:9000 \
  -e ASR_MODEL=base \
  -e ASR_ENGINE=openai_whisper \
  onerahmet/openai-whisper-asr-webservice:latest-gpu

Cache

To reduce container startup time by avoiding repeated downloads, you can persist the cache directory:

docker run -d -p 9000:9000 \
  -v $PWD/cache:/root/.cache/ \
  onerahmet/openai-whisper-asr-webservice:latest

Key Features

  • Multiple ASR engines support (OpenAI Whisper, Faster Whisper, WhisperX)
  • Multiple output formats (text, JSON, VTT, SRT, TSV)
  • Word-level timestamps support
  • Voice activity detection (VAD) filtering
  • Speaker diarization (with WhisperX)
  • FFmpeg integration for broad audio/video format support
  • GPU acceleration support
  • Configurable model loading/unloading
  • REST API with Swagger documentation

Environment Variables

Key configuration options:

  • ASR_ENGINE: Engine selection (openai_whisper, faster_whisper, whisperx)
  • ASR_MODEL: Model selection (tiny, base, small, medium, large-v3, etc.)
  • ASR_MODEL_PATH: Custom path to store/load models
  • ASR_DEVICE: Device selection (cuda, cpu)
  • MODEL_IDLE_TIMEOUT: Timeout for model unloading

Documentation

For complete documentation, visit: https://ahmetoner.github.io/whisper-asr-webservice

Development

# Install poetry v2.X
pip3 install poetry

# Install dependencies for cpu
poetry install --extras cpu

# Install dependencies for cuda
poetry install --extras cuda

# Run service
poetry run whisper-asr-webservice --host 0.0.0.0 --port 9000

After starting the service, visit http://localhost:9000 or http://0.0.0.0:9000 in your browser to access the Swagger UI documentation and try out the API endpoints.

Credits

  • This software uses libraries from the FFmpeg project under the LGPLv2.1

Similar Projects

Discover other similar projects and AI models.

Modelautomatic-speech-recognition
nvidia/nemotron-3.5-asr-streaming-0.6b

Nemotron 3.5 ASR h1, h2, h3, h4, h5, h6 { color: 76b900; / NVIDIA green / font-weight: 700; } hr { border: none; border-top: 1px solid e5e7eb; margin: 2rem 0; } / Improve list spacing / ul, ol { margin-top: 0.5rem; margin-bottom: 0.5rem; } / Badge a...

♥0
391.0k
Sep 10, 2026
RepositoryPython
m-bain/whisperX

WhisperX: Automatic Speech Recognition with Word-level Timestamps (& Diarization)

26.4k
Nov 21, 2026
Modelautomatic-speech-recognition
microsoft/VibeVoice-ASR

VibeVoice-ASR !GitHub(https://img.shields.io/badge/GitHub-Repo-black?logo=github)(https://github.com/microsoft/VibeVoice) !Live Playground(https://img.shields.io/badge/Live-Playground-green?logo=gradio)(https://aka.ms/vibevoice-asr) !Technical Repor...

♥0
681.7k
Jan 27, 2026
RepositoryJupyter Notebook
MahmoudAshraf97/whisper-diarization

Automatic Speech Recognition with Speaker Diarization based on OpenAI Whisper

5.7k
Aug 15, 2026
Modelautomatic-speech-recognition
argmaxinc/whisperkit-coreml

WhisperKit Repo WhisperKit is part of Argmax OSS, an On-device Speech AI SDK for Apple Silicon: https://github.com/argmaxinc/argmax-oss-swift Paper Check out the WhisperKit paper and presentation from ICML 2025: https://icml.cc/virtual/2025/47854 Pr...

♥0
109.1M
Aug 19, 2026
Modelautomatic-speech-recognition
pyannote/speaker-diarization-3.1

Using this open-source model in production? Consider switching to pyannoteAI(https://www.pyannote.ai) for better and faster options. 🎹 Speaker diarization 3.1 This pipeline is the same as pyannote/speaker-diarization-3.0(https://hf.co/pyannote/speak...

♥0
5.7M
May 10, 2024
Modelautomatic-speech-recognition
pyannote/speaker-diarization-community-1

community-1 speaker diarization This pipeline ingests mono audio sampled at 16kHz and outputs speaker diarization. - stereo or multi-channel audio files are automatically downmixed to mono by averaging the channels. - audio files sampled at a differ...

♥0
4.8M
Sep 29, 2025
RepositoryPython
modelscope/FunASR

Open-source speech recognition toolkit for training, inference, streaming ASR, VAD, punctuation, speaker diarization pipelines, and OpenAI-compatible/MCP serving.

21.2k
Nov 27, 2026
RepositoryPython
QuentinFuxa/WhisperLiveKit

Real-time, local speech-to-text with streaming ASR, speaker diarization, translation, and OpenAI/Deepgram-compatible APIs.

11.3k
Nov 23, 2026