Files
vosk-datacleaner/vosk/vosk_service/README.md
2025-07-31 17:35:08 +03:30

511 B

Vosk Speech-to-Text Docker Service

Setup

  1. Download and extract a Vosk model (already downloading vosk-model-small-en-us-0.15.zip):
unzip model.zip -d model
mv model/* model/
  1. Build the Docker image:
docker build -t vosk-api .
  1. Run the Docker container (mounting the model directory):
docker run -p 5000:5000 -v $(pwd)/model:/app/model vosk-api

API Usage

POST /transcribe with form-data key audio (WAV/FLAC/OGG file). Returns JSON with transcription.