Voltar ao ranking

ahmetoner/whisper-asr-webservice

Pythonahmetoner.github.io/whisper-asr-webservice

OpenAI Whisper ASR Webservice API

automatic-speech-recognitionspeech-recognitionspeech-to-textopenai-whisperdockerasrspeech
Crescimento de estrelas
Estrelas
3.3k
Forks
580
Crescimento semanal
Issues
91
1k2k3k
set. de 2022dez. de 2023abr. de 2025jul. de 2026
ArtefatosPyPIpip install whisper-asr-webservice
README

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
Repositórios relacionados
wenet-e2e/wenet

Production First and Production Ready End-to-End Speech Recognition Toolkit

PythonPyPIApache License 2.0e2e-modelspytorch
wenet-e2e.github.io/wenet/
5.2k1.2k
zzw922cn/awesome-speech-recognition-speech-synthesis-papers

Automatic Speech Recognition (ASR), Speaker Verification, Speech Synthesis, Text-to-Speech (TTS), Language Modelling, Singing Voice Synthesis (SVS), Voice Conversion (VC)

MIT Licenseautomatic-speech-recognitionpapers
3.1k515
zzw922cn/Automatic_Speech_Recognition

End-to-end Automatic Speech Recognition for Madarian and English in Tensorflow

PythonPyPIMIT Licenseautomatic-speech-recognitiontensorflow
2.8k536
coqui-ai/STT

🐸STT - The deep learning toolkit for Speech-to-Text. Training and deploying STT models has never been so easy.

C++Mozilla Public License 2.0sttspeech-to-text
coqui.ai
2.6k299
FluidInference/FluidAudio

Frontier CoreML audio models in your apps — text-to-speech, speech-to-text, voice activity detection, and speaker diarization. In Swift, powered by SOTA open source.

SwiftApache License 2.0coremlios
docs.fluidinference.com/introduction
2.5k352
TEN-framework/ten-vad

Voice Activity Detector (VAD) : low-latency, high-performance and lightweight

COtherconversational-aireal-time
huggingface.co/TEN-framework/ten-vad
2.2k174
FireRedTeam/FireRedASR

Open-source industrial-grade ASR models supporting Mandarin, Chinese dialects and English, achieving a new SOTA on public Mandarin ASR benchmarks, while also offering outstanding singing lyrics recognition capability.

PythonPyPIApache License 2.0asrindustrial-grade
1.9k164
AutoArk/GPA

[AutoArk] GPA (General Purpose Audio) can do ASR, TTS and voice conversion with one tiny model!

PythonPyPIApache License 2.0automatic-speech-recognitiontext-to-speech
autoark.github.io/GPA/
1.4k119
kakaobrain/pororo

PORORO: Platform Of neuRal mOdels for natuRal language prOcessing

PythonPyPIApache License 2.0deep-learningnatural-language-processing
kakaobrain.github.io/pororo
1.3k217
TensorSpeech/TensorFlowASR

:zap: TensorFlowASR: Almost State-of-the-art Automatic Speech Recognition in Tensorflow 2. Supported languages that can use characters or subwords

PythonPyPIApache License 2.0automatic-speech-recognitiondeepspeech2
huylenguyen.com/asr
1k239