Repository navigation
Description
[Feature Request] Add Fish Audio TTS provider to Windows Hub voice settings
Summary
Please add Fish Audio as a TTS provider option in Windows Hub's voice/settings UI, alongside the current local providers (Windows SAPI, ElevenLabs, MiniMax, Piper).
Motivation
Fish Audio runs a genuinely free API tier that is materially better than the alternatives for hobbyist/personal-assistant use:
s2.1-pro-free— the same state-of-the-art S2.1 Pro model as the paid tier, no hard usage cap (Fair Use Policy only), 83 languages including Malay. Free access is documented through 2026-11-30 (https://fish.audio/blog/s2-1-pro-free-api/).- ElevenLabs' free tier is effectively a trial (10k credits/month); OpenAI and Gemini TTS have no free tier at all.
- Fish has a large public voice library plus voice cloning from a reference clip — useful for personalized assistant voices.
On the Gateway side this is already well-supported: talk.catalog reports fish-audio as configured: true (via the speech-provider plugin), so the Gateway can already synthesize with Fish today. Only the Hub app's own local voice dropdown is missing it.
Current state (verified 2026-10-11, Hub v2026.9.8.0)
- Hub binaries (
OpenClaw.Tray.WinUI.dll,OpenClaw.Shared.dll,OpenClawTray.FunctionalUI.dll,OpenClaw.Connection.dll) contain zero references to Fish: keyword scan returnsfish=0, vspiper=23–33,minimax=13–14,elevenlabs=10. - App settings (
%APPDATA%\OpenClawTray\settings.json) carry keys only for the existing four providers (TtsWindowsVoiceId,TtsElevenLabs*,TtsMiniMax*,TtsPiper*). - The upstream
openclawrepo has the provider (extensions/fish-audio-speech and community plugin @conan-scott/openclaw-fish-audio);openclaw-windows-nodehas none.
Suggested implementation
Follow the existing per-provider settings convention. Suggested keys (naming aligned with current schema):
{
"TtsProvider": "fish-audio",
"TtsFishApiKey": "<dpapi-protected>", // from https://fish.audio/app/api-keys/
"TtsFishVoiceId": "<reference-id>", // Fish voice model id; clone or public library
"TtsFishModel": "s2.1-pro-free", // s2.1-pro-free | s2-pro | s1
"TtsFishLatency": "balanced" // normal | balanced | low
}API contract (verified working today against https://api.fish.audio/v1/tts):
POST /v1/tts HTTP/1.1
Authorization: Bearer <api-key>
Content-Type: application/json
model: s2.1-pro-free <-- NOTE: model is an HTTP HEADER, not a body field
{ "text": "...", "reference_id": "<voice-id>", "format": "mp3", "latency": "balanced" }Response is raw audio bytes (mp3/opus). One authenticated probe today: 200 OK, ~72 KB MP3 for a short Malay sentence, ~3.4 s round-trip through the OpenClaw pipeline. Without the model header the API falls back to a paid model and returns 402 Insufficient API credit — worth inheriting in a comment so future maintainers don't lose an afternoon to it.
Reference implementation of the request/response handling already exists in the Gateway plugin (openclaw/extensions/fish-audio-speech/tts.ts + community @conan-scott/openclaw-fish-audio), including voice listing (GET /model?type=tts&self=true), latency/format handling and error mapping (401 key, 402 credit).
Alternative / bigger win: Gateway-provided voice
Independent of adding a per-provider client, Hub could offer a "Gateway (delegated)" voice option that routes talk.speak/tts.speak through the connected Gateway's active speech provider. Because the Hub already declares Talk capability and talk.catalog advertises every Gateway-provider's readiness, that single option would give Hub users access to every Gateway TTS provider (Fish, ElevenLabs, Google, Microsoft, OpenAI, …) with no per-provider Windows code, and it stays in sync automatically. Per-provider local settings could remain for the offline/local-only case.
Use case
Malaysian user running a personal-assistant setup (voice replies + voice notes) who wants natural-sounding Malay output at zero recurring cost. Fish's free tier covers this today; ElevenLabs/MiniMax would require paid credits or accept noticeably worse prosody for ms-MY.
Happy to test a build and provide probe scripts — the direct-API verification script used for the evidence above is at C:\Users\User\.openclaw\workspace\scripts\fish-header-test.cjs if a reference helps.
Metadata
Metadata
Assignees
Labels
Type
Fields
Priority
Projects
- StatusShow more project fieldsBacklog
Activity
clawsweeper commentedon Oct 11, 2026
ClawSweeper status: review started.
Codex review: this still needs some work.
Summary
Keep this issue open for a product decision: current main still lacks Fish Audio playback, and repository policy permits automatic closure only for implemented requests.
Reproducibility: Source confirms the requested capability is absent across settings, provider enumeration, dispatch, and chat callers; no live Fish synthesis or Hub walkthrough was performed.
Maintainer decision needed
Next step
Choose the synthesis owner and verify Gateway audio delivery before scoping Fish playback in Hub.
Review details
Best possible solution:
Provide Fish playback through an approved synthesis owner while preserving explicit provider selection and existing offline fallback.
Do we have a high-confidence way to reproduce the issue?
Source confirms the requested capability is absent across settings, provider enumeration, dispatch, and chat callers; no live Fish synthesis or Hub walkthrough was performed.
Is this the best way to solve the issue?
A dedicated client fits current patterns, but Gateway delegation may avoid duplicate provider maintenance if its audio-delivery contract can support Windows playback.
AGENTS.md: found and applied where relevant.
Remaining risk / open question:
Codex review notes: model internal, reasoning medium; reviewed against bff8c0bc71a3.
Label changes
Label changes:
No label changes.
Label justifications:
P3: This is an optional speech-provider enhancement with a concrete Malay-language use case and no demonstrated failure of an existing supported provider.Evidence reviewed
What I checked:
src/OpenClaw.Tray.WinUI/Pages/VoiceSettingsPage.xaml:218, bff8c0bc71a3)src/OpenClaw.Tray.WinUI/Services/TextToSpeech/TextToSpeechService.cs:92, bff8c0bc71a3)src/OpenClaw.Tray.WinUI/Chat/OpenClawChatCoordinator.cs:138, bff8c0bc71a3)tests/OpenClaw.Shared.Tests/CapabilityTests.cs:3627, bff8c0bc71a3)How this review workflow works
@clawsweeper re-reviewcomments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.@clawsweeper re-reviewor@clawsweeper re-runon an open PR or issue to request a fresh review only.@clawsweeper reviewto request a fresh review only.@clawsweeper explainto ask for more context, or@clawsweeper stopto stop active automation.Reviewed October 25, 2026, 11:37 PM ET / October 26, 2026, 03:37 UTC.
github-actions commentedon Oct 26, 2026
This issue has been automatically marked as stale due to inactivity.
Please add updated OpenClaw Windows details or it will be closed.
github-actions commentedon Nov 11, 2026
This issue has been automatically marked as stale due to inactivity.
Please add updated OpenClaw Windows details or it will be closed.