ASR / TTS plugins
ASR / TTS / Source share plugin-kit infrastructure; business interfaces differ by capability.
- Layout:
storage/plugins/{asr|tts}/<dir>/plugin.json+ ESM entry - Enable / config / rescan hot load
- Built-ins registered in code; externals scanned locally
- Admin API + Settings UI
Directories
text
storage/plugins/
source/
asr/
tts/API
| Method | Path | Notes |
|---|---|---|
| GET | /api/asr-plugins | List |
| POST | /api/asr-plugins/rescan | Rescan |
| PATCH | /api/asr-plugins/:id | { "enabled": true/false } |
| POST | /api/asr-plugins/:id/reset | Restore defaultEnabled |
| PUT | /api/asr-plugins/:id/config | Save params |
| POST | /api/asr-plugins/:id/config/reset | Clear params |
For TTS, use /api/tts-plugins prefix.
TTS development
Full contract: TTS plugin development.
Examples:
examples/tts-plugin-echoexamples/tts-plugin-fishspeech— Fish Audio cloud or self-hosted Fish Speech
