Whisper.cpp Server

/inference (同步示例)

    curl 127.0.0.1:7860/inference \
    -H "Content-Type: multipart/form-data" \
    -F file="@<file-path>" \
    -F temperature="0.0" \
    -F temperature_inc="0.2" \
    -F response_format="json"
        

/load

    curl 127.0.0.1:7860/load \
    -H "Content-Type: multipart/form-data" \
    -F model="<path-to-model-file>"
        

同步 Try it out

异步示例(可运行)

Task

(no task)

Result / Status