Skip to main content

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 model must match a config name entry.
  • --log-level controls only the faster-whisper-server logger and defaults to warning.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

faster_whisper_server-0.0.1.tar.gz (8.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

faster_whisper_server-0.0.1-py3-none-any.whl (9.1 kB view details)

Uploaded Python 3

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

Hashes for faster_whisper_server-0.0.1.tar.gz
Algorithm Hash digest
SHA256 c6f5aa3c158c1a0bf6b06c5068348b6d9e42af278401e2f0fa3c0609836f03e9
MD5 d90342e8a2586c066d4c578b92f5db59
BLAKE2b-256 83065454a0c984f946adeb65c6713388dc23be35a7afc9e255c6ab60556eacdc

See more details on using hashes here.

Provenance

The following attestation bundles were made for faster_whisper_server-0.0.1.tar.gz:

Publisher: publish.yml on andyjjrt/faster-whisper-server

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file faster_whisper_server-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for faster_whisper_server-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2ea0a81492666a3c47ded2045867603f9d905415aa8ca7a940ad6b7e57f9ce55
MD5 6982478ae5c498ff437c93551ed814d8
BLAKE2b-256 4f893034cd61d429555f94bdb022ab1514df642ad3de2a3821d02e7b4428e092

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page