Files
whisper-remote/backend
space 9fd0e707f0
Some checks failed
CI / CLI (push) Has been cancelled
CI / Backend (push) Has been cancelled
Flatten package layout and add Gitea CI
2026-05-24 12:43:03 +02:00
..
2026-05-24 12:36:24 +02:00

whisper-remote-backend

FastAPI wrapper around the upstream whisper CLI from openai/whisper.

Package layout is flat in this folder: whisper_remote_backend/server.py.

Run

pip install -e .
uvicorn whisper_remote_backend.server:app --host 0.0.0.0 --port 8000

API

POST /transcriptions

Multipart form fields:

  • file: media file
  • model: Whisper model name
  • language: optional language code
  • output_format: txt, vtt, srt, tsv, or json

The response body is the transcript artifact itself. The backend deletes the uploaded file and generated output after each request.

Notes

  • The backend host must already have the upstream whisper command on PATH.
  • The included Gitea Actions workflow runs backend tests and package builds automatically.