feat(voice): add Qwen3-TTS voice design, consented cloning, and fine-tuning (#5381) - #5402
Merged
Conversation
atomantic
force-pushed
the
claim/issue-5381
branch
from
August 29, 2026 16:43
2e98423 to
3034d0f
Compare
This was referenced Aug 29, 2026
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.
Closes #5381
Summary
Adds Qwen3-TTS local voice backend integration across the voice engine contract, voice profiles, and Universe Voice Lab:
server/services/voice/qwen3TtsRuntime.js,scripts/qwen3_tts_runner.py). No boot-time cold inference or downloads.studioremains separately gated).CharacterDetailEditorfor preset promotion, voice design, consented cloning, fine-tuning management, and benchmark audition.Key Changes
scripts/qwen3_tts_runner.py: Standalone CLI runner for runtime probing, voice design inference, consented cloning, standard synthesis, and step-based fine-tuning.server/services/voice/qwen3TtsRuntime.js: Probing, GPU/hardware capability inspection, model catalog, and user-initiated downloads.server/services/voice/tts-qwen3.js: Qwen3-TTS synthesis adapter handling prompt conditioning, reference alignment, and rate controls.server/services/voice/fineTuning.js: Machine-local dataset validation, background training job runner, progress tracking, and checkpoint promotion.server/services/voice/profiles.js: Support fordesigned,cloned, andfine-tunedprofile kinds with explicit candidate drafting and approved promotion.server/services/voice/profileBenchmarks.js: Latency benchmark qualification for interactive speech.server/routes/voice.js: REST endpoints for design, clone, promotion, fine-tuning lifecycle, and Qwen3 status/downloads.client/src/components/universe/CharacterDetailEditor.jsx: Full Voice Lab UI supporting design previews, consent verification, fine-tuning controls, and candidate audition.client/src/services/apiVoice.js: Extended API wrappers for all new voice endpoints.Testing
server/services/voice/qwen3TtsRuntime.test.js: Validates model registry, health probing, and download requests.server/services/voice/tts-qwen3.test.js: Validates voice design synthesis and effective controls.server/services/voice/profiles.test.js: Validates draft candidate creation, mandatory consent enforcement, and checkpoint promotion.server/services/voice/fineTuning.test.js: Validates dataset verification, training progress, checkpoint generation, and job cancellation.server/routes/voice.test.js: Validates all new REST endpoints and upload cap enforcement.client/src/components/universe/CharacterDetailEditor.test.jsx: Validates Voice Lab tabs, consent gating, and interactive qualification.