POST /v1/voice
Speech-to-text via Whisper. Lokaal-only by default.
POST
/api/v1/voiceTranscribeer een audiobestand. Accepteert multipart upload.
Parameters
| Naam | Type | Verplicht | Beschrijving |
|---|---|---|---|
file | binary | yes | Audiobestand (wav, mp3, m4a, flac, ogg) |
language | string | no | ISO 639-1 code, bijv. en, nl. Auto-detect als weggelaten. |
Voorbeeld
curl -X POST http://localhost:8765/api/v1/voice \
-F "file=@audio.wav" \
-F "language=nl"
Er zijn OpenAI-compatibele varianten voor clients die daarop rekenen. POST /api/v1/audio/transcriptions neemt dezelfde multipart-velden als OpenAI (file, model, language, prompt, response_format als json, text, verbose_json, srt of vtt, temperature) en gebruikt dezelfde lokaal-eerst transcriber. POST /api/v1/embeddings neemt input als string of lijst en wordt altijd op je eigen hardware berekend.