No description
|
||
---|---|---|
SAPIServer | ||
speech2 | ||
.clang-format | ||
.editorconfig | ||
.gitattributes | ||
.gitignore | ||
Justfile | ||
LICENSE.txt | ||
README.md | ||
SAPIServer.sln |
SAPIServer
Simple HTTP frontend API for Microsoft Speech API
Building
Requirements
- .NET SDK
- mingw-w64 toolchain built with
win32
thread model (pthread
won't work)
just
should do the trick.
Running
Usage: SAPIServer.exe <port>
API Usage
List voices
GET /api/voices
{"voices":["LH Michael","LH Michelle","Microsoft Sam"]}
Synthesize text
POST /api/synthesize
Content-Type: application/json
{"text":"Lorem ipsum doler sit amet...","voice":"Microsoft Sam"}
Returns synthesized TTS audio as a wave-form file.