POST /v1/voice
Speech-to-text via Whisper. Local-only by default.
POST
/api/v1/voiceTranscribe an audio file. Accepts multipart upload.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
file | binary | yes | Audio file (wav, mp3, m4a, flac, ogg) |
language | string | no | ISO 639-1 code, e.g. en, nl. Auto-detect if omitted. |
Example
curl -X POST http://localhost:8765/api/v1/voice \
-F "file=@audio.wav" \
-F "language=en"
OpenAI-compatible variants exist for clients that expect them. POST /api/v1/audio/transcriptions takes the same multipart fields as OpenAI (file, model, language, prompt, response_format as json, text, verbose_json, srt or vtt, temperature) and uses the same local-first transcriber. POST /api/v1/embeddings takes input as a string or a list and is always computed on your own hardware.