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"