Skip to content

Repository files navigation

Voice Transcription Proxy

OpenAI-compatible transcription service powered by LFM2.5-Audio-1.5B (Liquid AI).

Uses the official liquid-audio Python package with PyTorch for native GPU inference — no llama.cpp needed.

Endpoints

EndpointProtocolDescription
POST /v1/audio/transcriptionsHTTPWhisper-compatible file upload
POST /v1/audio/transcriptions + stream=trueHTTP SSEStreaming transcription
ws:///v1/realtime?intent=transcriptionWebSocketOpenAI Realtime API with server VAD
GET /healthHTTPHealth + GPU status

Run locally

uv sync
uv run python transcription_proxy.py --port 8091

Docker

docker build -t voice .
docker run --gpus all -p 8091:8091 voice
# With persistent model cache
docker run --gpus all -p 8091:8091 -v voice-cache:/cache voice

Kubernetes

containers:
- name: voiceimage: ghcr.io/anthaathi/voice-transcription-proxy:latestports:
- containerPort: 8091resources:
limits:
nvidia.com/gpu: 1volumeMounts:
- name: cachemountPath: /cache

Architecture

┌─────────────────────────────────────────┐
│ Single process (FastAPI + liquid-audio) │
│ │
│ Model loaded on GPU at startup │
│ ├─ POST /v1/audio/transcriptions │
│ ├─ WebSocket /v1/realtime (webrtcvad) │
│ └─ ASR via LFM2AudioModel │
└─────────────────────────────────────────┘

Model is auto-downloaded from HuggingFace on first start. Mount /cache volume to persist across restarts.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages