Skip to content

[Feature Request] Add Fish Audio TTS provider to Windows Hub voice settings #1702

Open

Description

@j1mgit

[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 returns fish=0, vs piper=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 openclaw repo has the provider (extensions/fish-audio-speech and community plugin @conan-scott/openclaw-fish-audio); openclaw-windows-node has 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.

Activity

  1. added
    P3
    clawsweeper:needs-maintainer-review
    clawsweeper:needs-product-decision
    clawsweeper:no-new-fix-pr
    issue-rating: 🌊 off-meta tidepool
    on Oct 11, 2026
  2. clawsweeper commented on Oct 11, 2026

    @clawsweeper

    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

    • Question: Should Hub add a dedicated Fish Audio client or consume Gateway-provided speech audio?
    • Recommendation: Investigate Gateway delegation: Verify an authenticated synthesis and audio-delivery contract before scoping a generic Gateway provider that can reuse the reporter's existing plugin.
    • Why: Current Hub owns synthesis locally, while the reporter credits an existing Gateway plugin; no recorded decision establishes which integration the project wants to maintain.

    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:

    • Gateway delegation requires a verified audio-delivery contract that supports playback on this Windows device and defines disconnected behavior.
    • The reported Fish API result and temporary free-tier terms were not independently validated.

    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:

    • Verified current default branch: GitHub identifies main as the default branch; its tip matches the clean review checkout. (bff8c0bc71a3)
    • Provider selection remains local and finite: The dropdown offers Kokoro, Piper, Windows, ElevenLabs, and MiniMax; neither Fish Audio nor Gateway delegation is selectable. (src/OpenClaw.Tray.WinUI/Pages/VoiceSettingsPage.xaml:218, bff8c0bc71a3)
    • Synthesis implementation does not cover Fish: SpeakAsync dispatches the five supported providers and rejects unsupported explicit selections; adding a dropdown entry alone would not provide Fish synthesis. (src/OpenClaw.Tray.WinUI/Services/TextToSpeech/TextToSpeechService.cs:92, bff8c0bc71a3)
    • Chat uses the Windows-owned synthesis service: Chat constructs TtsSpeakArgs and invokes its node-owned or fallback TextToSpeechService, rather than consuming a Gateway speech catalog. (src/OpenClaw.Tray.WinUI/Chat/OpenClawChatCoordinator.cs:138, bff8c0bc71a3)
    • Existing contract and coverage: AllProviders enumerates the same five providers; existing capability tests cover readiness, fallback metadata, and sanitized errors rather than Fish playback. (tests/OpenClaw.Shared.Tests/CapabilityTests.cs:3627, bff8c0bc71a3)
    • Discussion and canonical search: The complete issue body and comments contain the reporter's Gateway/plugin and Malay synthesis claims, automated reviews, and a stale notice, without a human adoption decision. All-state searches for Fish, Gateway TTS, delegation, talk.catalog, and references to this issue found no PR implementing its central request.
    How this review workflow works
    • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
    • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
    • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
    • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
    • Maintainers can also comment @clawsweeper review to request a fresh review only.
    • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge; those execution lanes are retired.
    • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

    Reviewed October 25, 2026, 11:37 PM ET / October 26, 2026, 03:37 UTC.

  3. github-actions commented on Oct 26, 2026

    @github-actions
    Contributor

    This issue has been automatically marked as stale due to inactivity.
    Please add updated OpenClaw Windows details or it will be closed.

  4. added
    clawsweeper:intake:feature
    and removed
    clawsweeper:intake:feature
    on Oct 26, 2026
  5. github-actions commented on Nov 11, 2026

    @github-actions
    Contributor

    This issue has been automatically marked as stale due to inactivity.
    Please add updated OpenClaw Windows details or it will be closed.

  6. added
    clawsweeper:intake:feature
    on Nov 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3clawsweeper:intake:featureclawsweeper:needs-maintainer-reviewclawsweeper:needs-product-decisionclawsweeper:no-new-fix-prissue-rating: 🌊 off-meta tidepool

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions