OpenAI-compatible FastAPI server for faster-whisper.
Project description
Faster-Whisper-Server
Overview
FastAPI server for OpenAI-compatible audio transcription and translation using faster-whisper. Supports single-model or multi-model hosting.
Install
uv pip install -e .
Run (single model)
faster-whisper-server small --reload
Run (multi-model config)
faster-whisper-server --config /path/to/config.yaml --reload
Example config:
models:
- name: whisper-1
path: small
transcribe_options:
beam_size: 5
vad_filter: true
- name: large-fast
path: /models/large-v3
translate_options:
temperature: 0.2
API usage
Transcription:
curl -X POST "http://localhost:8000/v1/audio/transcriptions" \
-F "file=@/path/to/audio.wav" \
-F "model=whisper-1" \
-F "response_format=json"
Translation:
curl -X POST "http://localhost:8000/v1/audio/translations" \
-F "file=@/path/to/audio.wav" \
-F "model=whisper-1" \
-F "response_format=json"
Health check:
curl "http://localhost:8000/health"
Notes
- When running with a config file, the request
modelmust match a confignameentry. --log-levelcontrols only thefaster-whisper-serverlogger and defaults towarning.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file faster_whisper_server-0.0.1.tar.gz.
File metadata
- Download URL: faster_whisper_server-0.0.1.tar.gz
- Upload date:
- Size: 8.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c6f5aa3c158c1a0bf6b06c5068348b6d9e42af278401e2f0fa3c0609836f03e9
|
|
| MD5 |
d90342e8a2586c066d4c578b92f5db59
|
|
| BLAKE2b-256 |
83065454a0c984f946adeb65c6713388dc23be35a7afc9e255c6ab60556eacdc
|
Provenance
The following attestation bundles were made for faster_whisper_server-0.0.1.tar.gz:
Publisher:
publish.yml on andyjjrt/faster-whisper-server
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
faster_whisper_server-0.0.1.tar.gz -
Subject digest:
c6f5aa3c158c1a0bf6b06c5068348b6d9e42af278401e2f0fa3c0609836f03e9 - Sigstore transparency entry: 927292194
- Sigstore integration time:
-
Permalink:
andyjjrt/faster-whisper-server@8770cc2ce055e5859467f4aede3d8301c95b6b32 -
Branch / Tag:
refs/tags/v0.0.1 - Owner: https://github.com/andyjjrt
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@8770cc2ce055e5859467f4aede3d8301c95b6b32 -
Trigger Event:
push
-
Statement type:
File details
Details for the file faster_whisper_server-0.0.1-py3-none-any.whl.
File metadata
- Download URL: faster_whisper_server-0.0.1-py3-none-any.whl
- Upload date:
- Size: 9.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2ea0a81492666a3c47ded2045867603f9d905415aa8ca7a940ad6b7e57f9ce55
|
|
| MD5 |
6982478ae5c498ff437c93551ed814d8
|
|
| BLAKE2b-256 |
4f893034cd61d429555f94bdb022ab1514df642ad3de2a3821d02e7b4428e092
|
Provenance
The following attestation bundles were made for faster_whisper_server-0.0.1-py3-none-any.whl:
Publisher:
publish.yml on andyjjrt/faster-whisper-server
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
faster_whisper_server-0.0.1-py3-none-any.whl -
Subject digest:
2ea0a81492666a3c47ded2045867603f9d905415aa8ca7a940ad6b7e57f9ce55 - Sigstore transparency entry: 927292196
- Sigstore integration time:
-
Permalink:
andyjjrt/faster-whisper-server@8770cc2ce055e5859467f4aede3d8301c95b6b32 -
Branch / Tag:
refs/tags/v0.0.1 - Owner: https://github.com/andyjjrt
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@8770cc2ce055e5859467f4aede3d8301c95b6b32 -
Trigger Event:
push
-
Statement type: