mirror of
https://github.com/ollama/ollama.git
synced 2026-04-27 19:25:55 +02:00
15 lines
433 B
Markdown
15 lines
433 B
Markdown
# Whisper Prototype
|
|
|
|
### To run
|
|
`make {/path/to/whisper.cpp/server}`
|
|
|
|
### Update routes.go
|
|
- replace `whisperServer` with path to server
|
|
|
|
## api/generate
|
|
### Request fields
|
|
- "audio" (required): path to audio file
|
|
- "whisper_model" (required): path to whisper model
|
|
- "transcribe" (optional): if true, will transcribe and return the audio file
|
|
- "prompt" (optional): if not null, passed in with the transcribed audio
|