Skip to content

[DOCS] Document desktop text-to-speech: settings toggle, transcript playback, voice samples library #656

Closed

Description

@edenreich

Summary

The desktop app now surfaces the CLI's TextToSpeech stack (inference-gateway/desktop#188, resolves inference-gateway/desktop#186), and none of it is documented yet. The existing TTS docs cover the CLI and gateway only (docs#592, docs#600, docs#626, docs#630); the desktop UI needs its own coverage:

  • Settings > General has a "Text to speech" toggle that writes text_to_speech.enabled to config.yaml and restarts the desktop-owned gateway with AUDIO_ENABLED=true and AUDIO_LOCAL_AUTO_DOWNLOAD=true when enabled.
  • WAV files generated by the TextToSpeech agent tool (default output dir ~/.infer/tts) render as inline audio players in the transcript. A custom text_to_speech.output_dir outside the asset scope degrades to a plain tool card.
  • Settings > Voice samples manages WAV reference recordings for voice cloning in ~/.infer/models/tts/samples/: upload via the native file picker (.wav only), preview, and delete.

Affected pages: the desktop app page(s) under the docs site; cross-link from the existing TextToSpeech tool documentation so CLI users know the desktop can manage samples.

Source: inference-gateway/desktop#188.

Acceptance Criteria

  • Desktop docs describe the text-to-speech toggle and that it takes effect via a gateway restart on save
  • Desktop docs describe inline transcript audio playback and the output-dir caveat
  • Desktop docs describe the Voice samples tab (location on disk, WAV-only, upload/preview/delete)
  • TextToSpeech tool docs cross-link the desktop voice samples library

Activity

  1. added
    documentation
    on Sep 4, 2026
  2. added theissue type on Sep 4, 2026
  3. moved this to Todo in 2026on Sep 4, 2026
  4. edenreich commented on Sep 4, 2026

    @edenreich
    ContributorAuthor

    @claude Can you document this? check all the relevancy from the actual project. use /ponytail:ponytail

  5. inference-gateway-maintainer commented on Sep 4, 2026

    @inference-gateway-maintainer
    Contributor

    Claude finished @edenreich's task in 3m 8s —— View job • docs/issue-656-20260904-1603 • Create PR ➔


    Documented desktop text-to-speech

    • Gather context - read desktop#188 (merged) diff, cli#1174, and the existing TTS pages
    • Settings > General text-to-speech toggle
    • Inline transcript audio playback + output-dir caveat
    • Settings > Voice samples tab
    • TextToSpeech tool docs cross-link
    • Validate (lint:md, format:check, build - all pass)
    • Commit + PR: docs: document desktop text-to-speech and voice samples #658

    What changed

    desktop.md

    • Settings table now lists the Voice samples section and the General TTS toggle.
    • New Text to speech section:
      • Enabling: off by default (tool absent from the model payload), writes text_to_speech.enabled to ~/.infer/config.yaml, restarts the gateway on change because AUDIO_ENABLED=true / AUDIO_LOCAL_AUTO_DOWNLOAD=true are read at spawn. Only enabled is written - engine, model, voice, output_dir pass through untouched.
      • Playback: waveform player (play/pause, seek, elapsed/total) plus hover download to ~/Downloads. Caveat documented: only ~/.infer/tts/** and ~/.infer/models/tts/samples/** are in the asset scope, so a custom output_dir degrades to a plain tool card.
      • Voice samples: ~/.infer/models/tts/samples/, non-recursive WAV-only listing, add via native picker (overwrites by base name), in-app mic recording (native sample rate, 30s auto-stop, <name>.wav, default my-voice), preview, single-click delete, and referencing samples by full file name.

    cli-text-to-speech.md

    • Corrected voice_sample: it is a bare file name resolved against the working directory then ~/.infer/models/tts/samples/ (cli#1174, infer v0.189.1+), not an arbitrary path - the old example ~/samples/narrator.wav no longer works.
    • New voice samples library subsection cross-linking the desktop tab, plus a Related link.

    Not covered: screenshots (none in the repo's desktop page today).

    | Branch

  6. moved this from Todo to In progress in 2026on Sep 4, 2026
  7. moved this from In progress to QA in 2026on Sep 4, 2026
  8. moved this from QA to Done in 2026on Sep 4, 2026
  9. inference-gateway-releaser commented on Sep 22, 2026

    @inference-gateway-releaser
    Contributor

    🎉 This issue has been resolved in version 0.9.14 🎉

    The release is available on GitHub release

    Your semantic-release bot 📦🚀

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

    documentationreleased

    Type

    Projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions