Repository navigation
Labels
Description
Summary
Text to speech changed across four repositories. The docs site still describes a CLI with a speech engine of its own and voice samples in ~/.infer/models/tts/samples.
What changed:
- CLI -
TextToSpeechalways calls the gateway'sPOST /v1/audio/speech.text_to_speech.modelis aprovider/modelid,local/qwen3-ttsby default.engineis deprecated and ignored with a warning in the log.binary_path,models_dir,ffmpeg_path,timeoutand thebase,q8andbf16presets are gone. The voice sample is sent as it is, with no ffmpeg step and no 30 second cap, up to the gateway's 10 MiB body limit. (feat(tts): route all speech through the gateway cli#1818) - Voice samples - the library moved to
~/.infer/voice/samples. Existing samples move once withmkdir -p ~/.infer/voice && mv ~/.infer/models/tts/samples ~/.infer/voice/samples. (feat(tts): keep voice samples in ~/.infer/voice/samples cli#1819, feat(voice-samples): keep voice samples in ~/.infer/voice/samples desktop#557) - Workspaces - a workspace entry in
daemon.yamlcan setforward_voice_samples: true, and every teleport to it carries the library along - top-level.wavfiles only, up to 64 MiB. (feat(teleport): carry the voice samples to workspaces that opt in cli#1820) - Workspace gateway - when a workspace's
envsetsINFER_TEXT_TO_SPEECH_ENABLED,INFER_TEXT_TO_MUSIC_ENABLEDorINFER_TEXT_TO_SFX_ENABLEDtotrue, the gateway it shares getsspec.audio.enabled: trueand a 16Gi memory limit. Needs operator v0.37.0 - an older operator drops the field and audio stays off. (feat(workspaces): turn the workspace gateway's Audio API on cli#1821) - Operator - the
GatewayCRD hasspec.audio.enabled(defaultfalse), which setsAUDIO_ENABLED=trueon the gateway container.kubectl get gatewaysshows it in anAUDIOcolumn. (feat(gateway): add spec.audio to turn the Audio API on operator#343, v0.37.0) - Gateway - a
local/qwen3-ttssynthesis keeps its response open up toAUDIO_LOCAL_TIMEOUT, even pastSERVER_WRITE_TIMEOUT. Before, a synthesis over 30 seconds lost its response. (fix(audio): keep the response open while a local synthesis runs inference-gateway#846, v0.63.5) - Desktop - the workspace form has a fourth switch, Text to speech. It writes
INFER_TEXT_TO_SPEECH_ENABLED=true,INFER_TEXT_TO_SPEECH_MODEL=local/qwen3-ttsandINFER_TEXT_TO_SPEECH_REQUIRE_APPROVAL=falseto the workspace's Environment and setsforward_voice_samples: true. The local cluster installs operator v0.37.0. (feat(workspaces): add a text to speech switch to a workspace desktop#555, feat(workspaces): speak through the workspace's gateway in the user's own voice desktop#558)
Pages to change:
cli-text-to-speech.md- rewrite to the CLI's owndocs/text-to-speech.md. Drop the two-engine intro, thellama-tts/ffmpegprerequisites, the models table and the local-engine troubleshooting rows. The configuration table losesengine,binary_path,models_dir,timeoutandffmpeg_pathand gains a "removed local engine" note for old configs.voice_sampleresolves against the working directory, then~/.infer/voice/samples/. Add a "Sessions on a workspace" section forforward_voice_samples.cli.md- the workspaces section: addforward_voice_samplesto the keys a workspace on compute keeps and to the table of what reaches the pod, and say when the workspace's gateway serves its Audio API, with the operator version it needs.operator.md- addaudio.enabledto theGatewayfield table, theAUDIOcolumn to thekubectl get gatewaysoutput, and an "Audio (spec.audio)" section next to Guardrails. Say that the local engine needs memory - see the sizing below - and that the 1.4 GB of models live in the pod's ephemeral storage and download again after the pod restarts.desktop.md- "What a workspace computer can do" becomes four switches with a Text to speech row, and "these three switches" becomes four. "Voice samples" and the output-dir caveat name~/.infer/voice/samples/and give the one-offmv. "Enabling text to speech" stops namingengineas a key that passes through.api-reference.md- in "Local speech engine (local/qwen3-tts)", add that the response stays open up toAUDIO_LOCAL_TIMEOUT, and a sizing note.
Sizing, measured on an arm64 CPU node with gateway latest and one cloned sentence: about 10 seconds a sentence with no CPU limit and about 20 seconds at 2 CPUs. About 6 GiB of memory for one synthesis, 11.5 GiB for two at once (AUDIO_LOCAL_MAX_CONCURRENCY defaults to 2). A 4Gi limit was OOM-killed.
Acceptance Criteria
-
cli-text-to-speech.mdhas no local engine section, names the model asprovider/modeland resolves samples in~/.infer/voice/samples/ -
cli.mddocumentsforward_voice_samplesand when a workspace's gateway serves its Audio API -
operator.mdlistsspec.audio, shows theAUDIOcolumn and states the memory the local engine needs -
desktop.mddescribes the Text to speech workspace switch and the new samples directory with the one-off move -
api-reference.mdsays a local synthesis outlivesSERVER_WRITE_TIMEOUTand how much memory it needs
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsDone
Activity
edenreich commentedon Nov 12, 2026
@claude can you document this? use /ponytail:ponytail
inference-gateway-maintainer commentedon Nov 12, 2026
Claude finished @edenreich's task in 5m 33s —— View job •
docs/issue-1200-20261112-2032• [Create PR ➔](https://github.com/inference-gateway/docs/compare/main...docs/issue-1200-20261112-2032?quick_pull=1&title=Issue%20%231200%3A%20Changes%20from%20Claude&body=This%20PR%20addresses%20issue%20%231200%0A%0AGenerated%20with%20%5BClaude%20Code%5D(https%3A%2F%2Fclaude.ai%2Fcode)Documented
docs/text-to-speech.mdanddocs/daemon.md, and the operator'sgateway_types.gofor the print columns)cli-text-to-speech.mdrewritten to the gateway-only pathcli.mdworkspaces section + the now-staleTextToSpeechtool entryoperator.mdspec.audio,AUDIOcolumn, sizingdesktop.mdfour switches +~/.infer/voice/samples/api-reference.mdtimeout and sizing notesbun run lint:md,bun run format:check,bun run buildall passPR: #1201
What changed per page:
cli-text-to-speech.md- rewritten. Dropped the two-engine intro, thellama-tts/ffmpegprerequisites, the GGUF models table and the local-engine troubleshooting rows. The configuration table losesengine,binary_path,models_dir,timeoutandffmpeg_path, gainsrequire_approval, and namesmodelas aprovider/modelid defaulting tolocal/qwen3-tts. A "removed local engine" section says what to strip from an old config.voice_sampleresolves against the working directory then~/.infer/voice/samples/, with the one-offmv. New "Sessions on a workspace" section forforward_voice_samples.cli.md-forward_voice_samplesadded to the keys a workspace on compute keeps and to what reaches the pod (64 MiB cap, top-level.wavonly, replaced by name, nothing carried back), plus when the shared gateway serves its Audio API, the 16Gi limit and the operator v0.37.0 requirement.operator.md-audio.enabledin theGatewayfield table, an "Audio (spec.audio)" section beside Guardrails with the measured sizing (6 GiB for one synthesis, 11.5 GiB for two, 4Gi OOM-killed, 16Gi recommended, ~10s a sentence uncapped and ~20s at 2 CPUs) and the ephemeral-storage note for the 1.4 GB of models, and theAUDIOcolumn in thekubectl get gatewaysoutput.desktop.md- three switches became four with a Text to speech row writing the threeINFER_TEXT_TO_SPEECH_*variables andforward_voice_samples: true. Voice samples and the output-dir caveat name~/.infer/voice/samples/with the one-off move. The pass-through note no longer namesengine.api-reference.md- a local synthesis keeps its response open up toAUDIO_LOCAL_TIMEOUTpastSERVER_WRITE_TIMEOUT, plus the memory and speed sizing.Two things beyond the issue's list, because they would have been left stale: the
TextToSpeechtool entry incli.md's tool reference still described shelling out tollama-ttsoffline and the old samples path, so both were corrected.I did not run
bun run previewto eyeball the pages in a browser, and I did not verify the measured sizing numbers or the desktop switch's exact written values - both are taken from the issue and the upstream CLI docs as given. The one remaining risk is wording drift against the four upstream PRs if any of them changed after the issue was written.| Branch
inference-gateway-releaser commentedon Nov 17, 2026
🎉 This issue has been resolved in version 0.9.27 🎉
The release is available on GitHub release
Your semantic-release bot 📦🚀