Repository navigation
20261028
Since 20261027
Speech, end to end. Setup and measurements are in the README; the client contract is in docs/media-api.md.
- Speech recognition:
/v1/audio/transcriptionsand/v1/audio/translationson whisper.cpp'swhisper-server(Vulkan). Language detected when not given, browser WebM/Ogg and phone M4A through ffmpeg, turbo models refused for translation. Indonesian FLEURS: large-v3 with beam 5 matches whisperX's 7.0% word errors at 13× realtime on the GPU. - Live transcription:
/v1/realtime, OpenAI's Realtime transcription session over WebSocket (beta and GA spellings): PCM at any rate or telephone G.711, pause detection or push-to-talk, words while speaking, final text 0.3–0.7 s after the pause. - Who said what:
response_format=diarized_json, OpenAI's speaker-labelled transcript, using an audio.cpp speaker-separation model (Nemotron 3 Diarization, up to eight speakers). - Text to speech:
/v1/audio/speechon audio.cpp (VoxCPM2, OmniVoice, and any other family it runs), OpenAI's formats and SSE streaming; first streamed audio after about 0.15 s. - Voice library:
/v1/audio/voicesand a Voices tab in the web UI — upload a recording with a consent note, transcript written automatically, usable by every speech model and the voice changer. - Voice changer:
/v1/audio/voice-changerWebSocket, live conversion into a library voice (MeanVC2), about 0.11 s behind the speaker. - Live work first: requests marked
X-Hemera-Priority: backgroundwait while a live session runs, so a long subtitle job pauses for a call. - New model kinds
transcription,speech,voice-changeranddiarizationin/v1/modelsand Ollama's capabilities. - The web UI's model form keeps settings it does not show when saving.
- The jar's manifest opens
jdk.httpserverfor the WebSocket endpoints; start hemera withjava -jaras before.