feat(tts): add kugelaudio as a TTS vendor - #163
Merged
Merged
Conversation
Streaming returns a say: url for the mediajam dialect; the cache render POSTs /v1/tts/generate for raw 8 kHz PCM (r8). Language is reduced to its primary subtag and dropped when KugelAudio does not support it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds KugelAudio (
kugel-3) tosynthAudio.say:{...}url for the mediajamkugelaudiodialect, carryingvoice,model_id,language,api_uriand the vendor knobs (speed,cfg_scale,temperature,normalize,project_id,dictionary_ids).dictionary_idsis passed as a JSON array so[](no dictionaries) stays distinct from unset; the say-url parser is bracket-aware.POST /v1/tts/generateatsample_rate: 8000, which returns bare pcm_s16le, i.e. ther8container.de, notde-DE) and rejects codes outside its 39-language list, so an unsupported or unset language is omitted and the voice's own language applies.options.api_uripins a region, e.g.api.eu.kugelaudio.com.Test: env-gated German synth test in
test/synth.js. Full suite 53/53 locally withKUGELAUDIO_API_KEYset; also verified live: bad key -> 401, unsupported language falls back cleanly.🤖 Generated with Claude Code