v2: initial commit — TTS proxy with STT fallback to whisper.cpp
- OpenAI-compatible API on localhost:9998 - TTS → RouterAI /v1/audio/speech (Google Gemini Flash) - STT → RouterAI → whisper.cpp fallback - Health endpoint, CORS, config from openclaw.json - systemd service unit
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
[Unit]
|
||||
Description=Roko Voice Proxy (RouterAI TTS/STT bridge)
|
||||
After=network-online.target
|
||||
Wants=network-online.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
ExecStart=/usr/bin/node /home/openclaw/.openclaw/routerai-voice-proxy.js
|
||||
Restart=always
|
||||
RestartSec=5
|
||||
Environment=NODE_ENV=production
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
Reference in New Issue
Block a user